GNU bug report logs - #50061
28.0.50; Hang caused by savehist-save when saving kill ring with large amount of data from nxml-mode buffer

Previous Next

Package: emacs;

Reported by: Matt Beshara <m <at> mfa.pw>

Date: Sun, 15 Aug 2021 05:01:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #40 received at 50061 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: m <at> mfa.pw, schwab <at> linux-m68k.org, 50061 <at> debbugs.gnu.org
Subject: Re: bug#50061: 28.0.50; Hang caused by savehist-save when saving
 kill ring with large amount of data from nxml-mode buffer
Date: Sun, 15 Aug 2021 17:31:42 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: schwab <at> linux-m68k.org,  m <at> mfa.pw,  50061 <at> debbugs.gnu.org
> Date: Sun, 15 Aug 2021 16:23:54 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > I see the filter you installed removes the fontified property as well?
> > Why is that? I don't think we do that anywhere else.
> 
> I thought I vaguely remembered nxml-mode using the font-lock machinery
> for some of this stuff, so I wanted (when yanking stuff back into an
> nxml-mode buffer) all of the data to be recomputed (if necessary).
> 
> But I may be misremembering -- if it's not using font-lock for this,
> then removing `fontified' should be unnecessary. 

I think we shouldn't remove that property, because it's unnecessary,
and because filter-buffer-substring-function is used not only for
copying text into the kill-ring.  We should leave there properties
that cause no trouble.




This bug report was last modified 3 years and 336 days ago.

Previous Next


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