emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* orgstruct-mode for Emacs Lisp files
@ 2008-10-15  9:02 Daniel Clemente
  2008-10-15 11:05 ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Clemente @ 2008-10-15  9:02 UTC (permalink / raw)
  To: emacs-orgmode


  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-16 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-15  9:02 orgstruct-mode for Emacs Lisp files Daniel Clemente
2008-10-15 11:05 ` Carsten Dominik
2008-10-16 16:51   ` Daniel Clemente
2008-10-16 19:58     ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).