all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17901: 24.4.50; Doc Fix in "(emacs) Regexp Search"
@ 2014-07-02 17:26 Dani Moncayo
  2014-07-02 23:35 ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: Dani Moncayo @ 2014-07-02 17:26 UTC (permalink / raw)
  To: 17901

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





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

* bug#17901: 24.4.50; Doc Fix in "(emacs) Regexp Search"
  2014-07-02 17:26 bug#17901: 24.4.50; Doc Fix in "(emacs) Regexp Search" Dani Moncayo
@ 2014-07-02 23:35 ` Juri Linkov
  2014-07-03  6:28   ` Dani Moncayo
  0 siblings, 1 reply; 3+ messages in thread
From: Juri Linkov @ 2014-07-02 23:35 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 17901

> 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






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

* bug#17901: 24.4.50; Doc Fix in "(emacs) Regexp Search"
  2014-07-02 23:35 ` Juri Linkov
@ 2014-07-03  6:28   ` Dani Moncayo
  0 siblings, 0 replies; 3+ messages in thread
From: Dani Moncayo @ 2014-07-03  6:28 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 17901

> Thanks, the doc could be improved as follows:

Your patch looks fine to me.  Thank you.

-- 
Dani Moncayo





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

end of thread, other threads:[~2014-07-03  6:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-02 17:26 bug#17901: 24.4.50; Doc Fix in "(emacs) Regexp Search" Dani Moncayo
2014-07-02 23:35 ` Juri Linkov
2014-07-03  6:28   ` Dani Moncayo

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.