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: Eli Zaretskii
Subject: Re: master 2ef6f943abd: Add option to control default outlining in 'C-h b'
Date: Tue, 25 Apr 2023 21:00:08 +0300

> From: Juri Linkov <juri@linkov.net>
> Cc: rpluim@gmail.com,  michael_heerdegen@web.de,  emacs-devel@gnu.org,
>   orontee@gmail.com
> Date: Tue, 25 Apr 2023 20:35:04 +0300
> 
> >> 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'?

Sorry, I don't understand the question and its relevance.  Maybe
Robert does.



reply via email to

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