From: Stefan Monnier <monnier@iro.umontreal.ca>
To: immerrr again <immerrr@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: python.el: improve sexp-based navigation or make it optional?
Date: Sat, 16 May 2020 23:04:08 -0400 [thread overview]
Message-ID: <jwvimgvclhz.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAERznn-xfkqZUjP48u7Uw87yjvEcjL2fGU5UunJfjBcAN_SoGA@mail.gmail.com> (immerrr again's message of "Sat, 16 May 2020 15:16:44 +0200")
> <1>class Test:
> X = 'foo'
> Y = 'bar'<2>
SMIE navigation faces similar problems and solves them differently: from
(1) is would jump to (2) but from (2) it would jump back to just before
'bar' instead of jumping back to (1).
IOW it jumps over "the nearest/smallest" sub-expression.
Stefan
next prev parent reply other threads:[~2020-05-17 3:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-16 13:16 python.el: improve sexp-based navigation or make it optional? immerrr again
2020-05-16 14:05 ` Stefan Kangas
2020-05-16 19:11 ` Andreas Röhler
2020-05-16 20:46 ` immerrr again
2020-05-17 14:12 ` bug#41361: Fwd: " Andreas Röhler
2020-05-20 1:06 ` Stefan Kangas
2020-05-21 13:42 ` João Távora
2021-03-20 2:51 ` Stefan Kangas
2021-07-31 16:44 ` Lars Ingebrigtsen
2020-05-17 3:04 ` Stefan Monnier [this message]
2020-05-20 1:06 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvimgvclhz.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=immerrr@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.