[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Modern Conventions for Emacs Lisp files?
From: |
Bastien |
Subject: |
Re: Modern Conventions for Emacs Lisp files? |
Date: |
Tue, 09 Apr 2013 09:29:15 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> Couldn't "Org-mode" be made to work with the current convention?
Not really. But you can make org-mode work on top of current
conventions, provided users set `orgstruct-heading-prefix-regexp'
to "^;;;+ " as a local file variable in their Elisp files, and
use `orgstruct-mode' for them.
In that case, they can fold/unfold lines starting with "^;;;+ \*+".
(This is in the next release.)
> That would be a lot more useful since it would "just work" on all
> the existing files.
Right now we can use `outline-minor-mode' for existing files that do
not "*" characters in the comment sections, and `orgstruct-mode' for
those who do.
Personally, I'm not in favor of enforcing a new convention for using
"*" in comment sections: this is aesthetically dubious, it relies on a
nice little hack that provides Org-like folding.
I'd be more in favor of making it easier to use `outline-minor-mode'
with current conventions (i.e. more accessible keybindings, etc.)
--
Bastien
- Re: Modern Conventions for Emacs Lisp files?, (continued)
- Re: Modern Conventions for Emacs Lisp files?, Stefan Monnier, 2013/04/08
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/08
- Re: Modern Conventions for Emacs Lisp files?, Stefan Monnier, 2013/04/08
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/08
- Re: Modern Conventions for Emacs Lisp files?, Stefan Monnier, 2013/04/08
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/08
- Re: Modern Conventions for Emacs Lisp files?,
Bastien <=
- Re: Modern Conventions for Emacs Lisp files?, Stefan Monnier, 2013/04/09
- Re: Modern Conventions for Emacs Lisp files?, Bastien, 2013/04/09
- Re: Modern Conventions for Emacs Lisp files?, Andreas Röhler, 2013/04/09
- Re: Modern Conventions for Emacs Lisp files?, Bastien, 2013/04/09
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/13
- Re: Modern Conventions for Emacs Lisp files?, Stefan Monnier, 2013/04/13
- Re: Modern Conventions for Emacs Lisp files?, Stefan Monnier, 2013/04/13
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/14
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/15
- Re: Modern Conventions for Emacs Lisp files?, Eli Zaretskii, 2013/04/15