emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please, Restore Previous Behavior for jump-to-register


From: Eduardo Ochs
Subject: Re: Please, Restore Previous Behavior for jump-to-register
Date: Sun, 10 Dec 2023 18:07:37 -0300

On Sun, 10 Dec 2023 at 11:57, Eli Zaretskii <eliz@gnu.org> wrote:
>
> >   2) please write the functions in a way in which it would be easy -
> >      either with a bit of Lisp or with none - to define four key
> >      sequences, one for point-to-register-with-RETs, one for
> >      point-to-register-without-RETs, one for
> >      jump-to-register-with-RETs and one for
> >      jump-to-register-without-RETs,
>
> Why do you need separate functions?  Would a user option that allows
> to choose either with or without RET be enough?  If not, why not?

Hi Eli,

Sorry, you are right... I was sleepy when I wrote my e-mail and I
didn't realize that I can write the functions that I imagined -
jump-to-register-with-RET, jump-to-register-no-RET,
point-to-register-with-RET and point-to-register-no-RET - by just
wrapping the default functions inside `let's like this:

  (let ((register-use-preview ...)) ...)

Apologies for the sleepo! Cheers,
  Eduardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]