[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: |
Rasmus |
Subject: |
Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode |
Date: |
Thu, 19 Nov 2015 22:47:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Hi Jonas,
Jonas Bernoulli <address@hidden> writes:
> Nicolas Goaziou <address@hidden> writes:
>
>> 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.
>
> I wouldn't group `outline-minor-mode' among "any other minor mode
> in the wild", after all it was Outline which gave birth to Org and
> `outline-minor-mode' is part of `outline.el'. Didn't Carsten write
> `outline-magic.el' (containing `outline-cycle') before moving on to
> greater things? Unfortunately though `outline-magic.el' does not appear
> to have aged so well (at least that's how I remember it from when I last
> checked).
orgstruct-mode is a mess and we plan to address it. When someone finds
the time to do so. Indeed, there was a thread about the issue of
org-show-children some time ago.
Cheers,
Rasmus
--
Dung makes an excellent fertilizer
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, (continued)
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Jorge A. Alfaro-Murillo, 2015/11/08
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Jonas Bernoulli, 2015/11/09
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Nicolas Goaziou, 2015/11/14
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Jonas Bernoulli, 2015/11/18
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Nicolas Goaziou, 2015/11/19
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Jonas Bernoulli, 2015/11/19
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode,
Rasmus <=