help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: code folding with <backtab> ?


From: Bastien
Subject: Re: code folding with <backtab> ?
Date: Mon, 09 Apr 2012 12:07:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Hi Yagnesh,

Yagnesh Raghava Yakkala <yagnesh@live.com> writes:

> Wow this is great, working nice too (except when point is at the end of
> buffer). I didn't think, Org itself can be used here. I wonder why its not
> working with other programming modes, say perl and python.

This is because lisp-mode.el sets the value for ̀outline-regexp':

  (setq outline-regexp ";;;\\(;* [^ \t\n]\\|###autoload\\)\\|(")

I don't know about other modes.  Perhaps you can try to patch Emacs
and set a relevant value for `outline-regexp' (among other changes,
see lisp-mode.el for details.)

HTH,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]