From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Keep network security info buffers after use Date: Sun, 24 Dec 2023 16:51:35 +0200 Message-ID: <838r5jd56w.fsf@gnu.org> References: <87plz4irev.fsf@red-bean.com> <83frzufo9x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3752"; mail-complaints-to="usenet@ciao.gmane.io" Cc: kfogel@red-bean.com, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 24 15:52:04 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rHPpk-0000lm-5e for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Dec 2023 15:52:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHPpT-0002HA-KV; Sun, 24 Dec 2023 09:51:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHPpQ-0002H0-RA for emacs-devel@gnu.org; Sun, 24 Dec 2023 09:51:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHPpO-0007XG-BN; Sun, 24 Dec 2023 09:51:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PCM6tqjpkkjTFTqF8KmAgRaLPN2QQu4/v2ZxyKlRwHI=; b=kPT0koVgBF0vS6pE8xYL ol4qquuM27eKLIQzDposmyNvMuGVGL/b2rwpNvibMgz/Sl+xVfOi2/Yy6dhYzg6yQ5lVlTo95WgD6 q/1DKH10sbaXkssXlu9szDexaADbdCZw0pQQgEvB138gosmbAViAPpSI+jTYXCM4S1jK+5EL2BYEQ 3EbyEnfCG4sdQ3QMP2WCK+Rw9OQt4IO0QudhlDZ+l/lCACpXjWeBa8YlI6Kd8FGtk5ckRAUrGNkoJ 4gCB0V8x27iqtZJClsgmJJxiXoX5nzgjXVOxnRVrn/dKSZWPKtwkJa0y3VvobXiebIqtP2RXsUwNF JfwWLu4Qqw5N1A==; In-Reply-To: (message from Stefan Kangas on Sun, 24 Dec 2023 05:52:48 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314131 Archived-At: > From: Stefan Kangas > Date: Sun, 24 Dec 2023 05:52:48 -0800 > Cc: kfogel@red-bean.com, emacs-devel@gnu.org > > Eli Zaretskii 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).