unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Karl Fogel <kfogel@red-bean.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Keep network security info buffers after use
Date: Mon, 18 Dec 2023 18:00:59 -0600	[thread overview]
Message-ID: <87frzzkqmc.fsf@red-bean.com> (raw)
In-Reply-To: <83ttofifaf.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 18 Dec 2023 19:36:24 +0200")

On 18 Dec 2023, Eli Zaretskii wrote:
>> From: Karl Fogel <kfogel@red-bean.com>
>> Date: Sun, 17 Dec 2023 17:27:46 -0600
>> 
>> So, how about we change lisp/emacs-lisp/rmc.el:`rmc--show-help' 
>> to 
>> display how to enter a recursive edit?
>
>We don't advertise that key for a reason, so I don't think this 
>is a
>good idea.

Okay.  I'm curious what that reason is, if you have time to 
explain, but I'm fine accepting this decision as a given.

>I actually don't understand why you rejected the tow ideas 
>proposed to
>you.  Personally, I think Andreas's idea is the better one, and 
>not
>too hard to implement.  It also has the nice advantage that it 
>solves
>the exact problem you had and nothing else.

My problem with Andreas's idea...

>How about adding a command to (re-)display the cert info?

...is that I don't see how the user is likely to know about the 
existence of this new command.  It's already kind of rare to get 
prompted for cert info at all (it only happens to me every once in 
a while, usually when I'm starting to use on a new machine).

Remember, the cert or server info *is* already being displayed to 
the user when the `read-multiple-choice' prompt happens -- the 
info is right there in a displayed buffer.  The problem is that 
it's not obvious how to get out of the minibuffer and into that 
displayed buffer, for example to grab the info into the kill ring, 
or save it to a file, so that one can go back and use the info 
after the prompt cycle is done.

Now, it turns out that one *can* get out of the minibuffer, by 
entering a recursive edit with C-r, but nothing in the 
`read-multiple-choice' prompt indicates this, so the user would 
have to "just know" about this possibility.

If `C-x o' would just work at the `read-multiple-choice' prompt, 
and enable one to leave the minibuffer to travel around to other 
windows, that would also be a fine solution.  Actually, probably 
it would be the best solution, now that I think about it.

Are there reasons why `read-multiple-choice' disallows this by 
default?  I don't know much about the constraints and requirements 
of that function; I just know how it's been treating me lately 
:-).

Best regards,
-Karl



  reply	other threads:[~2023-12-19  0:00 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-17 19:02 [PATCH] Keep network security info buffers after use Karl Fogel
2023-12-17 19:27 ` Eli Zaretskii
2023-12-17 23:27   ` Karl Fogel
2023-12-18 17:36     ` Eli Zaretskii
2023-12-19  0:00       ` Karl Fogel [this message]
2023-12-19  5:31         ` tomas
2023-12-19 12:34         ` Eli Zaretskii
2023-12-19 12:50           ` tomas
2023-12-19 13:05             ` Eli Zaretskii
2023-12-20 22:43           ` Andreas Schwab
2023-12-21  6:45             ` Eli Zaretskii
2023-12-17 21:03 ` Andreas Schwab
2023-12-19  3:49 ` Richard Stallman
2023-12-19  5:56   ` Karl Fogel
2023-12-19 12:51     ` Eli Zaretskii
2023-12-19 13:10       ` tomas
2023-12-19 18:57       ` Karl Fogel
2023-12-19 19:08         ` Eli Zaretskii
2023-12-19 20:18           ` Karl Fogel
2023-12-20 21:34             ` Jens Schmidt
2023-12-20 22:26               ` Andreas Schwab
2023-12-21  6:29               ` Eli Zaretskii
2023-12-21 17:38                 ` Karl Fogel
2023-12-21 18:43                   ` Andreas Schwab
2023-12-21 23:10                     ` Karl Fogel
2023-12-22  7:29                       ` Eli Zaretskii
2023-12-22 10:00 ` Stefan Kangas
2023-12-22 11:51   ` Eli Zaretskii
2023-12-22 21:58     ` Jens Schmidt
2023-12-22 22:10       ` Jens Schmidt
2023-12-23  7:15       ` Eli Zaretskii
2023-12-23 10:46         ` Jens Schmidt
2023-12-23 22:57       ` Karl Fogel
2023-12-24  6:14         ` Eli Zaretskii
2023-12-24 13:52     ` Stefan Kangas
2023-12-24 14:51       ` Eli Zaretskii
2023-12-24 15:34         ` Karl Fogel
2023-12-24 16:28           ` Eli Zaretskii
2023-12-25 17:35             ` Kévin Le Gouguec
2023-12-25 18:51               ` Eli Zaretskii
2023-12-25 20:23                 ` Tomas Hlavaty
2023-12-26 14:43                 ` Kévin Le Gouguec
2023-12-26 17:01                   ` Eli Zaretskii
2023-12-26 22:09                     ` Stefan Kangas
2023-12-27 12:54                       ` Eli Zaretskii
2023-12-25 20:18               ` Tomas Hlavaty
2023-12-27 12:35                 ` Eli Zaretskii
2023-12-24 18:42       ` [External] : " Drew Adams

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=87frzzkqmc.fsf@red-bean.com \
    --to=kfogel@red-bean.com \
    --cc=eliz@gnu.org \
    --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).