GNU bug report logs - #17901
24.4.50; Doc Fix in "(emacs) Regexp Search"

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Wed, 2 Jul 2014 17:27:02 UTC

Severity: minor

Tags: fixed

Found in version 24.4.50

Fixed in version 24.4

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17901 in the body.
You can then email your comments to 17901 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17901; Package emacs. (Wed, 02 Jul 2014 17:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dani Moncayo <dmoncayo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 02 Jul 2014 17:27:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: 24.4.50; Doc Fix in "(emacs) Regexp Search"
Date: Wed, 2 Jul 2014 19:26:46 +0200
In info node "(emacs) Regexp Search", I've found this paragraph:

     Just as in ordinary incremental search, any <SPC> typed in
  incremental regexp search matches any sequence of one or more whitespace
  characters.  The variable ‘search-whitespace-regexp’ specifies the
  regexp for the lax space matching, and ‘M-s <SPC>’
  (‘isearch-toggle-lax-whitespace’) toggles the feature.  *Note Special
  Isearch::.

I think that this paragraph would need some rewording, because the
variable 'isearch-regexp-lax-whitespace' is nil by default (unlike
'isearch-lax-whitespace', which is t by default).

In GNU Emacs 24.4.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 of 2014-06-24 on LEG570
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description: Ubuntu 14.04 LTS

-- 
Dani Moncayo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17901; Package emacs. (Thu, 03 Jul 2014 00:22:04 GMT) Full text and rfc822 format available.

Message #8 received at 17901 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 17901 <at> debbugs.gnu.org
Subject: Re: bug#17901: 24.4.50; Doc Fix in "(emacs) Regexp Search"
Date: Thu, 03 Jul 2014 02:35:30 +0300
> In info node "(emacs) Regexp Search", I've found this paragraph:
>
>      Just as in ordinary incremental search, any <SPC> typed in
>   incremental regexp search matches any sequence of one or more whitespace
>   characters.  The variable ‘search-whitespace-regexp’ specifies the
>   regexp for the lax space matching, and ‘M-s <SPC>’
>   (‘isearch-toggle-lax-whitespace’) toggles the feature.  *Note Special
>   Isearch::.
>
> I think that this paragraph would need some rewording, because the
> variable 'isearch-regexp-lax-whitespace' is nil by default (unlike
> 'isearch-lax-whitespace', which is t by default).

Thanks, the doc could be improved as follows:

=== modified file 'doc/emacs/search.texi'
--- doc/emacs/search.texi	2014-04-29 14:45:24 +0000
+++ doc/emacs/search.texi	2014-07-02 23:34:54 +0000
@@ -602,12 +602,13 @@ (@code{isearch-backward-regexp}), @kbd{C
 They also have separate search rings, which you can access with
 @kbd{M-p} and @kbd{M-n}.
 
-  Just as in ordinary incremental search, any @key{SPC} typed in
-incremental regexp search matches any sequence of one or more
-whitespace characters.  The variable @code{search-whitespace-regexp}
-specifies the regexp for the lax space matching, and @kbd{M-s @key{SPC}}
-(@code{isearch-toggle-lax-whitespace}) toggles the feature.
-@xref{Special Isearch}.
+  Unlike ordinary incremental search, incremental regexp search
+do not use lax space matching by default.  To toggle this feature
+use @kbd{M-s @key{SPC}} (@code{isearch-toggle-lax-whitespace}).
+Then any @key{SPC} typed in incremental regexp search will match
+any sequence of one or more whitespace characters.  The variable
+@code{search-whitespace-regexp} specifies the regexp for the lax
+space matching.  @xref{Special Isearch}.
 
   In some cases, adding characters to the regexp in an incremental
 regexp search can make the cursor move back and start again.  For





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17901; Package emacs. (Thu, 03 Jul 2014 06:29:02 GMT) Full text and rfc822 format available.

Message #11 received at 17901 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 17901 <at> debbugs.gnu.org
Subject: Re: bug#17901: 24.4.50; Doc Fix in "(emacs) Regexp Search"
Date: Thu, 3 Jul 2014 08:28:15 +0200
> Thanks, the doc could be improved as follows:

Your patch looks fine to me.  Thank you.

-- 
Dani Moncayo




Added tag(s) fixed. Request was from Juri Linkov <juri <at> jurta.org> to control <at> debbugs.gnu.org. (Thu, 03 Jul 2014 23:59:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.4, send any further explanations to 17901 <at> debbugs.gnu.org and Dani Moncayo <dmoncayo <at> gmail.com> Request was from Juri Linkov <juri <at> jurta.org> to control <at> debbugs.gnu.org. (Thu, 03 Jul 2014 23:59:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 Aug 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 282 days ago.

Previous Next


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