GNU bug report logs - #34765
26.1; with-temp-buffer should not run buffer-list-update-hook

Previous Next

Package: emacs;

Reported by: Alexander Miller <alexanderm <at> web.de>

Date: Tue, 5 Mar 2019 22:58:02 UTC

Severity: normal

Tags: fixed

Found in version 26.1

Fixed in version 28.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 34765 <at> debbugs.gnu.org, alexanderm <at> web.de, Eli Zaretskii <eliz <at> gnu.org>,
 monnier <at> IRO.UMontreal.CA
Subject: Re: bug#34765: 26.1; with-temp-buffer should not run
 buffer-list-update-hook
Date: Tue, 21 May 2019 09:32:29 +0200
>> It would be nice to get rid of the entire
>>
>>    b->inhibit_buffer_hooks
>>      = (STRINGP (Vcode_conversion_workbuf_name)
>>         && strncmp (SSDATA (name), SSDATA (Vcode_conversion_workbuf_name),
>> 		   SBYTES (Vcode_conversion_workbuf_name)) == 0);
>>
>> form in 'get-buffer-create'.  Any ideas?
>
> Doesn't your patch in https://debbugs.gnu.org/34765#86 already eliminate
> the need for it?

FWIW no, it leaves that form in place.  And 'get-buffer-create' should
not have to worry about delving any deeper into the name than down to
its first character to check for ' ' or '*'.

But I'm not happy with my patch anyway.  Something more elegant is
needed.

martin




This bug report was last modified 4 years and 153 days ago.

Previous Next


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