unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Jean Louis <bugs@gnu.support>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: [External] : Re: is it possible to «lose» edits when aborting recursive-edits?
Date: Tue, 16 Jan 2024 14:50:42 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488CBCE93149F39F10793BCF3732@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <ZaY8Xnz8WLNuEqHo@lco.syogm.com>

> > I had 2 or three recursive-edits level...
> > I hit C-] as I always do, committed but
> > then realized that some of my changes
> > were not committed...
> 
> I have similar problem. I would like to be able:
> 
> - to detect pending recursive edits, as not to lose them
> - to be able to walk over buffers of recursive edits.

1. The little library `rec-edit.el' can likely
help with the former.

code:
https://www.emacswiki.org/emacs/download/rec-edit.el

description:
https://www.emacswiki.org/emacs/RecursiveEdit#rec-edit.el

2. The latter should be easy to implement:
Iterate over `buffer-list'.  You can use a
hook such as `kill-emacs-query-functions'.

      reply	other threads:[~2024-01-16 14:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-10 20:54 is it possible to «lose» edits when aborting recursive-edits? Uwe Brauer via Emacs development discussions.
2024-01-11  6:42 ` Eli Zaretskii
2024-01-11  7:02   ` Uwe Brauer
2024-01-11  9:02     ` Eli Zaretskii
2024-01-11 10:01       ` Uwe Brauer
2024-01-11 17:51       ` Uwe Brauer via Emacs development discussions.
2024-01-16  8:20 ` Jean Louis
2024-01-16 14:50   ` Drew Adams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR10MB5488CBCE93149F39F10793BCF3732@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=bugs@gnu.support \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).