all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thievol@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: kun.liu@gmail.com, Eshel Yaron <me@eshelyaron.com>,
	67702@debbugs.gnu.org
Subject: bug#67702: 30.0.50; insert-register can no longer be used in minibuffer
Date: Fri, 08 Dec 2023 08:46:17 +0000	[thread overview]
Message-ID: <87zfylxesm.fsf@posteo.net> (raw)
In-Reply-To: <837clp167l.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Dec 2023 09:52:46 +0200 (27 minutes, 18 seconds ago)")

[-- Attachment #1: Type: text/plain, Size: 1805 bytes --]

Eli Zaretskii <eliz@gnu.org> writes:

> I'm not sure I understand: if we put aside the fundamental opposition
> to using read-from-minibuffer, what problems will be left if we
> temporarily enable recursive-minibuffers while prompting for the
> register?

The only complaint now (once my two missing patches will be applied) is
that we have to use C-d to save a key sequence register e.g. for saving
C-a we have to use C-q C-a.  For jumping to such a register we have to
insert in minibuffer C-q C-a or just use the navigation keys (C-n/p).

>
>> It's up to you maintainers to decide, I think.  Following your request,
>> I've proposed a patch that reverts Thierry's changes, and implements the
>> parts I find useful in a clean and backward compatible way.
>
> Thierry said your patch was incomplete.

It is, the use of read-key is a limitation in the features we provide,
the Eshel patch, as already said have no filtering, no possibility to
configure possible new future register commands, no navigation, no
defaults  etc...
Also it reintroduce a bad implementation of the usage of read-key which
lead to things like bug#27634 (even if this one was fixed, incorrectly IMHO). 

> And I wonder why we need to completely revert his changes.

Reverting those changes would be a regression, I have now a patch that
make register behave as before:

Here the docstring of register-use-preview:

    Maybe show register preview.

    When set to `t' show a preview buffer with navigation and highlighting.
    When nil show a basic preview buffer and exit minibuffer
    immediately after insertion in minibuffer.
    When set to 'never behave as above but with no preview buffer at
    all.

IOW (setq register-use-preview nil) will behave as before.

-- 
Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 686 bytes --]

      parent reply	other threads:[~2023-12-08  8:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07 22:33 bug#67702: 30.0.50; insert-register can no longer be used in minibuffer Kun Liu
2023-12-08  6:32 ` Eli Zaretskii
2023-12-08  7:04   ` Thierry Volpiatto
2023-12-08  7:14     ` Thierry Volpiatto
2023-12-08  7:15     ` Eli Zaretskii
2023-12-08  7:31       ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-08  7:52         ` Eli Zaretskii
2023-12-08  8:27           ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-08  8:51             ` Eli Zaretskii
2023-12-08  9:07               ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-08 10:23               ` Thierry Volpiatto
2023-12-08 10:16             ` Thierry Volpiatto
2023-12-08 10:40               ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-08 12:00               ` Eli Zaretskii
2023-12-08 12:11                 ` Thierry Volpiatto
2023-12-08 12:39                 ` Thierry Volpiatto
2023-12-08 12:40                 ` Thierry Volpiatto
2023-12-08 16:37                   ` Thierry Volpiatto
2023-12-08  8:46           ` Thierry Volpiatto [this message]

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=87zfylxesm.fsf@posteo.net \
    --to=thievol@posteo.net \
    --cc=67702@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=kun.liu@gmail.com \
    --cc=me@eshelyaron.com \
    /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.