bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives arg


From: Stefan Monnier
Subject: bug#69259: 30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer
Date: Thu, 22 Feb 2024 10:30:56 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> That was my guess.  The merged commit just forgoes calling that function
> if things aren't as expected.  My plan was (and obviously still is) to
> look into instead ensuring that the expected buffer is current, making
> it current if necessary.

As alluded to in my other message, maybe we should consider it a bug
if `post-command-hook` functions get called with (current-buffer)
different from (window-buffer) and similarly I'd consider it a bug if
such a function breaks this invariant.

[ Just putting this out there, hoping to influence who you
  blame at the end of your "look into" 🙂  ]


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]