GNU bug report logs - #18319
Buggy behavior of DEL in python-mode

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Sat, 23 Aug 2014 13:10:02 UTC

Severity: minor

Done: fgallina <at> gnu.org (Fabián Ezequiel Gallina)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18319: closed (Buggy behavior of DEL in python-mode)
Date: Tue, 27 Jan 2015 03:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 27 Jan 2015 00:24:52 -0300
with message-id <87iofssy63.fsf <at> gnu.org>
and subject line Buggy behavior of DEL in python-mode
has caused the debbugs.gnu.org bug report #18319,
regarding Buggy behavior of DEL in python-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18319: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18319
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Buggy behavior of DEL in python-mode
Date: Sat, 23 Aug 2014 15:09:41 +0200
[Message part 3 (text/plain, inline)]
Save the following as a .py file and open in an 'emacs -q':

if True:
    x ()
    if True:

Put the point on the second 'if', i.e. line 3, column 4.

* First press of DEL (Backspace) does nothing (bug 1);
* Second press dedents the line --- ok;
* Press C-/ to undo line dedention and so revert the buffer to original
text;
* Now third press of DEL _indents_ the line, even though it makes no sense
in Python at all (bug 2).

The buggy function is 'python-indent-dedent-line-backspace'.

Paul
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
To: 18319-done <at> debbugs.gnu.org
Subject: Buggy behavior of DEL in python-mode
Date: Tue, 27 Jan 2015 00:24:52 -0300
Fixed at 5485e3e in the emacs-24 branch.


Cheers,
Fabián


This bug report was last modified 10 years and 202 days ago.

Previous Next


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