help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Must prevent switching from recursive edit buffers


From: Jean Louis
Subject: Re: Must prevent switching from recursive edit buffers
Date: Thu, 19 Dec 2024 15:40:53 +0300
User-agent: Mutt/2.2.12 (2023-09-09)

* Stefan Monnier via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> [2024-12-19 02:43]:
> > I would like to ensure, that if I am switching away from a buffer
> > which I am editing with `recursive-edit', that I am warned, or that I
> > can ensure that switch is detected, so that I can invoke other
> > functions such as asking user to save buffer, or automatically saving
> > it, or closing the buffer.
> 
> I can't understand the above.  You start talking about "I" doing things
> which I associate with user actions, but then you say "I can invoke other
> functions such as asking user to save buffer" suggesting "I" is not the
> user after all.

Yes, as whatever I do, users such as staff members will do too. That
is minor problem. I = user and user = others;

Basically, I would like to recognize that bufer where I am invoking
recursive-edit is at some moment not visible any more, and I would
like programmatically to find out WHICH buffer is it.

Now I have no idea which buffer is it, and multiple recursive-edits
stay active, even though there is no buffer with recursive-edit.

That is some mystery. Those recursive-edit buffers show as

[[[[[(Mail WK Fill)]]]]]

but I cannot know in the list of buffer and CANNOT SEE to what buffers
those [[[[]]]] belogns.

And if I inspect buffers, they are not in recursive-edit

It means that [[[[[[[[[[[]]]]]]]]]]] recursive edit buffers disappear
from buffer list.

-- 
Jean Louis



reply via email to

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