GNU bug report logs - #19987
Broken sexp movement in Python mode

Previous Next

Package: emacs;

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

Date: Tue, 3 Mar 2015 10:34:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19987 in the body.
You can then email your comments to 19987 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19987; Package emacs. (Tue, 03 Mar 2015 10:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 03 Mar 2015 10:34:02 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Broken sexp movement in Python mode
Date: Tue, 3 Mar 2015 11:33:24 +0100
[Message part 1 (text/plain, inline)]
$ emacs - q

Visit a new Python buffer and type:

a = b (0)

C-M-f at the beginning of the buffer moves the point immediately to the end
of line. Expected is point after 'a', as in other modes. As another visible
and annoying effect, C-M-k kills more than expected, thus breaking editing
habits.

Note that C-M-b from the end of line moves point to '(', then to 'b', then
to 'a', just as expected.

Paul
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19987; Package emacs. (Tue, 03 Mar 2015 10:36:01 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: 19987 <at> debbugs.gnu.org
Subject: Re: bug#19987: Acknowledgement (Broken sexp movement in Python mode)
Date: Tue, 3 Mar 2015 11:35:28 +0100
[Message part 1 (text/plain, inline)]
Forgot to mention: this is on a just-compiled master branch:
GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of
2015-03-03

On 3 March 2015 at 11:34, GNU bug Tracking System <help-debbugs <at> gnu.org>
wrote:

> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  bug-gnu-emacs <at> gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 19987 <at> debbugs.gnu.org.
>
> Please do not send mail to help-debbugs <at> gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 19987: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19987
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
[Message part 2 (text/html, inline)]

Reply sent to fgallina <at> gnu.org (Fabián Ezequiel Gallina):
You have taken responsibility. (Thu, 09 Apr 2015 04:56:01 GMT) Full text and rfc822 format available.

Notification sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
bug acknowledged by developer. (Thu, 09 Apr 2015 04:56:02 GMT) Full text and rfc822 format available.

Message #13 received at 19987-done <at> debbugs.gnu.org (full text, mbox):

From: fgallina <at> gnu.org (Fabián Ezequiel Gallina)
To: 19987-done <at> debbugs.gnu.org
Subject: Broken sexp movement in Python mode
Date: Thu, 09 Apr 2015 01:55:54 -0300
Adding the following to your .emacs will disable python.el's default
forward-sexp behavior (which works in a ~lispy way):

(add-hook 'python-mode-hook
          (lambda () (setq forward-sexp-function nil)))

The parentheses behavior is a special case I'll document better as a
follow up of #19954.


Cheers,
Fabián.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 07 May 2015 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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