all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Artur Malabarba <bruce.connor.am@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Combining (and obsoleting) isearch-regexp and isearch-word into a new var
Date: Thu, 30 Jul 2015 01:22:57 +0300	[thread overview]
Message-ID: <87r3nqli2m.fsf@mail.linkov.net> (raw)
In-Reply-To: <CAAdUY-KzJdaRtxbGHNsMF1rSfX05D7+QjNZt-K-BEkd3XSGedg@mail.gmail.com> (Artur Malabarba's message of "Wed, 29 Jul 2015 00:48:16 +0100")

> All of these 4 functionalities are mutually exclusive, so it makes
> sense for them to be implemented as different values of a single
> variable in a consisten manner (all functions).

I welcome your changes since I had the same thoughts about ‘isearch-word’
overgrowing its initial purpose of word-searching only.

> I'd like to propose that the `isearch-word' variable be aliased to
> `isearch-special' (or something like this), and that its use as a
> boolean also be obsoleted.

A better name would be ‘isearch-regexp-based’ that will support all
regexp-based search modes including word, symbol, lax-whitespace,
char-folding, etc.

> Then also obsolete `isearch-regexp', which is just a special case of
> `isearch-special'.

I'd rather leave ‘isearch-regexp’ alone since the normal regexp search
needs special input processing (‘isearch-fallback’, etc.)



      reply	other threads:[~2015-07-29 22:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28 23:48 Combining (and obsoleting) isearch-regexp and isearch-word into a new var Artur Malabarba
2015-07-29 22:22 ` Juri Linkov [this message]

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=87r3nqli2m.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=bruce.connor.am@gmail.com \
    --cc=emacs-devel@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.