help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in outline-magic.el


From: Michal Sojka
Subject: Re: Bug in outline-magic.el
Date: Mon, 01 Jul 2013 01:00:13 +0200
User-agent: Notmuch/0.15.2 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu)

Hi Thorsten,

On Sun, Jun 30 2013, Michal Sojka wrote:
> On Fri, Jun 28 2013, Thorsten Jolitz wrote:
>> Michal Sojka <sojkam1@fel.cvut.cz> writes:
>>
>> Hi Michal,
>>
>>> I think that there is a bug in outline-magic.el. See below. I put the
>>> same text also at
>>> http://www.emacswiki.org/emacs/Comments_on_outline-magic.el.
>>
>> I kind of took over outline-magic.el from Carsten when I merged it into
>> outshine.el and he asked me if I want to be the new maintainer.
>
> outshine.el seems interesting. I think I'll give it a try.

I've just looked at outshine.el and I like the idea. What I don't like
is that it does not work in buffers without "modern" headers such as
LaTeX, programming languages etc. where outline-magic worked. In my
opinion, the strength of outline-magic is that it works the same in all
major modes that set outline-regexp reasonably.

>From the quick look at the code, it seems that you try to detect the
presence of "modern" headers in files (at least elisp files). It would
be nice if you could change outshine to work like outline-magic when
modern headers are not detected. I also miss the functionality to fold
elisp defuns with outshine.

Therefore, I'll stay with outline-magic. The bug I reported is present
even in your version so I've sent you a pull request over github.

Thanks,
-Michal



reply via email to

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