emacs-devel
[Top][All Lists]
Advanced

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

Re: master 2ef6f943abd: Add option to control default outlining in 'C-h


From: Juri Linkov
Subject: Re: master 2ef6f943abd: Add option to control default outlining in 'C-h b'
Date: Tue, 25 Apr 2023 20:35:04 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> I guess the decision was delegated to the users
>> because there is a choice what to do with the outline.
>> Beside 'outline-hide-entry', there is also 'outline-show-branches'
>> used by 'subtree-is-long' and 'subtree-has-long-lines'.
>> 
>> So I see no reason to remove 'custom-function'.
>> What could be done instead is to add a new choice
>> 'custom-predicate'.
>
> The suggestion is not to remove custom-function.  The suggestion is to
> require that the function returns a boolean, to mean whether to hide
> or not to hide a heading, instead of requesting that the function
> itself hides/unhides the headings.
>
> What is the purpose of requesting a custom function to actually
> hide/unhide the headings, i.e. to know enough about the structure and
> internal details of Outline mode to do its job?

How the user would be able to use 'outline-show-branches'
in the custom function, and not to use 'outline-hide-entry'?



reply via email to

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