emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode


From: Nicolas Goaziou
Subject: Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode
Date: Thu, 19 Nov 2015 09:39:31 +0100

Hello,

Jonas Bernoulli <address@hidden> writes:

> Nicolas Goaziou <address@hidden> writes:
>
>> Jonas Bernoulli <address@hidden> writes:
>>
>>> Thanks.  But could you please change it to
>>>
>>>   (if (or outline-minor-mode orgstruct-mode)
>>>       (call-interactively #'show-children)
>>>     ...)
>>
>> You could set `orgstruct-mode' to a non-nil value whenever
>> `outline-minor-mode' is enabled.
>
> I could (instead I am currently just maintaining a local patch),
> but what is the reasoning for not just doing what I suggested?

There is no reason for Org's core to know about `outline-minor-mode', or
any other minor mode in the wild. 

IMO, using a hook is much more simple than maintaining a local patch.


Regards,

-- 
Nicolas Goaziou



reply via email to

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