Gregor Zattler <telegr...@gmx.net> writes:

Hi Gregor,

> * Thorsten Jolitz <tjol...@googlemail.com> [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/picolisp@software-lab.de/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