From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Combining (and obsoleting) isearch-regexp and isearch-word into a new var Date: Thu, 30 Jul 2015 01:22:57 +0300 Organization: LINKOV.NET Message-ID: <87r3nqli2m.fsf@mail.linkov.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1438209388 31750 80.91.229.3 (29 Jul 2015 22:36:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2015 22:36:28 +0000 (UTC) Cc: emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 30 00:36:19 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZKZxS-0002jb-12 for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2015 00:36:18 +0200 Original-Received: from localhost ([::1]:37224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKZxQ-0002JX-P6 for ged-emacs-devel@m.gmane.org; Wed, 29 Jul 2015 18:36:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKZxA-0002JE-0a for emacs-devel@gnu.org; Wed, 29 Jul 2015 18:36:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKZx6-0008Ke-1Q for emacs-devel@gnu.org; Wed, 29 Jul 2015 18:35:59 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:51276 helo=homiemail-a13.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKZx5-0008HL-Rj for emacs-devel@gnu.org; Wed, 29 Jul 2015 18:35:55 -0400 Original-Received: from homiemail-a13.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTP id 09C5733406F; Wed, 29 Jul 2015 15:35:53 -0700 (PDT) Original-Received: from localhost.linkov.net (unknown [213.102.32.174]) (Authenticated sender: jurta@jurta.org) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id 0FC1F33406C; Wed, 29 Jul 2015 15:35:51 -0700 (PDT) In-Reply-To: (Artur Malabarba's message of "Wed, 29 Jul 2015 00:48:16 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.253.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188177 Archived-At: > 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 =E2=80=98isear= ch-word=E2=80=99 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 =E2=80=98isearch-regexp-based=E2=80=99 that will s= upport 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 =E2=80=98isearch-regexp=E2=80=99 alone since the normal = regexp search needs special input processing (=E2=80=98isearch-fallback=E2=80=99, etc.)