emacs-orgmode
[Top][All Lists]
Advanced

[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




reply via email to

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