GNU bug report logs - #76445
31.0.50; `eww' makes display property sticky

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Thu, 20 Feb 2025 19:02: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

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 76445 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#76445: 31.0.50; `eww' makes display property sticky
Date: Sat, 22 Feb 2025 15:38:07 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
>> Cc: Manuel Giraud <manuel <at> ledu-giraud.fr>,  76445 <at> debbugs.gnu.org
>> Date: Fri, 21 Feb 2025 08:51:41 -0500
>> 
>> > Could you see if making this part in eww-mode:
>> >
>> >   (setq text-property-default-nonsticky '((face . t) (eww-form . t)
>> >                                           (field . t))))
>> >
>> > set only the buffer-local value of text-property-default-nonsticky
>> > solves the problem without any regressions in eww-mode itself?
>> >
>> > Stefan, does it make sense to have this variable _not_ be buffer-local
>> > when set?
>> 
>> I don't think I have more expertise than others in this area, but yes it
>> would make sense for this var to be auto-buffer-local.  It's dangerous
>> to change its global value, so it makes sense to do it only in response
>> to `setq-default`.
>
> Agreed.  So the changes below should fix this problem without any
> changes in eww.el.  Manuel, could you please verify that?  It seems to
> work here.

I have tested it on current master (702cb123faf) and it works as
expected.  Thanks.
-- 
Manuel Giraud




This bug report was last modified 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.