[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] full outline functionality in .el files: how?
From: |
Thorsten Jolitz |
Subject: |
Re: [O] full outline functionality in .el files: how? |
Date: |
Thu, 24 Jan 2013 14:36:24 +0100 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux) |
Gregor Zattler <address@hidden> writes:
Hi Gregor,
> * Thorsten Jolitz <address@hidden> [24. Jan. 2013]:
>> - after figuring out that I can have full outline functionality in .el
>> files too, the (in my eyes) main advantage of an org-based config was
>> gone.
>
> could you please elaborate how to achieve this?
I already shared my new trick (which might not be that new for many
others) on the PicoLisp mailing list:
,-------------------------------------------------------------------
| http://www.mail-archive.com/address@hidden/msg03764.html
`-------------------------------------------------------------------
When you replace # with ; as comment char, there is no difference
between a PicoLisp source file (.l) or an Emacs Lisp source file (.el)
with regards to this trick.
Actually, the Org-mode visibility commands mostly work out of the box
too, without the .l or .el source buffer being in org (minor) mode,
since outline-minor-mode is active and these Org commands often simply
act on the (buffer local) 'outline-regexp', which might be '^;; \*+ ' or
'^## \*+ ' or something similar too.
--
cheers,
Thorsten
- Re: [O] Using Org/babel for Emacs config files, (continued)
- [O] full outline functionality in .el files: how? (was: Re: Using Org/babel for Emacs config files), Gregor Zattler, 2013/01/24
- Re: [O] full outline functionality in .el files: how?, Bastien, 2013/01/24
- Re: [O] full outline functionality in .el files: how?, Thorsten Jolitz, 2013/01/24
- Re: [O] full outline functionality in .el files: how?, Bastien, 2013/01/24
- Re: [O] full outline functionality in .el files: how?, Thorsten Jolitz, 2013/01/24
- Re: [O] full outline functionality in .el files: how?, Bastien, 2013/01/24
- Re: [O] full outline functionality in .el files: how?,
Thorsten Jolitz <=
- Re: [O] full outline functionality in .el files: how?, Memnon Anon, 2013/01/25
Re: [O] Wish: switch active time-stamps to inactive when CANCELED, Samuel Wales, 2013/01/18
Re: [O] Wish: switch active time-stamps to inactive when CANCELED, Bastien, 2013/01/26