GNU bug report logs - #36190
27.0.50; `put-text-property' etc. with buffer argument calls current buffer's `after-change-functions'

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> gmail.com>

Date: Thu, 13 Jun 2019 13:50:02 UTC

Severity: normal

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: pipcet <at> gmail.com
Cc: 36190 <at> debbugs.gnu.org
Subject: Re: bug#36190: 27.0.50;
 `put-text-property' etc. with buffer argument calls current buffer's
 `after-change-functions'
Date: Thu, 13 Jun 2019 22:27:56 +0300
> Date: Thu, 13 Jun 2019 22:05:48 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 36190 <at> debbugs.gnu.org
> 
> > Here's a first patch, which adds a "buffer" argument to
> > signal_after_change, to be explicit about where the change happens. It
> > should be pretty cheap in the case where we don't switch buffers.
> 
> Not sure I have a clear idea of how you intend to use that additional
> argument.

Found it:

> +  record_unwind_current_buffer ();
> +  set_buffer_internal (buffer);




This bug report was last modified 6 years and 16 days ago.

Previous Next


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