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


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to