unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: "B. T. Raven" <btraven@nihilo.net>, help-gnu-emacs@gnu.org
Subject: RE: Searching for spaces
Date: Tue, 13 May 2014 13:31:15 -0700 (PDT)	[thread overview]
Message-ID: <a51e6200-41ff-477c-b09f-743f3499154f@default> (raw)
In-Reply-To: <lktt5j01niu@news6.newsguy.com>

> >> C-x-(, C-s-<space>-<space>-<space>-<space>-<space>
> >>
> >> The above would locate each instance of 5 consecutive spaces.
> >> This is no longer the case.  How can I get the old behavior back?
> >
> > M-x customize-option isearch-lax-whitespace
> > M-x customize-option isearch-regexp-lax-whitespace
> 
> Drew: Are these built in? I don't find them on 24.3 w64

Yes, in isearch.el, for Emacs 24.3.  But I was wrong about them
being user options.  They are defvars, so you could use defvar
or setq to change their values.

But it is generally better to use command
`isearch-toggle-lax-whitespace', which is bound to `M-s SPC' during
Isearch.  

You can, however, set those variables in your init file the way you
want them to be at the outset.

(And you can customize option `search-whitespace-regexp'.)



  reply	other threads:[~2014-05-13 20:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12 19:17 Searching for spaces Gary Hodges (NOAA Affiliate)
2014-05-12 19:29 ` Drew Adams
     [not found] ` <mailman.1160.1399922981.1147.help-gnu-emacs@gnu.org>
2014-05-13 19:52   ` B. T. Raven
2014-05-13 20:31     ` Drew Adams [this message]
2014-05-14  0:20       ` Robert Thorpe
2014-05-28 22:37         ` Gary Hodges (NOAA Affiliate)
     [not found] <mailman.1157.1399922318.1147.help-gnu-emacs@gnu.org>
2014-05-13 19:36 ` B. T. Raven
     [not found] <mailman.1276.1400027133.1147.help-gnu-emacs@gnu.org>
2014-05-16 17:37 ` B. T. Raven
2014-05-16 21:38   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=a51e6200-41ff-477c-b09f-743f3499154f@default \
    --to=drew.adams@oracle.com \
    --cc=btraven@nihilo.net \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).