From: Drew Adams <drew.adams@oracle.com>
To: rms@gnu.org, Juri Linkov <juri@linkov.net>, rudalics@gmx.at
Cc: eliz@gnu.org, emacs-devel@gnu.org
Subject: RE: Confused by y-or-n-p
Date: Sat, 26 Dec 2020 10:30:47 -0800 (PST) [thread overview]
Message-ID: <bf40952a-0c0a-4691-9896-fb770884f6c4@default> (raw)
In-Reply-To: <E1kt6kD-0000w5-UG@fencepost.gnu.org>
> > > Still I'd suggest to allow users to
> > > separately choose for both, 'y-or-n-p' _and_
> > > 'yes-or-no-p' dialogues, whether they want Emacs
> > > to handle them in a modal or non-modal way.
>
> That would have these drawbacks
> * It would mean extra complexity to debug, maintain, and document
> * It would not directly provide the old behavior, only a basis for it.
> People who want that would have to implement that.
>
> Does anyone really WANT this generality, or is it generality for
> generality's sake?
>
> > Indeed. Here is a possible way to make the minibuffer modal:
> > (defun minibuffer-lock ()
> > (when (active-minibuffer-window)
> > (select-window (active-minibuffer-window))))
>
> I am not sure what behavior that would give.
> But I think it is NOT the behavior that y-or-n-p used to
> have, which was to reject unexpected answers.
>
> What was the reason for implementing this change in the
> single-character-answer commands? Who actually wanted
> the change in behavior? And for what use cases?
>
> If people really like the new behavior, I won't argue against it.
> But maybe we should turn it off by default, like recursive minibuffers.
FWIW:
I opposed this new behavior. I think I was the only
one who did, but that impression might be wrong.
I opposed reading from the minibuffer for `y-or-n-p',
in part because it can break existing UI dialogs
(which may also involve the minibuffer at outer
levels), but also in part because of the reasons
you give (which are related).
I opposed wholesale replacement of uses of `read-key'
with use of the minibuffer. (Not that 100% wholesale
replacement has occurred, but I sense that a general
motivation in that direction has taken hold of the
movers and shakers.)
IIRC, this change was done in bug threads. I don't
think there was discussion in emacs-devel. (Apology
if I remember this wrong). In any case, as Eli is
wont to say, "That ship sailed long ago." Alas.
___
Emacs 27 introduced several changes involving use of
the minibuffer, which unfortunately have broken my
personal use of Emacs (as well as some of my libraries,
which are used by some other users).
I use a standalone minibuffer frame, and I have lots
of dialogs that let you interact in virtually any way
with other buffers, etc. while a minibuffer interaction
is in progress. E.g., for some commands that use the
minibuffer, you can hit keys that initiate sub-dialogs,
which can involve all kinds of things (and which
typically don't involve recursive minibuffers).
And the minibuffer, in my use, is very much an editing
buffer, i.e., most editing keys/commands act normally
there. I want it to continue to be general this way.
I think some simplifying lockdowns of certain behavior
have been clamped onto the minibuffer lately, based on
(1) some assumptions that apply to presumed common
interactions and expectations, and (2) attempts to "fix"
some (relatively corner?) cases. That's an impression
I have, and it's largely uninformed/ignorant, as I can't
really make use of Emacs since release 27.
So I don't use Emacs 27, and ditto for Emacs 28. I do
sometimes submit bug reports for 27, as a result of
looking into some questions from other users. But
those are mostly doc-bug reports.
Maybe, if I'm on the planet long enough and have
enough patience and interest, I'll eventually get to
the bottom of why I can't use Emacs 27+, what breaks
what, and find workarounds. I'm not there now, and
I don't foresee ever going/getting there, alas.
I use Emacs 26.3, and perhaps always will.
Just one (hardly typical) user.
next prev parent reply other threads:[~2020-12-26 18:30 UTC|newest]
Thread overview: 210+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 15:24 Confused by y-or-n-p Eli Zaretskii
2020-12-23 16:45 ` Stefan Monnier
2020-12-23 17:04 ` Jean Louis
2020-12-23 17:35 ` Eli Zaretskii
2020-12-23 18:11 ` Stefan Monnier
2020-12-23 18:44 ` Eli Zaretskii
2020-12-25 4:29 ` Richard Stallman
2020-12-23 19:48 ` Lars Ingebrigtsen
2020-12-23 19:53 ` Karl Fogel
2020-12-23 20:27 ` Eli Zaretskii
2020-12-24 18:26 ` Karl Fogel
2020-12-24 5:56 ` Richard Stallman
2020-12-24 5:53 ` Richard Stallman
2020-12-24 6:06 ` David Masterson
2020-12-24 16:49 ` João Távora
2020-12-24 15:38 ` martin rudalics
2020-12-24 20:47 ` Juri Linkov
2020-12-25 7:23 ` Eli Zaretskii
2020-12-25 9:07 ` martin rudalics
2020-12-25 11:32 ` Eli Zaretskii
2020-12-25 13:20 ` martin rudalics
2020-12-26 10:24 ` Richard Stallman
2020-12-26 11:01 ` Jean Louis
2020-12-26 13:41 ` martin rudalics
2020-12-27 16:25 ` Juri Linkov
2020-12-27 17:16 ` martin rudalics
2020-12-28 8:48 ` Juri Linkov
2020-12-27 18:06 ` Eli Zaretskii
2020-12-28 8:52 ` Juri Linkov
2020-12-28 9:36 ` Eli Zaretskii
2020-12-28 17:06 ` Juri Linkov
2020-12-28 17:28 ` Eli Zaretskii
2020-12-30 9:54 ` Juri Linkov
2021-01-02 5:25 ` Richard Stallman
2021-01-02 13:36 ` Richard Stallman
2021-01-02 5:25 ` Richard Stallman
2021-01-02 5:25 ` Richard Stallman
2021-01-02 7:06 ` Eli Zaretskii
2021-01-02 7:22 ` Lars Ingebrigtsen
2021-01-02 17:06 ` Drew Adams
2021-01-02 17:14 ` Eli Zaretskii
2021-01-03 6:06 ` Richard Stallman
2021-01-03 15:16 ` Eli Zaretskii
2021-01-04 5:16 ` Richard Stallman
2021-01-04 6:10 ` Stefan Monnier
2021-01-04 7:54 ` Stefan Kangas
2021-01-04 9:21 ` martin rudalics
2021-01-04 9:24 ` Lars Ingebrigtsen
2021-01-04 9:55 ` martin rudalics
2021-01-04 11:28 ` Andrea Corallo via Emacs development discussions.
2021-01-04 14:58 ` Dmitry Gutov
2021-01-04 15:09 ` Eli Zaretskii
2021-01-04 15:17 ` Lars Ingebrigtsen
2021-01-04 16:10 ` Eli Zaretskii
2021-01-05 8:16 ` Lars Ingebrigtsen
2021-01-05 15:03 ` Eli Zaretskii
2021-01-06 5:01 ` Richard Stallman
2021-01-06 15:19 ` Eli Zaretskii
2021-01-04 17:17 ` Stefan Monnier
2021-01-04 17:43 ` Eli Zaretskii
2021-01-04 18:02 ` Stefan Monnier
2021-01-04 18:15 ` Eli Zaretskii
2021-01-05 8:32 ` Lars Ingebrigtsen
2021-01-06 5:02 ` Richard Stallman
2021-01-06 15:20 ` Eli Zaretskii
2021-01-06 16:44 ` Stefan Monnier
2021-01-06 17:05 ` Eli Zaretskii
2021-01-06 17:13 ` Stefan Monnier
2021-01-04 17:20 ` martin rudalics
2021-01-04 17:43 ` Lars Ingebrigtsen
2021-01-04 18:52 ` martin rudalics
2021-01-05 8:33 ` Lars Ingebrigtsen
2021-01-04 18:04 ` Stefan Monnier
2021-01-06 5:03 ` Richard Stallman
2021-01-06 15:23 ` Eli Zaretskii
2021-01-07 7:53 ` Richard Stallman
2021-01-06 5:01 ` Richard Stallman
2021-01-04 17:53 ` Juri Linkov
2021-01-05 6:33 ` Richard Stallman
2021-01-05 14:57 ` Eli Zaretskii
2021-01-05 6:35 ` Richard Stallman
2021-01-04 10:28 ` Gregory Heytings via Emacs development discussions.
2021-01-04 17:22 ` Stefan Monnier
2021-01-04 17:28 ` martin rudalics
2021-01-06 5:03 ` Richard Stallman
2021-01-04 22:18 ` Gregory Heytings via Emacs development discussions.
2021-01-05 14:50 ` Eli Zaretskii
2021-01-06 0:14 ` Gregory Heytings via Emacs development discussions.
2021-01-06 3:34 ` Eli Zaretskii
2021-01-06 9:41 ` Gregory Heytings via Emacs development discussions.
2021-01-06 15:33 ` Eli Zaretskii
2021-01-06 15:46 ` Tassilo Horn
2021-01-06 16:08 ` Eli Zaretskii
2021-01-06 16:36 ` Tassilo Horn
2021-01-06 16:58 ` Eli Zaretskii
2021-01-06 23:57 ` Gregory Heytings via Emacs development discussions.
2021-01-07 9:41 ` Stefan Kangas
2021-01-08 6:17 ` Richard Stallman
2021-01-07 7:41 ` Richard Stallman
2021-01-07 14:23 ` Eli Zaretskii
2021-01-13 15:57 ` Richard Stallman
2021-01-06 5:13 ` Richard Stallman
2021-01-05 6:29 ` Richard Stallman
2021-01-04 8:52 ` Lars Ingebrigtsen
2021-01-05 6:33 ` Richard Stallman
2021-01-05 14:44 ` Stefan Monnier
2021-01-07 7:33 ` Richard Stallman
2021-01-07 14:18 ` Eli Zaretskii
2021-01-07 15:09 ` Stefan Monnier
2021-01-13 15:57 ` Richard Stallman
2021-01-13 16:16 ` Eli Zaretskii
2021-01-15 5:28 ` Richard Stallman
2021-01-15 7:13 ` Eli Zaretskii
2021-01-17 6:03 ` Richard Stallman
2021-01-07 15:10 ` Stefan Monnier
2021-01-05 14:58 ` Eli Zaretskii
2021-01-04 14:59 ` Eli Zaretskii
2021-01-06 5:01 ` Richard Stallman
2021-01-06 15:16 ` Eli Zaretskii
2021-01-06 21:18 ` Alfred M. Szmidt
2021-01-07 3:32 ` Eli Zaretskii
2021-01-06 15:28 ` Stefan Monnier
2021-01-06 5:01 ` Richard Stallman
2021-01-06 15:17 ` Eli Zaretskii
2021-01-04 5:17 ` Richard Stallman
2021-01-04 6:12 ` Stefan Monnier
2021-01-04 15:01 ` Eli Zaretskii
2021-01-06 5:01 ` Richard Stallman
2021-01-06 15:14 ` Eli Zaretskii
2021-01-06 5:01 ` Richard Stallman
2021-01-06 15:16 ` Eli Zaretskii
2021-01-07 7:53 ` Richard Stallman
2021-01-07 14:32 ` Eli Zaretskii
2021-01-04 10:28 ` Gregory Heytings via Emacs development discussions.
2021-01-04 11:02 ` Alan Mackenzie
2021-01-04 11:35 ` Gregory Heytings via Emacs development discussions.
2021-01-04 12:34 ` Alan Mackenzie
2021-01-04 13:10 ` Gregory Heytings via Emacs development discussions.
2021-01-04 17:21 ` martin rudalics
2021-01-05 10:48 ` Alan Mackenzie
2021-01-05 11:10 ` tomas
2021-01-05 15:34 ` martin rudalics
2021-01-04 15:19 ` Eli Zaretskii
2021-01-04 22:17 ` Gregory Heytings via Emacs development discussions.
2021-01-05 11:44 ` Alan Mackenzie
2021-01-05 14:48 ` Eli Zaretskii
2021-01-05 18:18 ` Juri Linkov
2021-01-05 6:44 ` Richard Stallman
2021-01-03 6:01 ` Richard Stallman
2021-01-03 6:01 ` Richard Stallman
2021-01-04 18:03 ` Juri Linkov
2021-01-06 5:03 ` Richard Stallman
2021-01-14 8:50 ` Juri Linkov
2021-01-15 5:41 ` Richard Stallman
2021-01-03 6:03 ` Richard Stallman
2021-01-03 15:13 ` Eli Zaretskii
2021-01-05 6:25 ` Richard Stallman
2021-01-05 14:54 ` Eli Zaretskii
2021-01-06 0:14 ` Gregory Heytings via Emacs development discussions.
2021-01-06 0:44 ` Stefan Monnier
2021-01-06 9:41 ` Gregory Heytings via Emacs development discussions.
2021-01-06 11:06 ` Stefan Kangas
2021-01-06 15:35 ` Eli Zaretskii
2021-01-06 15:46 ` Drew Adams
2021-01-06 23:57 ` Gregory Heytings via Emacs development discussions.
2021-01-07 9:46 ` Stefan Kangas
2021-01-07 10:03 ` Gregory Heytings via Emacs development discussions.
2021-01-07 10:29 ` Stefan Kangas
2021-01-09 6:34 ` Richard Stallman
2021-01-09 8:32 ` Eli Zaretskii
2021-01-09 14:06 ` Following etc/NEWS on the development branch (was: Confused by y-or-n-p) Kévin Le Gouguec
2021-01-09 14:24 ` Eli Zaretskii
2021-01-09 16:05 ` Following etc/NEWS on the development branch Kévin Le Gouguec
2021-01-09 9:34 ` Confused by y-or-n-p Gregory Heytings via Emacs development discussions.
2021-01-10 6:07 ` Richard Stallman
2021-01-07 14:09 ` Eli Zaretskii
2021-01-07 23:34 ` Gregory Heytings via Emacs development discussions.
2021-01-08 2:10 ` Stefan Monnier
2021-01-09 9:34 ` Gregory Heytings via Emacs development discussions.
2021-01-08 7:16 ` Eli Zaretskii
2021-01-09 6:44 ` Stealing minibuffers [Was: Confused by y-or-n-p] Richard Stallman
2021-01-09 9:34 ` Gregory Heytings via Emacs development discussions.
2021-01-09 10:04 ` Eli Zaretskii
2021-01-06 15:32 ` Confused by y-or-n-p Eli Zaretskii
2021-01-07 7:52 ` Richard Stallman
2021-01-07 14:27 ` Eli Zaretskii
2021-01-07 7:52 ` Richard Stallman
2021-01-06 3:35 ` Eli Zaretskii
2020-12-28 5:26 ` Richard Stallman
2020-12-28 5:51 ` Drew Adams
2020-12-28 8:59 ` Juri Linkov
2020-12-26 10:24 ` Richard Stallman
2020-12-26 10:51 ` Eli Zaretskii
2020-12-27 5:38 ` Richard Stallman
2020-12-25 9:23 ` Juri Linkov
2020-12-25 11:46 ` Eli Zaretskii
2020-12-25 8:42 ` martin rudalics
2020-12-25 11:31 ` Eli Zaretskii
2020-12-25 13:20 ` martin rudalics
2020-12-26 10:24 ` Richard Stallman
2020-12-26 10:41 ` Sv: " arthur miller
2020-12-27 5:38 ` Richard Stallman
2020-12-26 10:49 ` Eli Zaretskii
2020-12-26 13:45 ` martin rudalics
2020-12-27 5:46 ` Richard Stallman
2020-12-26 18:30 ` Drew Adams [this message]
2020-12-25 4:40 ` Richard Stallman
2020-12-25 8:42 ` martin rudalics
2020-12-28 17:09 ` Juri Linkov
2020-12-29 8:53 ` martin rudalics
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bf40952a-0c0a-4691-9896-fb770884f6c4@default \
--to=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
--cc=rms@gnu.org \
--cc=rudalics@gmx.at \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.