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: Sat, 28 Nov 2015 23:57:16 +0000 Message-ID: References: <15605.1448748702@allegro.localdomain> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fbf385403450525a29170 X-Trace: ger.gmane.org 1448755099 21207 80.91.229.3 (28 Nov 2015 23:58:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2015 23:58:19 +0000 (UTC) Cc: 22043@debbugs.gnu.org To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 29 00:58:09 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 1a2pNY-0007UC-7Z for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2015 00:58:08 +0100 Original-Received: from localhost ([::1]:34405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2pNb-0002or-Qo for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Nov 2015 18:58:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2pNX-0002oZ-MW for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 18:58:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2pNS-0007tU-Oa for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 18:58:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2pNS-0007tL-Kn for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 18:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a2pNS-0004Nd-D9 for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 18:58: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: Sat, 28 Nov 2015 23:58: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.144875505816807 (code B ref 22043); Sat, 28 Nov 2015 23:58:02 +0000 Original-Received: (at 22043) by debbugs.gnu.org; 28 Nov 2015 23:57:38 +0000 Original-Received: from localhost ([127.0.0.1]:58576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2pN3-0004Mz-Lb for submit@debbugs.gnu.org; Sat, 28 Nov 2015 18:57:38 -0500 Original-Received: from mail-lf0-f52.google.com ([209.85.215.52]:33716) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2pMj-0004Ma-IU for 22043@debbugs.gnu.org; Sat, 28 Nov 2015 18:57:36 -0500 Original-Received: by lfaz4 with SMTP id z4so160822144lfa.0 for <22043@debbugs.gnu.org>; Sat, 28 Nov 2015 15:57:16 -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=GA6FoQzDA0T21J450CnKnKdarMbDs1V7BVKe7dSZ/gs=; b=xaSW1YIq+9e+lFOQzpt8Q7LdDZs6Df60aw/K+2GPWjbgmKAA2TTVa2jLIdT1hKNF5X kZv+7WxYKUqLy6qRwIjqss858QwY6kej0ab/0x/nA2GpGjsRv/jAPR63eHBwvypGvhtQ BwVzZtJu88rmFYiHFT/x4haNV2ze8LmvOAJHwN7HpC3drwT18V0NVBk2KYoOJ6qQ5jd5 KH8Z0TlF5loM1ssbO11Y5uII587cgmCjlIalc7lHX9YuhZiPB22d7xpbXDISdiOhsp79 /jK1MOpQopo31zltmgez29J6y5TEtcm8LsF6/fId6tLkfPYxfqrBME0BpQws4aJwzJFi oMAQ== X-Received: by 10.25.20.217 with SMTP id 86mr22004597lfu.164.1448755036681; Sat, 28 Nov 2015 15:57:16 -0800 (PST) Original-Received: by 10.112.202.99 with HTTP; Sat, 28 Nov 2015 15:57:16 -0800 (PST) Original-Received: by 10.112.202.99 with HTTP; Sat, 28 Nov 2015 15:57:16 -0800 (PST) In-Reply-To: <15605.1448748702@allegro.localdomain> X-Google-Sender-Auth: UOxjJzWF5IRu4OmBnkPdjNbw8OQ 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:109395 Archived-At: --001a113fbf385403450525a29170 Content-Type: text/plain; charset=UTF-8 On 28 Nov 2015 10:11 pm, "Mike Kupfer" wrote: > > I suspect that this is a bug in the code. If not, the Info text should > be more precise about what searches perform character folding by > default. I think it's a bug in the info doc. Something as basic as search-forward shouldn't do char folding by default. Char folding can be quite slow, and search-forward must be suitable for programmatic use. I want to make some of the higher level search commands respect search-default-regexp-function (such as the searches you start from the menu bar). But search-forward won't be one of them. --001a113fbf385403450525a29170 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 28 Nov 2015 10:11 pm, "Mike Kupfer" <m.kupfer@acm.org> wrote:
>
> I suspect that this is a bug in the code.=C2=A0 If not, the Info text = should
> be more precise about what searches perform character folding by
> default.

I think it's a bug in the info doc. Something as basic a= s search-forward shouldn't do char folding by default. Char folding can= be quite slow, and search-forward must be suitable for programmatic use. <= /p>

I want to make some of the higher level search commands resp= ect search-default-regexp-function (such as the searches you start from the= menu bar). But search-forward won't be one of them.

--001a113fbf385403450525a29170--