[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please, Restore Previous Behavior for jump-to-register
From: |
Alfred M. Szmidt |
Subject: |
Re: Please, Restore Previous Behavior for jump-to-register |
Date: |
Sun, 10 Dec 2023 14:25:13 -0500 |
I think it is important to have a kind of warning and confirm when doing
so. I have personally often overwrited registers I was working with
inadvertantly.
A warning, without confirmation (i.e. keeping the normal behaviour)
seems like a nice addition.
Now when you set a new register you can use M-n and there it will set
the register without the need to press RET.
The behaviour of this is sporadic. M-n on the first invocation will
insert a, silently (how do you know which register it uses?). On the
second, when trying to insert b, it will query the user. Making this
hard to use in macros, or in any reliable fashion.
I think the current behavior is sane, specially for new users - it is
really surprizing that when hitting "a" for example there is no
confirmation at all -, so I think the default for register-use-preview
should be `t`.
That is the documented way registers work, why would it be remotley
suprising?
If needed I can disable RET easily for register overwrite as well, this
for the two remaining options of register-use-preview (nil and 'never)
but I think it would be an error.
register-use-preview should disable "preview" -- it seems that this
variable is being used for other purposes, like making registers more
interactive. Maybe those two behaviours should be split, have a
"register-warn-if-trashing-p" variable.
But it should be clear that some means of restoring the old behaviour,
exactly like it was, is needed with an easy toggle.
- Re: Please, Restore Previous Behavior for jump-to-register, (continued)
- Re: Please, Restore Previous Behavior for jump-to-register, Alfred M. Szmidt, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register, Eli Zaretskii, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register, Stefan Kangas, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register, Alfred M. Szmidt, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register, Eli Zaretskii, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register, Alfred M. Szmidt, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register, Eli Zaretskii, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register, Alfred M. Szmidt, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register, Stefan Kangas, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register, Alfred M. Szmidt, 2023/12/14
- Re: Please, Restore Previous Behavior for jump-to-register,
Alfred M. Szmidt <=
- Re: Please, Restore Previous Behavior for jump-to-register, Eduardo Ochs, 2023/12/10
RE: [External] : Re: Please, Restore Previous Behavior for jump-to-register, Drew Adams, 2023/12/08
Re: Please, Restore Previous Behavior for jump-to-register, James Thomas, 2023/12/08
Re: Please, Restore Previous Behavior for jump-to-register, João Pedro, 2023/12/13