GNU bug report logs -
#34765
26.1; with-temp-buffer should not run buffer-list-update-hook
Previous Next
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
View this message in rfc822 format
> > And do not preserve NORECORD?
>
> They did.
So what was the problem there? How did 'buffer-list-update-hook' get
invoked in such a wild manner?
> It didn't. IIRC a temp buffer was created 2 or 3 times every time
> I would move point.
This alone qualifies as a bug IMHO.
> The problem is that this *somehow* triggered a
> feedback loop with treemacs and magit feeding off each other. I
> haven't really understood what happened there as that would require
> some very deep digging inside magit's internals.
I think that creating a new temporary buffer should always be the
exception and never the rule. Does the point moving happen in the
treemacs buffer or in that of a plain (probably git-controlled)
buffer?
> There's a recipe for
> emacs -q in the github issue if you want to see this for yourself.
Can you pass me a corresponding URL?
> > I see. But please try 'window-selection-change-functions'
> > sooner or later so we know whether it fixes these problems.
>
> Way ahead of you ;)
> https://github.com/Alexander-Miller/treemacs/issues/321
Aha.
martin
This bug report was last modified 4 years and 152 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.