GNU bug report logs - #69259
30.0.50; (get-pos-property 9483 'cursor-intangible) gives args-out-of-range error in folded magit buffer

Previous Next

Package: emacs;

Reported by: StrawberryTea <look <at> strawberrytea.xyz>

Date: Sun, 18 Feb 2024 21:19:02 UTC

Severity: normal

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 69259 <at> debbugs.gnu.org,
 StrawberryTea <look <at> strawberrytea.xyz>
Subject: Re: 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
> 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





This bug report was last modified 1 year and 145 days ago.

Previous Next


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