all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: emacs-25 3e9ac80: Yet another doc improvement for search commands
       [not found] ` <E1a3SId-00085l-Mj@vcs.savannah.gnu.org>
@ 2015-11-30 19:58   ` Artur Malabarba
  2015-11-30 20:48     ` [Emacs-diffs] " Eli Zaretskii
       [not found]     ` <<83oaebkybx.fsf@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Artur Malabarba @ 2015-11-30 19:58 UTC (permalink / raw)
  To: emacs-devel, Eli Zaretskii; +Cc: emacs-diffs

2015-11-30 17:31 GMT+00:00 Eli Zaretskii <eliz@gnu.org>:
> +  The word search commands cannot
> +support lax whitespace matching (@pxref{Lax Search}).

Really? I could have sworn they can.

Maybe we should fix this then. Because word-isearch does support
lax-whitespace AFAIR.


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

* Re: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands
  2015-11-30 19:58   ` emacs-25 3e9ac80: Yet another doc improvement for search commands Artur Malabarba
@ 2015-11-30 20:48     ` Eli Zaretskii
  2015-12-01 10:36       ` Artur Malabarba
       [not found]     ` <<83oaebkybx.fsf@gnu.org>
  1 sibling, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2015-11-30 20:48 UTC (permalink / raw)
  To: bruce.connor.am; +Cc: emacs-diffs, emacs-devel

> Date: Mon, 30 Nov 2015 19:58:52 +0000
> From: Artur Malabarba <bruce.connor.am@gmail.com>
> Cc: emacs-diffs@gnu.org
> 
> 2015-11-30 17:31 GMT+00:00 Eli Zaretskii <eliz@gnu.org>:
> > +  The word search commands cannot
> > +support lax whitespace matching (@pxref{Lax Search}).
> 
> Really? I could have sworn they can.
> 
> Maybe we should fix this then. Because word-isearch does support
> lax-whitespace AFAIR.

I tried.  Maybe I made a mistake.  Can you show an example where it
does?



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

* RE: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands
       [not found]     ` <<83oaebkybx.fsf@gnu.org>
@ 2015-11-30 21:47       ` Drew Adams
  0 siblings, 0 replies; 9+ messages in thread
From: Drew Adams @ 2015-11-30 21:47 UTC (permalink / raw)
  To: Eli Zaretskii, bruce.connor.am; +Cc: emacs-diffs, emacs-devel

> > > +  The word search commands cannot
> > > +support lax whitespace matching (@pxref{Lax Search}).
> >
> > Really? I could have sworn they can.
> >
> > Maybe we should fix this then. Because word-isearch does support
> > lax-whitespace AFAIR.
> 
> I tried.  Maybe I made a mistake.  Can you show an example where it
> does?

Check the doc, to see what behavior to expect. ;-) (just kidding)



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

* Re: emacs-25 3e9ac80: Yet another doc improvement for search commands
  2015-11-30 20:48     ` [Emacs-diffs] " Eli Zaretskii
@ 2015-12-01 10:36       ` Artur Malabarba
  2015-12-01 15:37         ` [Emacs-diffs] " Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Artur Malabarba @ 2015-12-01 10:36 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-diffs, emacs-devel

2015-11-30 20:48 GMT+00:00 Eli Zaretskii <eliz@gnu.org>:
>> Really? I could have sworn they can.
> I tried.  Maybe I made a mistake.  Can you show an example where it
> does?

I wasn't sure earlier, but yes, they do.

Just type "a    b" in a buffer and do `word-search-forward' for "a b".


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

* Re: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands
  2015-12-01 10:36       ` Artur Malabarba
@ 2015-12-01 15:37         ` Eli Zaretskii
  2015-12-01 18:05           ` Artur Malabarba
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2015-12-01 15:37 UTC (permalink / raw)
  To: bruce.connor.am; +Cc: emacs-devel

> Date: Tue, 1 Dec 2015 10:36:59 +0000
> From: Artur Malabarba <bruce.connor.am@gmail.com>
> Cc: emacs-devel <emacs-devel@gnu.org>, emacs-diffs@gnu.org
> 
> >> Really? I could have sworn they can.
> > I tried.  Maybe I made a mistake.  Can you show an example where it
> > does?
> 
> I wasn't sure earlier, but yes, they do.
> 
> Just type "a    b" in a buffer and do `word-search-forward' for "a b".

That's not because of lax-space matching, IIUC.  That's because word
search ignores any non-word characters between words.

What I meant is this:

  C-s M-s w a b M-s SPC

After you type the "M-s SPC" toggle, Emacs says "[match spaces
literally]", but "a   b" etc. are still highlighted as matches.

Maybe we should add a note that, although lax-whitespace matching is
not supported with word search, it is also not needed, because spaces
between words are ignored anyway?



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

* Re: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands
  2015-12-01 15:37         ` [Emacs-diffs] " Eli Zaretskii
@ 2015-12-01 18:05           ` Artur Malabarba
  2015-12-01 19:30             ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Artur Malabarba @ 2015-12-01 18:05 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

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

On 1 Dec 2015 3:37 pm, "Eli Zaretskii" <eliz@gnu.org> wrote:
> Maybe we should add a note that, although lax-whitespace matching is
> not supported with word search, it is also not needed, because spaces
> between words are ignored anyway?

Yes. We shouldn't say it can't do lax-whitespace, cause the reality is that
it can't NOT do lax-whitespace.

We can either say nothing, or say something like:
The word search commands don't perform character folding and are not
affected by lax whitespace matching (since they ignore the spaces between
words anyway, @pxref{Lax Search}).

[-- Attachment #2: Type: text/html, Size: 719 bytes --]

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

* Re: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands
  2015-12-01 18:05           ` Artur Malabarba
@ 2015-12-01 19:30             ` Eli Zaretskii
  2015-12-01 20:04               ` Artur Malabarba
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2015-12-01 19:30 UTC (permalink / raw)
  To: bruce.connor.am; +Cc: emacs-devel

> Date: Tue, 1 Dec 2015 18:05:54 +0000
> From: Artur Malabarba <bruce.connor.am@gmail.com>
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> On 1 Dec 2015 3:37 pm, "Eli Zaretskii" <eliz@gnu.org> wrote:
> > Maybe we should add a note that, although lax-whitespace matching is
> > not supported with word search, it is also not needed, because spaces
> > between words are ignored anyway?
> 
> Yes. We shouldn't say it can't do lax-whitespace, cause the reality is that it
> can't NOT do lax-whitespace. 
> 
> We can either say nothing, or say something like:
> The word search commands don't perform character folding and are not affected
> by lax whitespace matching (since they ignore the spaces between words anyway,
> @pxref{Lax Search}).

I said instead that lax-whitespace matching has no effect on these
commands.



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

* Re: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands
  2015-12-01 19:30             ` Eli Zaretskii
@ 2015-12-01 20:04               ` Artur Malabarba
  2015-12-01 21:06                 ` Drew Adams
  0 siblings, 1 reply; 9+ messages in thread
From: Artur Malabarba @ 2015-12-01 20:04 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

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

Sounds good.

[-- Attachment #2: Type: text/html, Size: 31 bytes --]

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

* RE: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands
  2015-12-01 20:04               ` Artur Malabarba
@ 2015-12-01 21:06                 ` Drew Adams
  0 siblings, 0 replies; 9+ messages in thread
From: Drew Adams @ 2015-12-01 21:06 UTC (permalink / raw)
  To: bruce.connor.am, Eli Zaretskii; +Cc: emacs-devel

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

FWIW, this is a message that doesn't mean a whole lot to me. 

No idea what sounds good.  But I'm glad something does. ;-)

 

From: Artur Malabarba [mailto:bruce.connor.am@gmail.com] 
Sent: Tuesday, December 01, 2015 12:04 PM
To: Eli Zaretskii
Cc: emacs-devel
Subject: Re: [Emacs-diffs] emacs-25 3e9ac80: Yet another doc improvement for search commands

 

Sounds good. 

[-- Attachment #2: Type: text/html, Size: 3128 bytes --]

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

end of thread, other threads:[~2015-12-01 21:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20151130173139.31071.34723@vcs.savannah.gnu.org>
     [not found] ` <E1a3SId-00085l-Mj@vcs.savannah.gnu.org>
2015-11-30 19:58   ` emacs-25 3e9ac80: Yet another doc improvement for search commands Artur Malabarba
2015-11-30 20:48     ` [Emacs-diffs] " Eli Zaretskii
2015-12-01 10:36       ` Artur Malabarba
2015-12-01 15:37         ` [Emacs-diffs] " Eli Zaretskii
2015-12-01 18:05           ` Artur Malabarba
2015-12-01 19:30             ` Eli Zaretskii
2015-12-01 20:04               ` Artur Malabarba
2015-12-01 21:06                 ` Drew Adams
     [not found]     ` <<83oaebkybx.fsf@gnu.org>
2015-11-30 21:47       ` 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.