all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31584: 27.0.50; Document again what match re-search-backward finds
@ 2018-05-24 21:31 Michael Heerdegen
  2018-05-24 21:42 ` Eric Abrahamsen
  0 siblings, 1 reply; 17+ messages in thread
From: Michael Heerdegen @ 2018-05-24 21:31 UTC (permalink / raw)
  To: 31584


Hello,

a user asked in emacs-help why

   (re-search-backward "a*")

at the end of a line consisting only "a"s didn't move point.  With
today's documentation, that question can't be answered.

Some time ago, we had this sentence in the docstring:

   The match found is the one starting last in the buffer
   and yet ending before the origin of the search.

but it has been removed.  I think we need to say something like that,
otherwise the semantics of backward re search is unclear.


TIA,

Michael.



In GNU Emacs 27.0.50 (build 30, x86_64-pc-linux-gnu, GTK+ Version 3.22.29)
 of 2018-05-24 built on drachen
Repository revision: 98c624708a37bc306130e1499fb1a0c5339a50af
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Debian GNU/Linux buster/sid





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

end of thread, other threads:[~2018-05-25 11:59 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-24 21:31 bug#31584: 27.0.50; Document again what match re-search-backward finds Michael Heerdegen
2018-05-24 21:42 ` Eric Abrahamsen
2018-05-24 21:59   ` Michael Heerdegen
2018-05-24 22:10     ` Eric Abrahamsen
2018-05-24 22:14   ` Noam Postavsky
2018-05-24 22:47     ` Eric Abrahamsen
2018-05-24 22:47     ` Michael Heerdegen
2018-05-24 23:55       ` Noam Postavsky
2018-05-25  0:22         ` Michael Heerdegen
2018-05-25  0:31           ` Noam Postavsky
2018-05-25  0:36             ` Eric Abrahamsen
2018-05-25  1:10             ` Michael Heerdegen
2018-05-25  1:27               ` Noam Postavsky
2018-05-25  1:48                 ` Michael Heerdegen
2018-05-25  6:23         ` Eli Zaretskii
2018-05-25 11:59           ` Noam Postavsky
2018-05-25  0:28     ` Drew Adams

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.