GNU bug report logs - #49826
26.1; Clicking on error in Inferior Python mode jumps to wrong line after source file edit

Previous Next

Package: emacs;

Reported by: Al Go <al.go.robot.42 <at> gmail.com>

Date: Mon, 2 Aug 2021 15:45:03 UTC

Severity: normal

Found in version 26.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Al Go <al.go.robot.42 <at> gmail.com>
Cc: 49826 <at> debbugs.gnu.org
Subject: bug#49826: 26.1; Clicking on error in Inferior Python mode jumps to wrong line after source file edit
Date: Wed, 04 Aug 2021 09:26:04 +0200
Al Go <al.go.robot.42 <at> gmail.com> writes:

> BUT, if I then edit the source file by adding or removing lines before the error,
> for example:
>
> #1
> #2
> assert False
> #b
> #c
>
> the inferior mode buffer now shows:
>
> "File "[...]/t.py", line 3, in <module>
>
> Which is still correct, but clicking on it now sends me to line 4 (#b) instead of
> line 3.

I'm not able to reproduce this in Emacs 28 -- I think it was fixed a few
months ago there.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 352 days ago.

Previous Next


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