From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#20351: isearch-lax-whitespace should be customizable variable Date: Tue, 30 Jun 2015 00:10:06 +0100 Message-ID: References: <87d20eyw78.fsf@mail.linkov.net> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11346db0c77a590519b030e2 X-Trace: ger.gmane.org 1435619487 29353 80.91.229.3 (29 Jun 2015 23:11:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2015 23:11:27 +0000 (UTC) Cc: 20351@debbugs.gnu.org, Ken T Takusagawa To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 30 01:11:17 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Z9iCp-0003gK-C0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jun 2015 01:11:15 +0200 Original-Received: from localhost ([::1]:44345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9iCo-0008WI-AW for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jun 2015 19:11:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9iCk-0008W6-7V for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 19:11:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9iCd-0002t3-B1 for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 19:11:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9iCd-0002sv-74 for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 19:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z9iCc-0005b5-LK for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 19:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jun 2015 23:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20351 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20351-submit@debbugs.gnu.org id=B20351.143561941821461 (code B ref 20351); Mon, 29 Jun 2015 23:11:02 +0000 Original-Received: (at 20351) by debbugs.gnu.org; 29 Jun 2015 23:10:18 +0000 Original-Received: from localhost ([127.0.0.1]:33417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9iBs-0005a4-9U for submit@debbugs.gnu.org; Mon, 29 Jun 2015 19:10:17 -0400 Original-Received: from mail-la0-f47.google.com ([209.85.215.47]:32982) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9iBo-0005Zp-LX for 20351@debbugs.gnu.org; Mon, 29 Jun 2015 19:10:14 -0400 Original-Received: by laar3 with SMTP id r3so81319328laa.0 for <20351@debbugs.gnu.org>; Mon, 29 Jun 2015 16:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Ibj1GiUHp0LwfB+X2BAaT04Wze3W2zYK21FJMCzTVoI=; b=dj+UYBCPTYdL2bqoQbHBS7xpPm7fTVAWTypd95mazCJDAyH3LcLXB1lK9RgxdjLfqe uKOPyjrp8NppUr5BLGJ2G11817IOHQENSlpwmEYB3XrUgstgzRMVLb86HtRRUL7B8qDr dI4L+lgVxjbiGbzBTdAUrVkMWo15/EowIYp7sliZDFvPezZcbFoIaB1RB4MMNXec9izM iq+d4uSdYKZQAbiuDiaxBVY76IgJyFLbcIjwXa8ahj4Zt8gUaUu6zIh0ezjAvGN2o5un +B5lx4LGozJgsdADsQxJ/NVMJQ0f/Q15qenBKX6aIDIhpF6+dYaeIgyQGAk+gPvyaNBy AELA== X-Received: by 10.112.222.133 with SMTP id qm5mr16593173lbc.86.1435619406869; Mon, 29 Jun 2015 16:10:06 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Mon, 29 Jun 2015 16:10:06 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Mon, 29 Jun 2015 16:10:06 -0700 (PDT) In-Reply-To: <87d20eyw78.fsf@mail.linkov.net> X-Google-Sender-Auth: 24xgZ93qdVPoe4o0U_Ac4LCAjH4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104515 Archived-At: --001a11346db0c77a590519b030e2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Jun 29, 2015 11:30 PM, "Juri Linkov" wrote: > > > M-x customize-variable > > does NOT list isearch-lax-whitespace as a customizable variable > > I believe [...] =E2=80=98character-fold-search=E2=80=99 > should be customizable. As long as people understand the implementation is still subject to change, and that variable's existence isn't assured. > (defcustom isearch-keep-mode-variables nil > "A set of search variables to keep between different searches. > When a search variable is customized to exist in this set, then > starting a new search doesn't reset the corresponding isearch variable > to its default value, thus keeping the value from the previous search > \(changed using toggling commands)." > :type '(set (const :tag "Case folding" isearch-case-fold-search) > (const :tag "Character folding" character-fold-search) > (const :tag "Invisible text" isearch-invisible) > (const :tag "Filters" isearch-filter-predicate) > (const :tag "Lax whitespace" isearch-lax-whitespace) > (const :tag "Regexp lax whitespace" isearch-regexp-lax-whitespace)) > :group 'isearch) Though this is not strictly in conflict with turning the individual variables into defcustoms, I think it's a bit in ideological conflict, and we should probably pick one of the two. --001a11346db0c77a590519b030e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Jun 29, 2015 11:30 PM, "Juri Linkov" <juri@linkov.net> wrote:
>
> > M-x customize-variable
> > does NOT list isearch-lax-whitespace as a customizable variable >
> I believe [...] =E2=80=98character-fold-search=E2=80=99
> should be customizable.=C2=A0

As long as people understand the implementation is still sub= ject to change, and that variable's existence isn't assured.

> (defcustom isearch-keep-mode-variables nil
> =C2=A0 "A set of search variables to keep between different searc= hes.
> When a search variable is customized to exist in this set, then
> starting a new search doesn't reset the corresponding isearch vari= able
> to its default value, thus keeping the value from the previous search<= br> > \(changed using toggling commands)."
> =C2=A0 :type '(set (const :tag "Case folding" isearch-ca= se-fold-search)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (const :tag "Cha= racter folding" character-fold-search)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (const :tag "Inv= isible text" isearch-invisible)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (const :tag "Fil= ters" isearch-filter-predicate)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (const :tag "Lax= whitespace" isearch-lax-whitespace)
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (const :tag "Reg= exp lax whitespace" isearch-regexp-lax-whitespace))
> =C2=A0 :group 'isearch)

Though this is not strictly in conflict with turning the ind= ividual variables into defcustoms, I think it's a bit in ideological co= nflict, and we should probably pick one of the two.

--001a11346db0c77a590519b030e2--