unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: search-backward returning matches which end after point
Date: Wed, 28 Aug 2024 21:24:59 -0400	[thread overview]
Message-ID: <jwvikvkw2ag.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: iera5gwvjzt.fsf@janestreet.com

> Could we update easy-mmode-define-navigation to use this technique, so
> it reliably goes to the start of the current "thing"?  Again happy to
> make that patch.  That would more directly satisfy my use case anyway,
> which is just "getting reliable next/prev navigation commands".

I wouldn't oppose such a patch.
But note that sometimes you might prefer the current behavior, and also
some code (mostly `diff-mode`, IIRC) might use some of the generated
functions from ELisp where we may rely on the current behavior.
IOW, just a heads up that it could require adjustments elsewhere.


        Stefan




  reply	other threads:[~2024-08-29  1:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-23 14:18 search-backward returning matches which end after point Spencer Baugh
2024-08-24 15:20 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-08-26 14:26   ` Spencer Baugh
2024-08-26 16:54     ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-08-28 13:45       ` Spencer Baugh via Users list for the GNU Emacs text editor
2024-08-29  1:24         ` Stefan Monnier via Users list for the GNU Emacs text editor [this message]
2024-08-26 18:27 ` Andreas Röhler
2024-08-26 19:37   ` Stefan Monnier via Users list for the GNU Emacs text editor

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvikvkw2ag.fsf-monnier+emacs@gnu.org \
    --to=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).