From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.bugs Subject: bug#22043: 25.0.50; search-forward and char folding Date: Sat, 28 Nov 2015 14:11:42 -0800 Message-ID: <15605.1448748702@allegro.localdomain> 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 1448748802 31829 80.91.229.3 (28 Nov 2015 22:13:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2015 22:13:22 +0000 (UTC) To: 22043@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 28 23:13:07 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 1a2nju-0003hW-C9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Nov 2015 23:13:06 +0100 Original-Received: from localhost ([::1]:33965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2njx-0005ry-Oe for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Nov 2015 17:13:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2nju-0005rs-Cp for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 17:13:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2njq-0002Kb-7c for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 17:13:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2njq-0002KV-44 for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 17:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a2njp-0001uo-Nx for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 17:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kupfer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Nov 2015 22:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22043 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14487487347304 (code B ref -1); Sat, 28 Nov 2015 22:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Nov 2015 22:12:14 +0000 Original-Received: from localhost ([127.0.0.1]:58490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2nj3-0001tj-EJ for submit@debbugs.gnu.org; Sat, 28 Nov 2015 17:12:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44676) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2nii-0001t1-7F for submit@debbugs.gnu.org; Sat, 28 Nov 2015 17:12:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2nig-0002FM-Qr for submit@debbugs.gnu.org; Sat, 28 Nov 2015 17:11:51 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2nig-0002FI-Np for submit@debbugs.gnu.org; Sat, 28 Nov 2015 17:11:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2nif-0005Yg-HK for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 17:11:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2nib-0002Eu-8F for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 17:11:49 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:57951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2nia-0002Eo-WB for bug-gnu-emacs@gnu.org; Sat, 28 Nov 2015 17:11:45 -0500 Original-Received: from allegro.localdomain (m208-249.dsl.rawbw.com [198.144.208.249]) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTP id tASMBfj3071735 for ; Sat, 28 Nov 2015 14:11:42 -0800 (PST) (envelope-from m.kupfer@acm.org) X-Authentication-Warning: shell1.rawbw.com: Host m208-249.dsl.rawbw.com [198.144.208.249] claimed to be allegro.localdomain X-Mailer: MH-E 8.6+mdk01; nmh 1.6; GNU Emacs 24.5.2 X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:109391 Archived-At: (Resending because I had some odd mailer behavior when I first tried to send this.) The "Lax Search" Info node says Searches in Emacs by default perform character folding But I don't see search-forward or search-backward doing that. For example, in the scratch buffer of "emacs -Q" if I do =C3=A4 C-p M-x search-forward RET a RET Emacs complains that the search failed. (If it matters, the "=C3=A4" was input using the 3-key sequence COMPOSE " a .) 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. Also, assuming that this is a bug in the code, the doc strings for search-forward and search-backward should mention search-default-regexp-mode, just like they mention case-fold-search. In GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bar= s) of 2015-11-28 Repository revision: ea087151a901da36dd9ddc0843583906afafc7c5 Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.2 (jessie) Configured using: 'configure --prefix=3D/usr/new' Configured features: XPM JPEG TIFF GIF PNG SOUND NOTIFY LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LC_TIME: C value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: delete-selection-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t transient-mark-mode: t Recent messages: Loading vc...done For information about GNU Emacs and the GNU system, type M-H C-a. Deleting...done (No files need saving) Deleting...done Creating customization items... Creating customization items ...done Resetting customization items...done Creating customization setup...done Mark saved where search started Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils misearch multi-isearch crm thingatpt cus-edit cus-start cus-load wid-edit dired-x seq byte-opt gv bytecomp byte-compile cconv cl-extra help-mode warnings server noutline outline easy-mmode comint ansi-color ring xcscope easymenu advice ispell delsel vc cl-loaddefs pcase cl-lib vc-dispatcher dired timeclock mdk-hacks time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 135420 7234) (symbols 48 24675 0) (miscs 40 479 429) (strings 32 27659 5728) (string-bytes 1 732934) (vectors 16 14940) (vector-slots 8 461430 6321) (floats 8 189 22) (intervals 56 392 11) (buffers 976 16) (heap 1024 44618 759))