GNU bug report logs - #73286
[PATCH] Add foldout command for widening to current fold

Previous Next

Package: emacs;

Reported by: Paul Nelson <ultrono <at> gmail.com>

Date: Sun, 15 Sep 2024 23:40:01 UTC

Severity: wishlist

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#73286: closed ([PATCH] Add foldout command for widening to
 current fold)
Date: Sat, 12 Oct 2024 12:10:05 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 12 Oct 2024 14:53:25 +0300
with message-id <86set1wn9m.fsf <at> gnu.org>
and subject line Re: bug#73286: [PATCH] Add foldout command for widening to current fold
has caused the debbugs.gnu.org bug report #73286,
regarding [PATCH] Add foldout command for widening to current fold
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
73286: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73286
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Nelson <ultrono <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add foldout command for widening to current fold
Date: Mon, 16 Sep 2024 01:38:35 +0200
[Message part 3 (text/plain, inline)]
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
[0001-Add-foldout-command-for-widening-to-current-fold.patch (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Nelson <ultrono <at> gmail.com>
Cc: acorallo <at> gnu.org, stefankangas <at> gmail.com, 73286-done <at> debbugs.gnu.org
Subject: Re: bug#73286: [PATCH] Add foldout command for widening to current
 fold
Date: Sat, 12 Oct 2024 14:53:25 +0300
> From: Paul Nelson <ultrono <at> gmail.com>
> Date: Sat, 5 Oct 2024 12:14:57 +0100
> Cc: Stefan Kangas <stefankangas <at> gmail.com>, acorallo <at> gnu.org, 73286 <at> debbugs.gnu.org
> 
> > 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.


This bug report was last modified 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.