emacs-devel
[Top][All Lists]
Advanced

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

RE: [External] : Re: [PATCH] Keep network security info buffers after us


From: Drew Adams
Subject: RE: [External] : Re: [PATCH] Keep network security info buffers after use
Date: Sun, 24 Dec 2023 18:42:47 +0000

> Perhaps we could simply do more to make `recursive-edit' discoverable
> here?
> 
> For example, we could bind a new key to `recursive-edit' and advertize
> it.  Or we could perhaps even bind `C-x o' to `recursive-edit'.  Or
> something else entirely: we could announce the key binding in the buffer
> showing the certificate.

[CAVEAT: Not following this thread at all - just happened
to notice this part.]

Take a look at this tiny library/file.  It does what you
suggested (with a minor mode).  And it makes the levels
of recursive edit more evident (distinguished).  The key
it uses for entering is the same as the longstanding key
for exiting, `C-M-c'.

(I definitely recommend against (re)binding `C-x o', BTW.)

Code: 

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

Description (see also Commentary):

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

(If this or similar were added to vanilla Emacs, whether
to use a minor mode or just turn the behavior on would
be something for you to decide.)

reply via email to

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