GNU bug report logs -
#76739
31.0.50; Register previews cannot be disabled
Previous Next
Reported by: Rudolf Adamkovič <rudolf <at> adamkovic.org>
Date: Tue, 4 Mar 2025 11:37:02 UTC
Severity: normal
Found in version 31.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Rudolf Adamkovič <rudolf <at> adamkovic.org>
>> Date: Tue, 04 Mar 2025 12:36:08 +0100
>>
>>
>> REPRODUCTION:
>>
>> 1. start `emacs -Q'
>> 2. eval `(setq register-use-preview 'never)'
>> 3. type "foo", highlight it, and type `C-x r s a'
>> 4. type "bar", highlight it, and type `C-x r s'
>> 5. wait one second
>>
>> EXPECTED:
>>
>> no preview shows
>>
>> ACTUAL:
>>
>> preview shows
>>
>> NOTES:
>>
>> The preview shows on `C-x r i' as well. Is the `register-use-preview'
>> variable supposed to control its preview as well? If so, then the
>> variable should not be documented as
>>
>> "Whether to show register preview when manipulating registers."
>> ^^^^^^^^^^^^
>> instead of
>>
>> "Whether to show register preview when modifying registers."
>>
>> because `C-x r i' does not modify any registers.
>
> Thierry, could you please look into this?
Yes, I already replied, the problem is if one set this variable with
setq, the defcustom has a :set function.
So from emacs -Q here:
(customize-set-variable 'register-use-preview 'never)
Then do 3) and 4) from the recipe above.
No preview, as expected.
--
Thierry
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 71 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.