emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] orgstruct-mode for Emacs Lisp files


From: Daniel Clemente
Subject: [Orgmode] orgstruct-mode for Emacs Lisp files
Date: Wed, 15 Oct 2008 11:02:27 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

  This has been addressed many times. Given an .el file with comments like:

; section 1
;; subsection 1
aaa
;;; subsubsection 1
e
;;; subsubsection 2
iiiiiii
;; section 2
....


  Then it would be useful to use TAB to cycle the state of those headings. 
There's outline-mode, but orgstruct-mode is directly usable for org users, and 
thus easier.
 
  However, I find that this procedure didn't work on org-mode 6.09:

1. open that file
2. evaluate (setq org-outline-regexp ";+ ")
3. M-x orgstruct-minor-mode


  The TAB key still works only on headers matching "\\*+ ", so I think that I'm 
changing the wrong regexp, or that orgstruct-mode didn't detect the change.

  Could you please add a paragraph in the manual, in the section „The Orgstruct 
minor mode“, that tells about how could you change the outline regexp in case a 
mode needs it?


  I found no documentation for org-outline-regexp (less than 10 results on many 
search engines!).


  Thanks,

Daniel




reply via email to

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