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:08:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Uday Reddy <usr.vm.rocks@gmail.com> writes:

> On 4/7/2012 10:18 AM, Bastien wrote:
>
>> Set this keybinding:
>>
>>    (global-set-key (kbd "<backtab>") 'org-cycle-global)
>
> That sounds very nice, Bastien.  But how does this work?  I thought
> orgstruct-mode needed *, ** etc. to identify the outlines?

For some basic cycling commands, `orgstruct-mode' relies directly on
`outline-regexp' which is defined in outline.el and can be set to a
local value by other major modes (such as emacs-lisp-mode.)

HTH,

-- 
 Bastien



reply via email to

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