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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  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:14   ` Noam Postavsky
  0 siblings, 2 replies; 17+ messages in thread
From: Eric Abrahamsen @ 2018-05-24 21:42 UTC (permalink / raw
  To: 31584

Michael Heidegger <michael_heerdegen@web.de> writes:

> 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.

I've been bitten by this before. I'm sure the sentence you cite is
correct, but I would suggest something more explicit about backwards
searches. The most useful thing I could have read when I was wondering
why this didn't work would be something like: "re-search-backward always
behaves "non-greedily", i.e., it will find the shortest match before
point".

That might not be technically correct, but those are the terms that
would have made sense to me: in particular, the "*" token is supposed to
be "greedy", so why isn't it greedy backwards? This doesn't explain why
it isn't, but it would have explicitly told me that it wouldn't be.

Eric






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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  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
  1 sibling, 1 reply; 17+ messages in thread
From: Michael Heerdegen @ 2018-05-24 21:59 UTC (permalink / raw
  To: Eric Abrahamsen; +Cc: 31584

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Michael Heidegger <michael_heerdegen@web.de> writes:

FWIW, my last name is "Heerdegen" AFAIK.

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

> I've been bitten by this before. I'm sure the sentence you cite is
> correct, but I would suggest something more explicit about backwards
> searches. The most useful thing I could have read when I was wondering
> why this didn't work would be something like: "re-search-backward always
> behaves "non-greedily", i.e., it will find the shortest match before
> point".
>
> That might not be technically correct, but those are the terms that
> would have made sense to me: in particular, the "*" token is supposed to
> be "greedy", so why isn't it greedy backwards? This doesn't explain why
> it isn't, but it would have explicitly told me that it wouldn't be.

Without thinking long about it, I guess the above definition, and greedy
operators behaving non-greedy for backwards search, could be equivalent,
more or less.


Michael.





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-24 21:59   ` Michael Heerdegen
@ 2018-05-24 22:10     ` Eric Abrahamsen
  0 siblings, 0 replies; 17+ messages in thread
From: Eric Abrahamsen @ 2018-05-24 22:10 UTC (permalink / raw
  To: 31584

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Michael Heidegger <michael_heerdegen@web.de> writes:
>
> FWIW, my last name is "Heerdegen" AFAIK.

It's not too late to change!

I blame `flyspell-auto-correct-previous-word' for this stuff the same
way that other people blame autocorrect on iOS. Apparently I randomly
hit "C-;" a lot.

>> >    The match found is the one starting last in the buffer
>> >    and yet ending before the origin of the search.
>
>> I've been bitten by this before. I'm sure the sentence you cite is
>> correct, but I would suggest something more explicit about backwards
>> searches. The most useful thing I could have read when I was wondering
>> why this didn't work would be something like: "re-search-backward always
>> behaves "non-greedily", i.e., it will find the shortest match before
>> point".
>>
>> That might not be technically correct, but those are the terms that
>> would have made sense to me: in particular, the "*" token is supposed to
>> be "greedy", so why isn't it greedy backwards? This doesn't explain why
>> it isn't, but it would have explicitly told me that it wouldn't be.
>
> Without thinking long about it, I guess the above definition, and greedy
> operators behaving non-greedy for backwards search, could be equivalent,
> more or less.

I agree they're equivalent, but it would take me longer to think about
it, particularly when I'm trying to make a regexp match and am already
annoyed. But it was just a suggestion -- so long as something gets in
there, I don't mind.

Eric






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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-24 21:42 ` Eric Abrahamsen
  2018-05-24 21:59   ` Michael Heerdegen
@ 2018-05-24 22:14   ` Noam Postavsky
  2018-05-24 22:47     ` Eric Abrahamsen
                       ` (2 more replies)
  1 sibling, 3 replies; 17+ messages in thread
From: Noam Postavsky @ 2018-05-24 22:14 UTC (permalink / raw
  To: Eric Abrahamsen; +Cc: 31584

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Michael Heidegger <michael_heerdegen@web.de> writes:
>
>>
>>    (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.

The docstring should definitely be clarified, but technically it can
still be answered, if you read very carefully:

    (re-search-backward REGEXP &optional BOUND NOERROR COUNT)

    Search backward from point for regular expression REGEXP.
    This function is almost identical to ‘re-search-forward’, except that
    by default it searches backward instead of forward, and the sign of
    COUNT also indicates exactly the opposite searching direction.

    (re-search-forward REGEXP &optional BOUND NOERROR COUNT)

    [...]
    With COUNT positive/negative, the match found is [...] located
      entirely after/before the origin of the search.

>> 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.

Yeah, it is sufficiently surprising that it should be called out
specifically.

> I've been bitten by this before. I'm sure the sentence you cite is,
> correct, but I would suggest something more explicit about backwards
> searches. The most useful thing I could have read when I was wondering
> why this didn't work would be something like: "re-search-backward always
> behaves "non-greedily", i.e., it will find the shortest match before
> point".

It is greedy:

(with-temp-buffer
  (insert "xxxxyyyy")
  (and (re-search-backward "x+y*" nil t)
       (match-string 0))) ;=> "xyyyy"

Non-greedy wouldn't match any "y"s.  It's a bit tricky to explain both
correctly and clearly...





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-24 22:14   ` Noam Postavsky
@ 2018-05-24 22:47     ` Eric Abrahamsen
  2018-05-24 22:47     ` Michael Heerdegen
  2018-05-25  0:28     ` Drew Adams
  2 siblings, 0 replies; 17+ messages in thread
From: Eric Abrahamsen @ 2018-05-24 22:47 UTC (permalink / raw
  To: Noam Postavsky; +Cc: 31584


On 05/24/18 18:14 PM, Noam Postavsky wrote:
> The docstring should definitely be clarified, but technically it can
> still be answered, if you read very carefully:

If reading the documentation takes only a little less effort than
reading the code...

>> I've been bitten by this before. I'm sure the sentence you cite is,
>> correct, but I would suggest something more explicit about backwards
>> searches. The most useful thing I could have read when I was wondering
>> why this didn't work would be something like: "re-search-backward always
>> behaves "non-greedily", i.e., it will find the shortest match before
>> point".
>
> It is greedy:
>
> (with-temp-buffer
>   (insert "xxxxyyyy")
>   (and (re-search-backward "x+y*" nil t)
>        (match-string 0))) ;=> "xyyyy"
>
> Non-greedy wouldn't match any "y"s.  It's a bit tricky to explain both
> correctly and clearly...

Yeah, my wording is bad. I think an example might be most clear. Maybe:

#+BEGIN_SRC elisp
  (with-temp-buffer
    (let ((re "x+y+"))
     (insert "xxxxyyyy")
     (goto-char (point-min))
     (re-search-forward re nil t)
     (match-string 0) => "xxxxyyyy"
     (goto-char (point-max))
     (re-search-backward re nil t)
     (match-string 0))) => "xyyyy"
#+END_SRC

Or if there's something more concise...





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  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:28     ` Drew Adams
  2 siblings, 1 reply; 17+ messages in thread
From: Michael Heerdegen @ 2018-05-24 22:47 UTC (permalink / raw
  To: Noam Postavsky; +Cc: Eric Abrahamsen, 31584

Noam Postavsky <npostavs@gmail.com> writes:

> The docstring should definitely be clarified, but technically it can
> still be answered, if you read very carefully:
>
>     (re-search-backward REGEXP &optional BOUND NOERROR COUNT)
>
>     Search backward from point for regular expression REGEXP.
>     This function is almost identical to ‘re-search-forward’, except that
>     by default it searches backward instead of forward, and the sign of
>     COUNT also indicates exactly the opposite searching direction.
>
>     (re-search-forward REGEXP &optional BOUND NOERROR COUNT)
>
>     [...]
>     With COUNT positive/negative, the match found is [...] located
>       entirely after/before the origin of the search.

You mean the sentence about the COUNT arg?  Yes, _very_ carefully.

> It is greedy:
>
> (with-temp-buffer
>   (insert "xxxxyyyy")
>   (and (re-search-backward "x+y*" nil t)
>        (match-string 0))) ;=> "xyyyy"
>
> Non-greedy wouldn't match any "y"s.  It's a bit tricky to explain both
> correctly and clearly...

Ok, good example.  You convinced me that the sentence we once had was
actually quite good.


Michael.





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-24 22:47     ` Michael Heerdegen
@ 2018-05-24 23:55       ` Noam Postavsky
  2018-05-25  0:22         ` Michael Heerdegen
  2018-05-25  6:23         ` Eli Zaretskii
  0 siblings, 2 replies; 17+ messages in thread
From: Noam Postavsky @ 2018-05-24 23:55 UTC (permalink / raw
  To: Michael Heerdegen; +Cc: Eric Abrahamsen, 31584

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

Michael Heerdegen <michael_heerdegen@web.de> writes:

>> (with-temp-buffer
>>   (insert "xxxxyyyy")
>>   (and (re-search-backward "x+y*" nil t)
>>        (match-string 0))) ;=> "xyyyy"
>>
>> Non-greedy wouldn't match any "y"s.  It's a bit tricky to explain both
>> correctly and clearly...
>
> Ok, good example.  You convinced me that the sentence we once had was
> actually quite good.

Actually, the manual has a pretty good explanation, maybe we can just
link to it:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 1984 bytes --]

From 8caeb0df40fc1cc34cd165d68238216198e01169 Mon Sep 17 00:00:00 2001
From: Noam Postavsky <npostavs@gmail.com>
Date: Thu, 24 May 2018 19:49:11 -0400
Subject: [PATCH v1] Note caveat for backward regexp searching in docstring
 (Bug#31584)

* src/search.c (Fre_search_backward): Emphasize that backwards
searches may give shorter than expected matches.
* doc/lispref/searching.texi (Regexp Search): Add an anchor for
re-search-backward to reference.
---
 doc/lispref/searching.texi | 2 ++
 src/search.c               | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index fca877117d..6c1ebb22b5 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1102,6 +1102,8 @@ Regexp Search
 @end example
 @end deffn
 
+@c This anchor is referenced by re-search-backward's docstring.
+@anchor{re-search-backward}
 @deffn Command re-search-backward regexp &optional limit noerror count
 This function searches backward in the current buffer for a string of
 text that is matched by the regular expression @var{regexp}, leaving
diff --git a/src/search.c b/src/search.c
index 842e9309a2..0600e1a4e3 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2233,8 +2233,11 @@ DEFUN ("re-search-backward", Fre_search_backward, Sre_search_backward, 1, 4,
 This function is almost identical to `re-search-forward', except that
 by default it searches backward instead of forward, and the sign of
 COUNT also indicates exactly the opposite searching direction.
+See `re-search-forward' for details.
 
-See `re-search-forward' for details.  */)
+Note that searching backwards may give a shorter match than expected,
+because the matching still happens in the forward direction.  See Info
+anchor `(elisp) re-search-backward' for details.  */)
   (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count)
 {
   return search_command (regexp, bound, noerror, count, -1, 1, 0);
-- 
2.11.0


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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-24 23:55       ` Noam Postavsky
@ 2018-05-25  0:22         ` Michael Heerdegen
  2018-05-25  0:31           ` Noam Postavsky
  2018-05-25  6:23         ` Eli Zaretskii
  1 sibling, 1 reply; 17+ messages in thread
From: Michael Heerdegen @ 2018-05-25  0:22 UTC (permalink / raw
  To: Noam Postavsky; +Cc: Eric Abrahamsen, 31584

Noam Postavsky <npostavs@gmail.com> writes:

> Actually, the manual has a pretty good explanation, maybe we can just
> link to it:

> -See `re-search-forward' for details.  */)
> +Note that searching backwards may give a shorter match than expected,
> +because the matching still happens in the forward direction.  See Info
> +anchor `(elisp) re-search-backward' for details.  */)
>    (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count)
>  {
>    return search_command (regexp, bound, noerror, count, -1, 1, 0);

Too bad that the anchor is located after the relevant description.

FWIW; I still prefer the original sentence, I find it describes the
behavior best, and short (which is good for a docstring).  It is also
good to have an alternative and more verbose explanation in the manual.


Michael.





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-24 22:14   ` Noam Postavsky
  2018-05-24 22:47     ` Eric Abrahamsen
  2018-05-24 22:47     ` Michael Heerdegen
@ 2018-05-25  0:28     ` Drew Adams
  2 siblings, 0 replies; 17+ messages in thread
From: Drew Adams @ 2018-05-25  0:28 UTC (permalink / raw
  To: Noam Postavsky, Eric Abrahamsen; +Cc: 31584

> It is greedy:
> (with-temp-buffer
>   (insert "xxxxyyyy")
>   (and (re-search-backward "x+y*" nil t) (match-string 0))) ;=> "xyyyy"
> 
> Non-greedy wouldn't match any "y"s.  It's a bit tricky to explain both
> correctly and clearly...

Maybe it would help to say that the pattern is always matched in a forward direction, even when it matches text that is before point.

The pattern itself is not read backward (you don't write +x*y
for the reverse search of x+y*), and it doesn't match backward.





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  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
  0 siblings, 2 replies; 17+ messages in thread
From: Noam Postavsky @ 2018-05-25  0:31 UTC (permalink / raw
  To: Michael Heerdegen; +Cc: Eric Abrahamsen, 31584

Michael Heerdegen <michael_heerdegen@web.de> writes:

>> +Note that searching backwards may give a shorter match than expected,
>> +because the matching still happens in the forward direction.  See Info
>> +anchor `(elisp) re-search-backward' for details.  */)

> Too bad that the anchor is located after the relevant description.

I don't understand what you mean.

> FWIW; I still prefer the original sentence, I find it describes the
> behavior best, and short (which is good for a docstring).  It is also
> good to have an alternative and more verbose explanation in the manual.

I find the original sentence kind of cryptic, but I'm okay to be
outvoted on this.






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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-25  0:31           ` Noam Postavsky
@ 2018-05-25  0:36             ` Eric Abrahamsen
  2018-05-25  1:10             ` Michael Heerdegen
  1 sibling, 0 replies; 17+ messages in thread
From: Eric Abrahamsen @ 2018-05-25  0:36 UTC (permalink / raw
  To: 31584

Noam Postavsky <npostavs@gmail.com> writes:

> Michael Heerdegen <michael_heerdegen@web.de> writes:
>
>>> +Note that searching backwards may give a shorter match than expected,
>>> +because the matching still happens in the forward direction.  See Info
>>> +anchor `(elisp) re-search-backward' for details.  */)
>
>> Too bad that the anchor is located after the relevant description.
>
> I don't understand what you mean.
>
>> FWIW; I still prefer the original sentence, I find it describes the
>> behavior best, and short (which is good for a docstring).  It is also
>> good to have an alternative and more verbose explanation in the manual.
>
> I find the original sentence kind of cryptic, but I'm okay to be
> outvoted on this.

I think Drew's statement that "the pattern is always matched in a
forward direction, even when it matches text that is before point" makes
a lot of sense. That's just a 2¢, though, that's all I've got for this
issue.






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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  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
  1 sibling, 1 reply; 17+ messages in thread
From: Michael Heerdegen @ 2018-05-25  1:10 UTC (permalink / raw
  To: Noam Postavsky; +Cc: Eric Abrahamsen, 31584

Noam Postavsky <npostavs@gmail.com> writes:

> > Too bad that the anchor is located after the relevant description.
>
> I don't understand what you mean.

The anchor is in this paragraph:

   Nonincremental search for a regexp is done with the commands
‘re-search-forward’ and ‘re-search-backward’. [...]

But I thought you wanted to refer to the description in the paragraph
before that, that is:

   Forward and backward regexp search are not symmetrical, because
regexp matching in Emacs always operates forward, starting with the
beginning of the regexp.  Thus, forward regexp search scans forward,
trying a forward match at each possible starting position.  Backward
regexp search scans backward, trying a forward match at each possible
starting position.  These search methods are not mirror images.

The problem is that most people will only read forward.  Did I miss
something?


> > FWIW; I still prefer the original sentence, I find it describes the
> > behavior best, and short (which is good for a docstring).  It is also
> > good to have an alternative and more verbose explanation in the manual.
>
> I find the original sentence kind of cryptic, but I'm okay to be
> outvoted on this.

So far, I'm outvoted.


Michael.





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-25  1:10             ` Michael Heerdegen
@ 2018-05-25  1:27               ` Noam Postavsky
  2018-05-25  1:48                 ` Michael Heerdegen
  0 siblings, 1 reply; 17+ messages in thread
From: Noam Postavsky @ 2018-05-25  1:27 UTC (permalink / raw
  To: Michael Heerdegen; +Cc: Eric Abrahamsen, 31584

Michael Heerdegen <michael_heerdegen@web.de> writes:

> The anchor is in this paragraph:
>
>    Nonincremental search for a regexp is done with the commands
> ‘re-search-forward’ and ‘re-search-backward’. [...]

Ah, no, the anchor (which I added as part of the patch) is in the elisp
manual, not the emacs manual.

 <<<<<ANCHOR IS HERE>>>>>>
 -- Command: re-search-backward regexp &optional limit noerror count
     This function searches backward in the current buffer for a string
     of text that is matched by the regular expression REGEXP, leaving
     point at the beginning of the first text found.

     This function is analogous to `re-search-forward', but they are not
     simple mirror images.  `re-search-forward' finds the match whose
     beginning is as close as possible to the starting point.  If
     `re-search-backward' were a perfect mirror image, it would find the
     match whose end is as close as possible.  However, in fact it
     finds the match whose beginning is as close as possible (and yet
     ends before the starting point).  The reason for this is that
     matching a regular expression at a given spot always works from
     beginning to end, and starts at a specified beginning position.





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-25  1:27               ` Noam Postavsky
@ 2018-05-25  1:48                 ` Michael Heerdegen
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Heerdegen @ 2018-05-25  1:48 UTC (permalink / raw
  To: Noam Postavsky; +Cc: Eric Abrahamsen, 31584

Noam Postavsky <npostavs@gmail.com> writes:

> Ah, no, the anchor (which I added as part of the patch) is in the elisp
> manual, not the emacs manual.
>
>  <<<<<ANCHOR IS HERE>>>>>>
>  -- Command: re-search-backward regexp &optional limit noerror count

Ah ok, thanks, then I don't have any objections.


Michael.





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-24 23:55       ` Noam Postavsky
  2018-05-25  0:22         ` Michael Heerdegen
@ 2018-05-25  6:23         ` Eli Zaretskii
  2018-05-25 11:59           ` Noam Postavsky
  1 sibling, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2018-05-25  6:23 UTC (permalink / raw
  To: Noam Postavsky; +Cc: michael_heerdegen, eric, 31584

> From: Noam Postavsky <npostavs@gmail.com>
> Date: Thu, 24 May 2018 19:55:18 -0400
> Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, 31584@debbugs.gnu.org
> 
> Actually, the manual has a pretty good explanation, maybe we can just
> link to it:

Yes, this LGTM.

Thanks, please push to the release branch.





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

* bug#31584: 27.0.50; Document again what match re-search-backward finds
  2018-05-25  6:23         ` Eli Zaretskii
@ 2018-05-25 11:59           ` Noam Postavsky
  0 siblings, 0 replies; 17+ messages in thread
From: Noam Postavsky @ 2018-05-25 11:59 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: michael_heerdegen, eric, 31584

tags 31584 fixed
close 31584 26.1
quit

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Noam Postavsky <npostavs@gmail.com>
>> Date: Thu, 24 May 2018 19:55:18 -0400
>> Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, 31584@debbugs.gnu.org
>> 
>> Actually, the manual has a pretty good explanation, maybe we can just
>> link to it:
>
> Yes, this LGTM.
>
> Thanks, please push to the release branch.

Done (with a slight tweak to the docstring phrasing)

[1: 2f44d2d5b1]: 2018-05-25 07:54:30 -0400
  Note caveat for backward regexp searching in docstring (Bug#31584)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2f44d2d5b15008fde44a56ca24f0c3b6b9e63faf





^ 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.