GNU bug report logs - #41361
Fwd: Re: python.el: improve sexp-based navigation or make it optional?

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> online.de>

Date: Sun, 17 May 2020 14:06:01 UTC

Severity: wishlist

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: Stefan Kangas <stefan <at> marxist.se>
To: João Távora <joaotavora <at> gmail.com>
Cc: 41361 <at> debbugs.gnu.org, Andreas Röhler <andreas.roehler <at> online.de>, immerrr <at> gmail.com
Subject: bug#41361: Fwd: Re: python.el: improve sexp-based navigation or make it optional?
Date: Fri, 19 Mar 2021 21:51:52 -0500
João Távora <joaotavora <at> gmail.com> writes:

> Stefan Kangas <stefan <at> marxist.se> writes:
>
>> Andreas Röhler <andreas.roehler <at> online.de> writes:
>>
>>> maybe make forward-sexp-function customizable. Currently that var is
>>> set inside the derived mode:
>>
>> I agree that this should be customizable.
>
> I too am a fan of sexp navigation (C-M-f, C-M-b, etc.)  If this
> navigation in indeed superior, we could consider making it the default
> for python-mode?  Something similar thing was done recently for
> nxml-mode, by changing nxml-sexp-element-flag from nil to t.  I liked
> this change very much.

I have been back to coding a bunch of Python lately, and having
experimented with this I think making it the default behavior is indeed
a good idea.

In the linked emacs-devel thread, I said that the old behavior was fine,
which I guess is true.  I have now come to the conclusion that it is
also worse than the alternative.  :-)




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

Previous Next


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