Subject: bug#73286: closed (Re: bug#73286: [PATCH] Add foldout command for widening to current fold)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 12 Oct 2024 12:10:05 +0000

Your bug report

#73286: [PATCH] Add foldout command for widening to current fold

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
73286: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73286
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#73286: [PATCH] Add foldout command for widening to current fold
From: Eli Zaretskii <[email-masked]>
To: Paul Nelson <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Sat, 12 Oct 2024 14:53:25 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Paul Nelson <[email-masked]>
> Date: Sat, 5 Oct 2024 12:14:57 +0100
> Cc: Stefan Kangas <[email-masked]>, [email-masked], [email-masked]
> 
> > There seems to be a consensus to leave the command unbound, so Paul,
> > would you please submit a modified patch with that change?
> >
> > Thanks.
> 
> Sure, please find attached.  Thanks for the feedback!  Paul

Thanks, installed on master, and closing the bug.

Subject: [PATCH] Add foldout command for widening to current fold
From: Paul Nelson <[email-masked]>
To: [email-masked]
Date: Mon, 16 Sep 2024 01:38:35 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

The foldout package, which "zooms in" on document sections by
narrowing the buffer, doesn't play well with Emacs's other narrowing
features: after narrowing further within a fold, there's no easy way
to widen back to the fold's boundaries.

This patch introduces foldout-widen-to-current-fold, a command that
widens to the current fold level (or to the whole buffer if not in a
fold).

Example usage:
- Use foldout-zoom-subtree to zoom in on some section.
- Use narrow-to-defun to edit some function.
- Use foldout-widen-to-current-fold to return to the scope of the
zoomed-in section.

Any feedback welcome.

Thanks, best,

Paul