all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18319: Buggy behavior of DEL in python-mode
@ 2014-08-23 13:09 Paul Pogonyshev
  2015-01-27  3:24 ` Fabián Ezequiel Gallina
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Pogonyshev @ 2014-08-23 13:09 UTC (permalink / raw
  To: 18319

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 699 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#18319: Buggy behavior of DEL in python-mode
  2014-08-23 13:09 bug#18319: Buggy behavior of DEL in python-mode Paul Pogonyshev
@ 2015-01-27  3:24 ` Fabián Ezequiel Gallina
  0 siblings, 0 replies; 2+ messages in thread
From: Fabián Ezequiel Gallina @ 2015-01-27  3:24 UTC (permalink / raw
  To: 18319-done

Fixed at 5485e3e in the emacs-24 branch.


Cheers,
Fabián





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-27  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-23 13:09 bug#18319: Buggy behavior of DEL in python-mode Paul Pogonyshev
2015-01-27  3:24 ` Fabián Ezequiel Gallina

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.