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#22043: 25.0.50; search-forward and char folding Date: Mon, 30 Nov 2015 09:54:07 +0000 Message-ID: References: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114069d4a9101f0525bf0538 X-Trace: ger.gmane.org 1448877320 3869 80.91.229.3 (30 Nov 2015 09:55:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2015 09:55:20 +0000 (UTC) Cc: 22043@debbugs.gnu.org, Mike Kupfer To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 30 10:55:12 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 1a3LAu-0005jT-D6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Nov 2015 10:55:12 +0100 Original-Received: from localhost ([::1]:39866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3LAt-0003MX-Ku for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Nov 2015 04:55:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3LAp-0003Kt-3m for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2015 04:55:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3LAk-0008Lx-VR for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2015 04:55:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3LAk-0008Lj-N3 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2015 04:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a3LAk-0000Ja-9q for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2015 04:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2015 09:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22043 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22043-submit@debbugs.gnu.org id=B22043.14488772511135 (code B ref 22043); Mon, 30 Nov 2015 09:55:02 +0000 Original-Received: (at 22043) by debbugs.gnu.org; 30 Nov 2015 09:54:11 +0000 Original-Received: from localhost ([127.0.0.1]:60100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3L9u-0000IF-El for submit@debbugs.gnu.org; Mon, 30 Nov 2015 04:54:10 -0500 Original-Received: from mail-lf0-f41.google.com ([209.85.215.41]:36150) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3L9s-0000I4-L4 for 22043@debbugs.gnu.org; Mon, 30 Nov 2015 04:54:09 -0500 Original-Received: by lfs39 with SMTP id 39so186812678lfs.3 for <22043@debbugs.gnu.org>; Mon, 30 Nov 2015 01:54:07 -0800 (PST) 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=tu29Isjnt+aCbSWUeQuN7H1TGjZytlP0IXpzGcVepeA=; b=G/igb/C7eby9tw/Ss+AME57rfROA64PJwmnJzExbyzLCAxWdS8+HrMyh8otIt6KQ+q 0K0PGDGDFmDAMVoN2bp42vvMVbhup5dcB+sG5qKbFnnEHOyEVjkJp8+tug+2ovBqAUdK mhg6wSBJFz6RPp2qnSM4+Y89tDpKD9KQkB5peSreDmHdOUdzoSZ/oY9aNDDz4L7vns5f L6ru811U2lOQM6AE3nDMCsftGhC12f8IOJQjlkgpSORgnBYInDDu7EFZx39g7MYSmWKz sdXvsujOoa7vwhjbB7pUSbGUHRfT10KcbPsrJZwhaZu7gfPnwLb7piBy5JNVaH5lIJgA oqMw== X-Received: by 10.25.19.69 with SMTP id j66mr25129061lfi.25.1448877247497; Mon, 30 Nov 2015 01:54:07 -0800 (PST) Original-Received: by 10.112.202.99 with HTTP; Mon, 30 Nov 2015 01:54:07 -0800 (PST) Original-Received: by 10.112.202.99 with HTTP; Mon, 30 Nov 2015 01:54:07 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: E74g7Q0G3XnYiXWu3jm12D0Ismg 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: 208.118.235.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:109436 Archived-At: --001a114069d4a9101f0525bf0538 Content-Type: text/plain; charset=UTF-8 On 29 Nov 2015 8:41 pm, "Drew Adams" wrote: > Perhaps, to be more precise, the difference is search that > does or does not accept general regexp patterns as _input_. > Those that do have "regexp" (or "-re-"?) in their name; > those that do not do not have it. The former do not > support char folding; the latter do. Is that correct (and > complete)? > > I guess I was mistaken in thinking that non-incremental > search commands, such as `nonincremental-search-forward', > do not support char folding (regardless of whether they > include "-re" in their name). Which ones support it, and > under what circumstances? All of the nonincremental-*search-* support folding (except those that use regexp). In general, you're correct that most non-regexp searches do char folding. But that's most, not all. A plain `search-forward' doesn't do folding (by choice). So we can't just document that "all non regexp searches do folding". --001a114069d4a9101f0525bf0538 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 29 Nov 2015 8:41 pm, "Drew Adams" <drew.adams@oracle.com> wrote:
> Perhaps, to be more precise, the difference is search that
> does or does not accept general regexp patterns as _input_.
> Those that do have "regexp" (or "-re-"?) in their = name;
> those that do not do not have it.=C2=A0 The former do not
> support char folding; the latter do.=C2=A0 Is that correct (and
> complete)?
>
> I guess I was mistaken in thinking that non-incremental
> search commands, such as `nonincremental-search-forward',
> do not support char folding (regardless of whether they
> include "-re" in their name).=C2=A0 Which ones support it, a= nd
> under what circumstances?

All of the nonincremental-*search-* support folding (except = those that use regexp).

In general, you're correct that most non-regexp searches= do char folding. But that's most, not all. A plain `search-forward'= ; doesn't do folding (by choice). So we can't just document that &q= uot;all non regexp searches do folding".

--001a114069d4a9101f0525bf0538--