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: Eduardo Ochs <eduardoochs@gmail.com>,
	 ams@gnu.org, schwab@linux-m68k.org,  raman@google.com,
	 eller.helmut@gmail.com, tino.calancha@gmail.com,
	 emacs-devel@gnu.org
Subject: Re: Please, Restore Previous Behavior for jump-to-register
Date: Sun, 10 Dec 2023 17:46:57 +0000	[thread overview]
Message-ID: <8734waosq6.fsf@posteo.net> (raw)
In-Reply-To: <87y1e2ynaz.fsf@posteo.net> (Thierry Volpiatto's message of "Sun,  10 Dec 2023 18:33:56 +0100 (9 minutes, 15 seconds ago)")

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

Thierry Volpiatto <thievol@posteo.net> writes:

> Thierry Volpiatto <thievol@posteo.net> writes:

> Note also that in addition to register-use-preview setting, one can use
>
>     (cl-defmethod register-preview-command-info ((_command (eql copy-to-register)))
>       (make-register-preview-info
>        :types '(string number)
>        :msg "Set register `%s'"))
>
> to have the wanted behavior (no RET when overwriting) for
> copy-to-register command.

Sorry, it is register-command-info, not register-preview-command-info.

Even better the customization can be make only when for example
register-use-preview is nil with:

    (cl-defmethod register-command-info ((_command (eql copy-to-register))
                                         &context (register-use-preview (eql nil)))
      (make-register-preview-info
       :types '(string number)
       :msg "Set register `%s'"))

-- 
Thierry

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

  reply	other threads:[~2023-12-10 17:46 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07 10:02 Please, Restore Previous Behavior for jump-to-register Tino Calancha
2023-12-08 13:48 ` Helmut Eller
2023-12-08 15:19   ` Eduardo Ochs
2023-12-08 20:35     ` T.V Raman
2023-12-08 20:45       ` Eduardo Ochs
2023-12-09  6:58         ` Thierry Volpiatto
2023-12-09 16:40           ` T.V Raman
2023-12-10  1:58           ` Eduardo Ochs
2023-12-10  5:15             ` Thierry Volpiatto
2023-12-10  5:44               ` Eduardo Ochs
2023-12-10  8:28                 ` Alfred M. Szmidt
2023-12-10  9:31                   ` Eli Zaretskii
2023-12-10  9:47                     ` Alfred M. Szmidt
2023-12-10  9:37                   ` João Távora
2023-12-10  9:45                     ` Eli Zaretskii
2023-12-10  6:02               ` Teemu Likonen
2023-12-10  8:21               ` Alfred M. Szmidt
2023-12-10 10:14               ` Rudolf Schlatte
2023-12-10 11:18               ` Andreas Schwab
2023-12-10 11:30                 ` Alfred M. Szmidt
2023-12-10 12:34                   ` Eduardo Ochs
2023-12-10 14:57                     ` Eli Zaretskii
2023-12-10 16:26                       ` Daniel Colascione
2023-12-10 16:57                       ` Thierry Volpiatto
2023-12-10 17:27                         ` Rudolf Schlatte
2023-12-10 17:33                         ` Thierry Volpiatto
2023-12-10 17:46                           ` Thierry Volpiatto [this message]
2023-12-10 19:20                         ` João Távora
2023-12-10 19:44                           ` T.V Raman
2023-12-10 20:08                             ` João Távora
2023-12-10 20:30                               ` Alfred M. Szmidt
2023-12-10 20:37                                 ` João Távora
2023-12-11  0:54                               ` T.V Raman
2023-12-11  5:58                                 ` Alfred M. Szmidt
2023-12-11 12:27                                   ` Eli Zaretskii
2023-12-11 18:16                                     ` Dmitry Gutov
2023-12-11 20:04                                       ` Colin Baxter
2023-12-12  5:31                                       ` Po Lu
2023-12-12  5:43                                       ` Alfred M. Szmidt
2023-12-12 10:05                                     ` João Távora
2023-12-14  7:48                                       ` Eli Zaretskii
2023-12-14 15:16                                         ` Alfred M. Szmidt
2023-12-14 15:31                                           ` João Távora
2023-12-14 15:34                                             ` T.V Raman
2023-12-14 15:45                                             ` Dmitry Gutov
2023-12-14 16:22                                               ` João Távora
2023-12-14 16:32                                                 ` João Távora
2023-12-14 16:39                                                   ` Ihor Radchenko
2023-12-14 17:52                                                   ` [External] : " Drew Adams
2023-12-14 20:17                                                     ` Stefan Kangas
2023-12-14 20:56                                                       ` João Távora
2023-12-14 22:54                                                         ` Drew Adams
2023-12-14 23:06                                                           ` João Távora
2023-12-14 23:08                                                           ` Dmitry Gutov
2023-12-15  0:27                                                           ` Adam Porter
2023-12-14 22:53                                                       ` Drew Adams
2023-12-16 22:15                                                         ` Merging bookmark+ features into Emacs itself Stefan Kangas
2023-12-16 23:07                                                           ` [External] : " Drew Adams
2023-12-15 15:02                                                       ` [External] : Re: Please, Restore Previous Behavior for jump-to-register T.V Raman
2023-12-14 16:57                                                 ` Eli Zaretskii
2023-12-14 17:53                                                   ` [External] : " Drew Adams
2023-12-14 16:53                                               ` Eli Zaretskii
2023-12-14 17:10                                                 ` Alfred M. Szmidt
2023-12-14 17:20                                                   ` Eli Zaretskii
2023-12-14 17:35                                                     ` Alfred M. Szmidt
2023-12-14 17:53                                                     ` [External] : " Drew Adams
2023-12-14 17:50                                               ` Drew Adams
2023-12-14 15:55                                             ` Alfred M. Szmidt
2023-12-14 17:48                                               ` [External] : " Drew Adams
2023-12-14 16:52                                             ` Eli Zaretskii
2023-12-14 17:01                                               ` Alfred M. Szmidt
2023-12-14 17:07                                                 ` Eli Zaretskii
2023-12-14 17:10                                                   ` Alfred M. Szmidt
2023-12-14 17:25                                                     ` Eli Zaretskii
2023-12-14 18:05                                                       ` Alfred M. Szmidt
2023-12-14 18:57                                                         ` Eli Zaretskii
2023-12-14 20:20                                                           ` Stefan Kangas
2023-12-14 20:48                                                             ` Alfred M. Szmidt
2023-12-14 16:48                                           ` Eli Zaretskii
2023-12-14 17:01                                             ` Alfred M. Szmidt
2023-12-14 17:11                                               ` Eli Zaretskii
2023-12-14 17:35                                                 ` Alfred M. Szmidt
2023-12-14 20:23                                                   ` Stefan Kangas
2023-12-14 20:48                                                     ` Alfred M. Szmidt
2023-12-10 19:25                         ` Alfred M. Szmidt
2023-12-10 21:07                       ` Eduardo Ochs
2023-12-08 15:32   ` [External] : " Drew Adams
2023-12-08 16:36     ` Eli Zaretskii
2023-12-08 18:41       ` [External] : " Drew Adams
2023-12-08 14:28 ` James Thomas
2023-12-13 13:00 ` João Pedro
2023-12-16  4:22   ` Richard Stallman
2023-12-16 10:28     ` Jean Louis
2023-12-16 20:19       ` Eli Zaretskii
2023-12-16 22:03     ` João Pedro
2023-12-18  4:13       ` Richard Stallman
2023-12-14  8:22 ` Protesilaos Stavrou
2023-12-14 17:01   ` Alfred M. Szmidt
2023-12-14 20:27   ` Stefan Kangas
2023-12-14 21:50 ` Rudolf Adamkovič
2023-12-15  9:22   ` Steve Perry

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=8734waosq6.fsf@posteo.net \
    --to=thievol@posteo.net \
    --cc=ams@gnu.org \
    --cc=eduardoochs@gmail.com \
    --cc=eliz@gnu.org \
    --cc=eller.helmut@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=raman@google.com \
    --cc=schwab@linux-m68k.org \
    --cc=tino.calancha@gmail.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.