emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Keep network security info buffers after use


From: Eli Zaretskii
Subject: Re: [PATCH] Keep network security info buffers after use
Date: Sun, 24 Dec 2023 16:51:35 +0200

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Sun, 24 Dec 2023 05:52:48 -0800
> Cc: kfogel@red-bean.com, emacs-devel@gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > I agree that it could be useful in some cases.  Andreas suggested a
> > special command to show this information -- do you think this would be
> > a good solution for this situation?
> 
> My use case is that I want to make sure that a certificate is valid
> before accepting it.  This inevitably means some manual inspection.

That is already supported: you type 'd' at the prompt, and then you
are presented with a buffer with the details, and can page through it
with several keys.

> Personally, I'd probably prefer entering a recursive edit, inspect it,
> and hit ´C-M-c' to go back.  But to be honest, I only realized that
> `recursive-edit' works there from reading this thread.  If I didn't
> realize that, maybe other people won't find it either.
> 
> Perhaps we could simply do more to make `recursive-edit' discoverable
> here?

There's no need to do that, since inspection is already supported, see
above.  If that is not enough, please tell why.

Using recursive-edit might be a general thing to solve such
situations, but nsm was coded to provide the inspection as a built-in
feature, while recursive-edit is an advanced feature not known to many
users, and not possible from the minibuffer in many cases (since
enable-recursive-minibuffers is nil by default).



reply via email to

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