all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: rms@gnu.org, Drew Adams <drew.adams@oracle.com>
Cc: 22494@debbugs.gnu.org, mbork@mbork.pl, jidanni@jidanni.org
Subject: bug#22494: still can't search for two spaces
Date: Sun, 31 Jan 2016 13:29:26 -0800 (PST)	[thread overview]
Message-ID: <6281db1e-d974-4cdc-b111-3e9097ae89db@default> (raw)
In-Reply-To: <<E1aPyeg-0003QJ-B5@fencepost.gnu.org>>

>   > It's not a clear indication that the user wants to return to
>   > lax whitespace matching.  What if s?he deleted the second SPC
>   > and typed a TAB or other whitespace char?  Or typed a SPC char
>   > again?  Would you toggle back again?
> 
> Don't think if it as "toggling" but rather as heeding what is in
> the search string.

Heeding what is in the search string means nothing - or anything.

What is in the search string is a search pattern.  How it is
interpreted is the question.  Literal matching of whitespace
chars is one such interpretation.

I've already agreed that more than one whitespace char in
a row is a reasonable indication that the user wants/expects
whitespace chars to be matched literally.

Why?  Because with lax whitespace matching there is never any
reason to type multiple, contiguous whitespace chars - it
serves no purpose.

(But see also what I wrote about pasting copied text that
might contain multiple, contiguous whitespace chars.)

What is not obvious is whether whitespace search should be
changed away from literal matching just because there are
not (no longer) multiple such chars in a row in the search
pattern.  That was the subject of the text you quoted.





       reply	other threads:[~2016-01-31 21:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<<87h9hvshi3.fsf@jidanni.org>
     [not found] ` <<<E1aPdiw-0001yi-W4@fencepost.gnu.org>
     [not found]   ` <<54a07b7d-1fbd-4ed1-a8a0-e22eb5787c97@default>
     [not found]     ` <<871t8yit11.fsf@mbork.pl>
     [not found]       ` <<77b5b6df-4889-4142-a04d-526dd94c3a48@default>
     [not found]         ` <<E1aPyeg-0003QJ-B5@fencepost.gnu.org>
2016-01-31 21:29           ` Drew Adams [this message]
2016-02-01 11:01             ` bug#22494: still can't search for two spaces Richard Stallman
2016-02-01 11:20               ` Andreas Schwab
2016-02-01 14:15                 ` Dani Moncayo
2016-02-03  6:45             ` John Wiegley
2016-02-03 14:57               ` Drew Adams
2016-02-03 18:56                 ` John Wiegley
2016-02-03 19:08                   ` Drew Adams
2016-02-03 15:28               ` Eli Zaretskii
2016-02-03 15:44               ` Nicolas Richard
     [not found] <<87h9hvshi3.fsf@jidanni.org>
     [not found] ` <<8337tfy0p3.fsf@gnu.org>
     [not found]   ` <<E1aPdiw-0001yi-W4@fencepost.gnu.org>
2016-01-30 22:28     ` Drew Adams
2016-01-30 22:47       ` Marcin Borkowski
2016-01-31  0:02         ` Drew Adams
2016-01-31 20:31           ` Richard Stallman
2016-01-31  0:08       ` Juri Linkov
2016-01-30  6:34 積丹尼 Dan Jacobson
2016-01-30  7:40 ` Eli Zaretskii
2016-01-30 22:10   ` Richard Stallman
2016-01-31  5:39     ` John Wiegley
2016-01-31 16:08       ` Drew Adams
2016-02-01  0:13 ` 積丹尼 Dan Jacobson
2016-02-01  1:57   ` Drew Adams
2016-02-01  3:10 ` 積丹尼 Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6281db1e-d974-4cdc-b111-3e9097ae89db@default \
    --to=drew.adams@oracle.com \
    --cc=22494@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=mbork@mbork.pl \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.