From unknown Sat Jun 21 10:30:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22589 <22589@debbugs.gnu.org> To: bug#22589 <22589@debbugs.gnu.org> Subject: Status: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. Reply-To: bug#22589 <22589@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:30:59 +0000 retitle 22589 25.0.90; First match found by isearch-forward-symbol is not n= ecessarily a symbol. reassign 22589 emacs submitter 22589 Bastian Beischer severity 22589 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 17:41:44 2016 Received: (at submit) by debbugs.gnu.org; 7 Feb 2016 22:41:44 +0000 Received: from localhost ([127.0.0.1]:37682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSY1X-0005Va-Fs for submit@debbugs.gnu.org; Sun, 07 Feb 2016 17:41:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59707) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSW9g-0007sC-Oy for submit@debbugs.gnu.org; Sun, 07 Feb 2016 15:42:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSW9Y-0000VU-Rd for submit@debbugs.gnu.org; Sun, 07 Feb 2016 15:41:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSW9Y-0000VO-Oh for submit@debbugs.gnu.org; Sun, 07 Feb 2016 15:41:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSW9V-0007lT-St for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 15:41:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSW9S-0000UG-JG for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 15:41:49 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:38470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSW9S-0000UA-41 for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 15:41:46 -0500 Received: by mail-wm0-x22e.google.com with SMTP id p63so91827985wmp.1 for ; Sun, 07 Feb 2016 12:41:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=v7m1hmvN2+D051dEPMOUWkNxjgScQQ2JYuikf1u6Eoo=; b=NcD8ztAJCNziGm0GWqdJvBUTp0v3kNR4BQdLTK75EgKAMNJb+TW/95ogslzXE8c0fe 60Uzt1kolKHiOJcOxzRIHAzpm97LgVNJVycHEm60wzVjPC/goDfoQ0vRrblD5+8pZgId 4T9Z1AH3LWgB6Ve9NKsvX6zO4WzFkNbloiV5YRNViqCP4Mc4D5vCK58KgY1EVe44me9S vsrAUfU/0ZZXtyEzIt3nTDkViPVnlmfhhW8pse8p+ovOb2QD16u2j2kdjgUZbx9pLbeQ 7927nruMka5DUPQTJQZxH9jYAL0rZ6w9xhat0LP6hxMS7felFeD7FHExKUboc7ji1M6p KxpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=v7m1hmvN2+D051dEPMOUWkNxjgScQQ2JYuikf1u6Eoo=; b=M+mslO2Kx5s/ZmCktH0QiMz24aXmQ01p7vRwLqwxXdnPvo6o6mOFvtvA5+wRRMiWh6 hFq9kbRGNv6cvfHRljymO3MD60Zn5KYfJHUIMZOc8ROtszZZVSy8hCOLiOgchKvSC8hj r4JRfgv46850OVpCfZAFbySD/6dXhdk/cCqcbyPV6z7ix6n1JWVIRkrsRmKLXPBFo1U1 s3UP1QFc9QJ9gXCzLx1PgYyALgY+U0o9dW5uNBlWHm48pf+2Vazq/FmwJVH0fnFTUeMh D4O4l914o/uNKNVGzEzZwDNE0uoCgDHK4/LDZSABpGFEcb6+tCj9RMMugMIAjIDAZqEa dloQ== X-Gm-Message-State: AG10YOQ0xHpSqDuUkCTyDqVEaHn/prdyySsqUckMzQ/bjnwsMdvU3A2QV0oV9tcXQgVsKw== X-Received: by 10.28.111.10 with SMTP id k10mr38155097wmc.86.1454877705180; Sun, 07 Feb 2016 12:41:45 -0800 (PST) Received: from bastian-desktop.gmail.com (b2b-130-180-23-226.unitymedia.biz. [130.180.23.226]) by smtp.gmail.com with ESMTPSA id r10sm26303353wjz.24.2016.02.07.12.41.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Feb 2016 12:41:43 -0800 (PST) From: Bastian Beischer To: bug-gnu-emacs@gnu.org Subject: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. Date: Sun, 07 Feb 2016 21:41:34 +0100 Message-ID: <87zivc45j5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 07 Feb 2016 17:41:42 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Instructions to reproduce: 1) emacs -Q 2) open a new file called "test.c" 3) enter this text: int main() { int i = 0; return 0; } 4) go to the beginning of the buffer 5) hit M-s _ and search for the symbol "i" ---> The very first character in "int main" is highlighted as a match even though the first match should be "i" in "int i =0". In GNU Emacs 25.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.7) of 2016-02-07 built on bastian-desktop Repository revision: 67fcd5addcd91169f79dc5d51d0a71eb2b486aed Windowing system distributor 'The X.Org Foundation', version 11.0.11800000 Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --pdfdir=/usr/share/doc/emacs/pdf --with-sound=alsa --without-gconf --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: C++/l Minor modes in effect: whitespace-mode: t subword-mode: t ggtags-mode: t function-args-mode: t projectile-global-mode: t projectile-mode: t yas-global-mode: t yas-minor-mode: t window-numbering-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t flx-ido-mode: t ido-everywhere: t global-srecode-minor-mode: t srecode-minor-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t semantic-idle-scheduler-mode: t semantic-decoration-mode: t global-semantic-decoration-mode: t semantic-highlight-func-mode: t global-semantic-highlight-func-mode: t semantic-stickyfunc-mode: t global-semantic-stickyfunc-mode: t semantic-show-parser-state-mode: t global-semantic-show-parser-state-mode: t semantic-mode: t global-ede-mode: t ede-minor-mode: t shell-dirtrack-mode: t show-paren-mode: t global-hi-lock-mode: t hi-lock-mode: t tooltip-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 font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t hs-minor-mode: t Recent messages: [yas] Loading for `c++-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /home/beischer/.emacs.d/snippets/c++-mode) (quote c++-mode)))! [yas] Loading snippet files from /home/beischer/.emacs.d/snippets/c++-mode [yas] Loading for `cc-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /home/beischer/.emacs.d/elpa/yasnippet-20160131.948/snippets/cc-mode) (quote cc-mode)))! [yas] Loading snippet files from /home/beischer/.emacs.d/elpa/yasnippet-20160131.948/snippets/cc-mode [yas] Loading for `cc-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /home/beischer/.emacs.d/snippets/cc-mode) (quote cc-mode)))! [yas] Loading snippet files from /home/beischer/.emacs.d/snippets/cc-mode Mark saved where search started [4 times] Quit Mark saved where search started C-c C-c is undefined Load-path shadows: /home/beischer/.emacs.d/elpa/helm-20160207.525/helm-multi-match hides /home/beischer/.emacs.d/elpa/helm-core-20160203.219/helm-multi-match /home/beischer/.emacs.d/elpa/ivy-20150331.36/ivy hides /home/beischer/.emacs.d/elpa/swiper-20160207.229/ivy /home/beischer/.emacs.d/elpa/cmake-mode-20151012.726/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs/site-lisp/various/buff-menu hides /usr/share/emacs/25.0.90/lisp/buff-menu /home/beischer/.emacs.d/elpa/org-20160201/ob-gnuplot hides /usr/share/emacs/25.0.90/lisp/org/ob-gnuplot /home/beischer/.emacs.d/elpa/org-20160201/ob-scala hides /usr/share/emacs/25.0.90/lisp/org/ob-scala /home/beischer/.emacs.d/elpa/org-20160201/org-id hides /usr/share/emacs/25.0.90/lisp/org/org-id /home/beischer/.emacs.d/elpa/org-20160201/ob-ruby hides /usr/share/emacs/25.0.90/lisp/org/ob-ruby /home/beischer/.emacs.d/elpa/org-20160201/ob-io hides /usr/share/emacs/25.0.90/lisp/org/ob-io /home/beischer/.emacs.d/elpa/org-20160201/ob-scheme hides /usr/share/emacs/25.0.90/lisp/org/ob-scheme /home/beischer/.emacs.d/elpa/org-20160201/ob-awk hides /usr/share/emacs/25.0.90/lisp/org/ob-awk /home/beischer/.emacs.d/elpa/org-20160201/org-feed hides /usr/share/emacs/25.0.90/lisp/org/org-feed /home/beischer/.emacs.d/elpa/org-20160201/org-src hides /usr/share/emacs/25.0.90/lisp/org/org-src /home/beischer/.emacs.d/elpa/org-20160201/ob-fortran hides /usr/share/emacs/25.0.90/lisp/org/ob-fortran /home/beischer/.emacs.d/elpa/org-20160201/org-element hides /usr/share/emacs/25.0.90/lisp/org/org-element /home/beischer/.emacs.d/elpa/org-20160201/ox-html hides /usr/share/emacs/25.0.90/lisp/org/ox-html /home/beischer/.emacs.d/elpa/org-20160201/org-capture hides /usr/share/emacs/25.0.90/lisp/org/org-capture /home/beischer/.emacs.d/elpa/org-20160201/ob-keys hides /usr/share/emacs/25.0.90/lisp/org/ob-keys /home/beischer/.emacs.d/elpa/org-20160201/org-w3m hides /usr/share/emacs/25.0.90/lisp/org/org-w3m /home/beischer/.emacs.d/elpa/org-20160201/org-ctags hides /usr/share/emacs/25.0.90/lisp/org/org-ctags /home/beischer/.emacs.d/elpa/org-20160201/org-bibtex hides /usr/share/emacs/25.0.90/lisp/org/org-bibtex /home/beischer/.emacs.d/elpa/org-20160201/ob-exp hides /usr/share/emacs/25.0.90/lisp/org/ob-exp /home/beischer/.emacs.d/elpa/org-20160201/ob-eval hides /usr/share/emacs/25.0.90/lisp/org/ob-eval /home/beischer/.emacs.d/elpa/org-20160201/ob-ledger hides /usr/share/emacs/25.0.90/lisp/org/ob-ledger /home/beischer/.emacs.d/elpa/org-20160201/ob-sass hides /usr/share/emacs/25.0.90/lisp/org/ob-sass /home/beischer/.emacs.d/elpa/org-20160201/org-table hides /usr/share/emacs/25.0.90/lisp/org/org-table /home/beischer/.emacs.d/elpa/org-20160201/org-mhe hides /usr/share/emacs/25.0.90/lisp/org/org-mhe /home/beischer/.emacs.d/elpa/org-20160201/ob-perl hides /usr/share/emacs/25.0.90/lisp/org/ob-perl /home/beischer/.emacs.d/elpa/org-20160201/org-rmail hides /usr/share/emacs/25.0.90/lisp/org/org-rmail /home/beischer/.emacs.d/elpa/org-20160201/ox-icalendar hides /usr/share/emacs/25.0.90/lisp/org/ox-icalendar /home/beischer/.emacs.d/elpa/org-20160201/org-macro hides /usr/share/emacs/25.0.90/lisp/org/org-macro /home/beischer/.emacs.d/elpa/org-20160201/org-docview hides /usr/share/emacs/25.0.90/lisp/org/org-docview /home/beischer/.emacs.d/elpa/org-20160201/org-bbdb hides /usr/share/emacs/25.0.90/lisp/org/org-bbdb /home/beischer/.emacs.d/elpa/org-20160201/org-footnote hides /usr/share/emacs/25.0.90/lisp/org/org-footnote /home/beischer/.emacs.d/elpa/org-20160201/ob-picolisp hides /usr/share/emacs/25.0.90/lisp/org/ob-picolisp /home/beischer/.emacs.d/elpa/org-20160201/org-attach hides /usr/share/emacs/25.0.90/lisp/org/org-attach /home/beischer/.emacs.d/elpa/org-20160201/ox-latex hides /usr/share/emacs/25.0.90/lisp/org/ox-latex /home/beischer/.emacs.d/elpa/org-20160201/org-protocol hides /usr/share/emacs/25.0.90/lisp/org/org-protocol /home/beischer/.emacs.d/elpa/org-20160201/ob-screen hides /usr/share/emacs/25.0.90/lisp/org/ob-screen /home/beischer/.emacs.d/elpa/org-20160201/org-inlinetask hides /usr/share/emacs/25.0.90/lisp/org/org-inlinetask /home/beischer/.emacs.d/elpa/org-20160201/org-loaddefs hides /usr/share/emacs/25.0.90/lisp/org/org-loaddefs /home/beischer/.emacs.d/elpa/org-20160201/org-datetree hides /usr/share/emacs/25.0.90/lisp/org/org-datetree /home/beischer/.emacs.d/elpa/org-20160201/ob-sql hides /usr/share/emacs/25.0.90/lisp/org/ob-sql /home/beischer/.emacs.d/elpa/org-20160201/ob hides /usr/share/emacs/25.0.90/lisp/org/ob /home/beischer/.emacs.d/elpa/org-20160201/org-mobile hides /usr/share/emacs/25.0.90/lisp/org/org-mobile /home/beischer/.emacs.d/elpa/org-20160201/ox-odt hides /usr/share/emacs/25.0.90/lisp/org/ox-odt /home/beischer/.emacs.d/elpa/org-20160201/org-pcomplete hides /usr/share/emacs/25.0.90/lisp/org/org-pcomplete /home/beischer/.emacs.d/elpa/org-20160201/ob-makefile hides /usr/share/emacs/25.0.90/lisp/org/ob-makefile /home/beischer/.emacs.d/elpa/org-20160201/ob-matlab hides /usr/share/emacs/25.0.90/lisp/org/ob-matlab /home/beischer/.emacs.d/elpa/org-20160201/ob-ocaml hides /usr/share/emacs/25.0.90/lisp/org/ob-ocaml /home/beischer/.emacs.d/elpa/org-20160201/ob-java hides /usr/share/emacs/25.0.90/lisp/org/ob-java /home/beischer/.emacs.d/elpa/org-20160201/org-compat hides /usr/share/emacs/25.0.90/lisp/org/org-compat /home/beischer/.emacs.d/elpa/org-20160201/org-crypt hides /usr/share/emacs/25.0.90/lisp/org/org-crypt /home/beischer/.emacs.d/elpa/org-20160201/ox-texinfo hides /usr/share/emacs/25.0.90/lisp/org/ox-texinfo /home/beischer/.emacs.d/elpa/org-20160201/ox-man hides /usr/share/emacs/25.0.90/lisp/org/ox-man /home/beischer/.emacs.d/elpa/org-20160201/ob-tangle hides /usr/share/emacs/25.0.90/lisp/org/ob-tangle /home/beischer/.emacs.d/elpa/org-20160201/ob-dot hides /usr/share/emacs/25.0.90/lisp/org/ob-dot /home/beischer/.emacs.d/elpa/org-20160201/ob-ref hides /usr/share/emacs/25.0.90/lisp/org/ob-ref /home/beischer/.emacs.d/elpa/org-20160201/org-entities hides /usr/share/emacs/25.0.90/lisp/org/org-entities /home/beischer/.emacs.d/elpa/org-20160201/ob-ditaa hides /usr/share/emacs/25.0.90/lisp/org/ob-ditaa /home/beischer/.emacs.d/elpa/org-20160201/org-gnus hides /usr/share/emacs/25.0.90/lisp/org/org-gnus /home/beischer/.emacs.d/elpa/org-20160201/org-indent hides /usr/share/emacs/25.0.90/lisp/org/org-indent /home/beischer/.emacs.d/elpa/org-20160201/ob-R hides /usr/share/emacs/25.0.90/lisp/org/ob-R /home/beischer/.emacs.d/elpa/org-20160201/ob-lilypond hides /usr/share/emacs/25.0.90/lisp/org/ob-lilypond /home/beischer/.emacs.d/elpa/org-20160201/ob-css hides /usr/share/emacs/25.0.90/lisp/org/ob-css /home/beischer/.emacs.d/elpa/org-20160201/ob-mscgen hides /usr/share/emacs/25.0.90/lisp/org/ob-mscgen /home/beischer/.emacs.d/elpa/org-20160201/ox-md hides /usr/share/emacs/25.0.90/lisp/org/ox-md /home/beischer/.emacs.d/elpa/org-20160201/org-mouse hides /usr/share/emacs/25.0.90/lisp/org/org-mouse /home/beischer/.emacs.d/elpa/org-20160201/org-install hides /usr/share/emacs/25.0.90/lisp/org/org-install /home/beischer/.emacs.d/elpa/org-20160201/ob-table hides /usr/share/emacs/25.0.90/lisp/org/ob-table /home/beischer/.emacs.d/elpa/org-20160201/ob-latex hides /usr/share/emacs/25.0.90/lisp/org/ob-latex /home/beischer/.emacs.d/elpa/org-20160201/ob-python hides /usr/share/emacs/25.0.90/lisp/org/ob-python /home/beischer/.emacs.d/elpa/org-20160201/ob-js hides /usr/share/emacs/25.0.90/lisp/org/ob-js /home/beischer/.emacs.d/elpa/org-20160201/org-faces hides /usr/share/emacs/25.0.90/lisp/org/org-faces /home/beischer/.emacs.d/elpa/org-20160201/ob-lob hides /usr/share/emacs/25.0.90/lisp/org/ob-lob /home/beischer/.emacs.d/elpa/org-20160201/ob-plantuml hides /usr/share/emacs/25.0.90/lisp/org/ob-plantuml /home/beischer/.emacs.d/elpa/org-20160201/ob-sqlite hides /usr/share/emacs/25.0.90/lisp/org/ob-sqlite /home/beischer/.emacs.d/elpa/org-20160201/ob-octave hides /usr/share/emacs/25.0.90/lisp/org/ob-octave /home/beischer/.emacs.d/elpa/org-20160201/org-archive hides /usr/share/emacs/25.0.90/lisp/org/org-archive /home/beischer/.emacs.d/elpa/org-20160201/ob-lisp hides /usr/share/emacs/25.0.90/lisp/org/ob-lisp /home/beischer/.emacs.d/elpa/org-20160201/ob-C hides /usr/share/emacs/25.0.90/lisp/org/ob-C /home/beischer/.emacs.d/elpa/org-20160201/org-agenda hides /usr/share/emacs/25.0.90/lisp/org/org-agenda /home/beischer/.emacs.d/elpa/org-20160201/org-list hides /usr/share/emacs/25.0.90/lisp/org/org-list /home/beischer/.emacs.d/elpa/org-20160201/org-irc hides /usr/share/emacs/25.0.90/lisp/org/org-irc /home/beischer/.emacs.d/elpa/org-20160201/ob-haskell hides /usr/share/emacs/25.0.90/lisp/org/ob-haskell /home/beischer/.emacs.d/elpa/org-20160201/org-timer hides /usr/share/emacs/25.0.90/lisp/org/org-timer /home/beischer/.emacs.d/elpa/org-20160201/org-plot hides /usr/share/emacs/25.0.90/lisp/org/org-plot /home/beischer/.emacs.d/elpa/org-20160201/org-habit hides /usr/share/emacs/25.0.90/lisp/org/org-habit /home/beischer/.emacs.d/elpa/org-20160201/ob-core hides /usr/share/emacs/25.0.90/lisp/org/ob-core /home/beischer/.emacs.d/elpa/org-20160201/ob-comint hides /usr/share/emacs/25.0.90/lisp/org/ob-comint /home/beischer/.emacs.d/elpa/org-20160201/ox-beamer hides /usr/share/emacs/25.0.90/lisp/org/ox-beamer /home/beischer/.emacs.d/elpa/org-20160201/org-colview hides /usr/share/emacs/25.0.90/lisp/org/org-colview /home/beischer/.emacs.d/elpa/org-20160201/ob-shen hides /usr/share/emacs/25.0.90/lisp/org/ob-shen /home/beischer/.emacs.d/elpa/org-20160201/org-macs hides /usr/share/emacs/25.0.90/lisp/org/org-macs /home/beischer/.emacs.d/elpa/org-20160201/ox-publish hides /usr/share/emacs/25.0.90/lisp/org/ox-publish /home/beischer/.emacs.d/elpa/org-20160201/ox-ascii hides /usr/share/emacs/25.0.90/lisp/org/ox-ascii /home/beischer/.emacs.d/elpa/org-20160201/ob-calc hides /usr/share/emacs/25.0.90/lisp/org/ob-calc /home/beischer/.emacs.d/elpa/org-20160201/org-eshell hides /usr/share/emacs/25.0.90/lisp/org/org-eshell /home/beischer/.emacs.d/elpa/org-20160201/ob-asymptote hides /usr/share/emacs/25.0.90/lisp/org/ob-asymptote /home/beischer/.emacs.d/elpa/org-20160201/org-clock hides /usr/share/emacs/25.0.90/lisp/org/org-clock /home/beischer/.emacs.d/elpa/org-20160201/ob-emacs-lisp hides /usr/share/emacs/25.0.90/lisp/org/ob-emacs-lisp /home/beischer/.emacs.d/elpa/org-20160201/ob-clojure hides /usr/share/emacs/25.0.90/lisp/org/ob-clojure /home/beischer/.emacs.d/elpa/org-20160201/org hides /usr/share/emacs/25.0.90/lisp/org/org /home/beischer/.emacs.d/elpa/org-20160201/ob-org hides /usr/share/emacs/25.0.90/lisp/org/ob-org /home/beischer/.emacs.d/elpa/org-20160201/ox hides /usr/share/emacs/25.0.90/lisp/org/ox /home/beischer/.emacs.d/elpa/org-20160201/org-info hides /usr/share/emacs/25.0.90/lisp/org/org-info /home/beischer/.emacs.d/elpa/org-20160201/ox-org hides /usr/share/emacs/25.0.90/lisp/org/ox-org /home/beischer/.emacs.d/elpa/org-20160201/ob-maxima hides /usr/share/emacs/25.0.90/lisp/org/ob-maxima /home/beischer/.emacs.d/elpa/org-20160201/org-version hides /usr/share/emacs/25.0.90/lisp/org/org-version /home/beischer/.emacs.d/elpa/emms-20160207.420/tq hides /usr/share/emacs/25.0.90/lisp/emacs-lisp/tq Features: (shadow mail-extr emacsbug sendmail semantic/tag-file whitespace cap-words superword subword ggtags ewoc semantic/db-file data-debug cedet-files function-args semantic-directory semantic/ia character-fold misearch multi-isearch jka-compr company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company-edbi edbi sql view jedi jedi-core python-environment epc ctable concurrent deferred auto-complete popup cmake-project gist gh-gist gh-oauth gh-api logito gh-cache pcache gh-auth gh-common gh-url eieio-compat url-http tls gnutls url-auth url-gw gh-profile json map timezone emms-librefm-stream xml emms-librefm-scrobbler emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-mode-line-icon emms-player-xine emms-info-ogginfo emms-player-vlc emms-player-mplayer emms-player-mpd tq emms-tag-editor emms-mark emms-info-mp3info emms-mode-line emms-info-metaflac emms-cue emms-playing-time emms-streams emms-browser sort emms-playlist-sort emms-playlist-mode emms-source-playlist emms-last-played emms-cache emms-info later-do emms-lyrics emms-url emms-source-file locate emms-player-simple emms-setup emms emms-compat org-install tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap xml-parse doxymacs projectile ibuf-ext ibuffer dropdown-list yasnippet cl my-term term disp-table ehelp f s etags-table etags xref project cmake-mode thingatpt rx qt-pro pastebin window-numbering company magit-topgit magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode derived magit-git crm magit-section magit-utils git-commit recentf tree-widget log-edit easy-mmode message idna rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async tramp-sh server dash hide-lines buff-menu+ hideshow flx-ido flx ido seq dired-x dired srecode/mode semantic/senator semantic/wisent semantic/wisent/wisent srecode/insert srecode/filters srecode/args srecode/find srecode/map srecode/ctxt srecode/compile srecode/dictionary srecode/table semantic/db-mode srecode semantic/bovine/c hideif semantic/bovine/c-by semantic/lex-spp semantic/idle semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/ctxt semantic/format semantic/decorate/include semantic/db-find semantic/db-ref semantic/db semantic/decorate/mode semantic/tag-ls semantic/find semantic/decorate pulse semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func ede/speedbar ede/files ede ede/detect ede/base ede/auto ede/source eieio-base eieio-speedbar speedbar sb-image ezimage dframe eieio-custom wid-edit cedet cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs flymake finder-inf ack-and-a-half-autoloads tex-site dropdown-list-autoloads etags-table-autoloads helm-git-autoloads helm-git-grep-autoloads jira-autoloads logito-autoloads pastebin-autoloads pymacs-autoloads pysmell-autoloads syslog-mode-autoloads info package epg-config vc-cvs tramp tramp-compat auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv gnus-util mm-util help-fns help-mode easymenu mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice edmacro kmacro cl-loaddefs pcase cl-lib emacs-x-theme paren grep compile comint ansi-color ring linum hi-lock cus-start cus-load 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 671947 27404) (symbols 48 53448 2) (miscs 40 246 548) (strings 32 146657 25021) (string-bytes 1 4093934) (vectors 16 78402) (vector-slots 8 1403481 16512) (floats 8 1680 128) (intervals 56 2241 6432) (buffers 976 16) (heap 1024 61004 6597)) From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 19:38:33 2016 Received: (at 22589) by debbugs.gnu.org; 8 Feb 2016 00:38:33 +0000 Received: from localhost ([127.0.0.1]:37754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSZqb-0008Kc-6l for submit@debbugs.gnu.org; Sun, 07 Feb 2016 19:38:33 -0500 Received: from mail-lf0-f47.google.com ([209.85.215.47]:35788) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSZOb-0007Zf-MN for 22589@debbugs.gnu.org; Sun, 07 Feb 2016 19:09:38 -0500 Received: by mail-lf0-f47.google.com with SMTP id l143so86289830lfe.2 for <22589@debbugs.gnu.org>; Sun, 07 Feb 2016 16:09:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=imWBubr4z8uzzksFW1B/h1X9IZc3YxOHKmZmgSxXrcY=; b=rXdK2S0QS8gl7yUTo1qSujSArOrc1idta2Qlq9uv/+PuZERUaw4QJsPaayseyDE0zf k4wDnmDaKuZWFW9/RonYpo8n68Y23/UQvvw/GcAZBEV7PQEphh2TW6vZEcBjZ6ZU6DBw pZ/7HVGpbAfXTaeohhoeKffjMRQQzja6/SO1t8c1yCX8vVP1rGT1navj/t0mMvX4sCjJ dpc/x8uesONE7szMkNHyTQJOmu1yZ55gsrzKAPnNcyQjUyGJdX4tuRnrZRvzs1GV6YVH 1+OU4JdqD0B+CsY9yifohY7Le5hlqAvziPFKSHjLw21rFHXaPT48oLuDnZyeGd4m/rxx 1J3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=imWBubr4z8uzzksFW1B/h1X9IZc3YxOHKmZmgSxXrcY=; b=JxP3YZST0rBUcUm++Mxbl/ZEaFwXJdpx5cjqoKC50eYu0eDpfmACl/AmjKDKFtXR/Z JiUFzlQh9q6oi1m7pAmzQ3ugV5KdfaFD0SRoh6NqEOMbAQT7TX+RTC1ceeRyokeCPSY2 2npClWSgiTPsSR9Wtj/j8xC68HCMA0ej6mGY5gPtuiK5mby3+q2KrwC7xBM6EewycgNZ gMdPB/kpLeHoHJofpZ4OdMx421zQAONbp7sa7tfzue4ifSGlgCpQiVg4LuL8hv5w5cZG TL7jobyId6GF2mG9FAJmyRA+ide/wArqdeWJVY2HpIGGTYDh6vjbegP8BVBU2SMm/6+E 94Kg== X-Gm-Message-State: AG10YOTIp+ctcYmVh/8QtMNDF1VWDJQOPVzR8vMJ118KMGgVCt22+Z66Mma1zeJJ6EJAS7RMiQ1N6ND1WPkq9g== MIME-Version: 1.0 X-Received: by 10.25.89.73 with SMTP id n70mr10390418lfb.40.1454890171606; Sun, 07 Feb 2016 16:09:31 -0800 (PST) Received: by 10.25.205.81 with HTTP; Sun, 7 Feb 2016 16:09:31 -0800 (PST) Date: Mon, 8 Feb 2016 01:09:31 +0100 X-Google-Sender-Auth: O186XKMXhkxYbTBCoU_Z3gujx0Y Message-ID: Subject: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. From: Bastian Beischer To: 22589@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a114127aaddac2e052b37032b X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22589 X-Mailman-Approved-At: Sun, 07 Feb 2016 19:38:31 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a114127aaddac2e052b37032b Content-Type: text/plain; charset=UTF-8 The same bug also exists in isearch-forward-word. -- Bastian Beischer RWTH Aachen University of Technology @RWTH Aachen Office: 28 C 203 Phone: +49-241-80-27205 E-mail: beischer@physik.rwth-aachen.de Address: I. Physikalisches Institut B, Sommerfeldstr. 14, D-52074 Aachen @CERN Office: Bdg 32-4-B12 Phone: +41-22-76-75750 E-mail: bastian.beischer@cern.ch Address: CERN, CH-1211 Geneve 23 --001a114127aaddac2e052b37032b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The same bug also exists in isearch-forward-word.

--
Bastian Beisc= her
RWTH Aachen University of Technology

@RWTH Aachen
Office: = 28 C 203
Phone: +49-241-80-27205
E-mail: beischer@physik.rwth-aachen.de<= br>Address: I. Physikalisches Institut B, Sommerfeldstr. 14, D-52074 Aachen=

@CERN
Office: Bdg 32-4-B12
Phone: +41-22-76-75750
E-mail: = bastian.beisc= her@cern.ch
Address: CERN, CH-1211 Geneve 23
--001a114127aaddac2e052b37032b-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 07 20:35:07 2016 Received: (at 22589) by debbugs.gnu.org; 8 Feb 2016 01:35:07 +0000 Received: from localhost ([127.0.0.1]:37767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSajL-0001MV-6q for submit@debbugs.gnu.org; Sun, 07 Feb 2016 20:35:07 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:33505 helo=homiemail-a19.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSajJ-0001ML-Iz for 22589@debbugs.gnu.org; Sun, 07 Feb 2016 20:35:05 -0500 Received: from homiemail-a19.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTP id E4135604076; Sun, 7 Feb 2016 17:35:04 -0800 (PST) Received: from localhost.linkov.net (62.65.226.75.cable.starman.ee [62.65.226.75]) (Authenticated sender: jurta@jurta.org) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPA id 11352604069; Sun, 7 Feb 2016 17:35:03 -0800 (PST) From: Juri Linkov To: Bastian Beischer Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. Organization: LINKOV.NET References: <87zivc45j5.fsf@gmail.com> Date: Mon, 08 Feb 2016 02:54:39 +0200 In-Reply-To: <87zivc45j5.fsf@gmail.com> (Bastian Beischer's message of "Sun, 07 Feb 2016 21:41:34 +0100") Message-ID: <87d1s8kmyo.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22589 Cc: 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > Instructions to reproduce: > > 1) emacs -Q > 2) open a new file called "test.c" > 3) enter this text: > > int main() { > int i = 0; > return 0; > } > > 4) go to the beginning of the buffer > 5) hit M-s _ and search for the symbol "i" > > ---> The very first character in "int main" is highlighted as a match > even though the first match should be "i" in "int i =0". Please imagine that you need to search for the symbol "int" (or any other symbol longer than the single-character "i"). How then you would be able to type the whole symbol "int" if the search failed after typing the first character "i" (or moved to the first occurrence of the symbol "i" when you need to find the symbol "int")? From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 06:30:34 2016 Received: (at 22589) by debbugs.gnu.org; 8 Feb 2016 11:30:34 +0000 Received: from localhost ([127.0.0.1]:38056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSk1a-0005GF-6z for submit@debbugs.gnu.org; Mon, 08 Feb 2016 06:30:34 -0500 Received: from mout.web.de ([212.227.15.4]:60578) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSk1Y-0005G2-Bh for 22589@debbugs.gnu.org; Mon, 08 Feb 2016 06:30:32 -0500 Received: from drachen.dragon ([92.74.178.250]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0LyUy6-1ZzbnU06vG-015shw; Mon, 08 Feb 2016 12:30:22 +0100 From: Michael Heerdegen To: Juri Linkov Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. References: <87zivc45j5.fsf@gmail.com> <87d1s8kmyo.fsf@mail.linkov.net> Date: Mon, 08 Feb 2016 12:30:20 +0100 In-Reply-To: <87d1s8kmyo.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 08 Feb 2016 02:54:39 +0200") Message-ID: <87mvrbo2wj.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:E2px7pPZePC+0E8WXb6kErUoVujnDpgXE2ILq60+plzepyDSyGi cmhuV4sw9Fk/P0HwJK6A0adnbKjX867ai1ZqhJVAJc1uiF9EOF0GgFTBj9yNLVjfc3RyS5X gNrXrXsoHcfg4TNbk3ViM+mPmEGcNmPPXsy4KBiXta9zAubavfmwnsYTUWfJmriciBJFTW2 EFEsKcCmugtvXK/R9sBKQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:PKSHKeWdra0=:dL1houHNGFhW5IJq8qOigc wpQm3J10Ru14KFT+rqqTjLVdyUlrVOcrjt6WCRQ+Shjmja0Of671QhiPR2vr552wDZ7hQjF66 Uth7ff5qyCfLq8kZssPCGAO0HhH1fd9Vozjxm3WpEXTWFgXWgRtooUsXu+6srr/3n1ykuiysg TEYNaOcMqFr9d1FE/48IbftVX0wACHv0o665R36D6SqekeFrhjVM8M3SXl8dnS7bvjUxPMryn 0XGjkcnJViHBbh3hU3z2P/KxNF22j5Z3BJ3T3uKxgKEHwi7EQ7XTWV5/7hJWUu6TQsvch1xnj aw4DROgQ2kJcowJN+rYRaX6mnVVKpDkNAgZp3z2BpGZufGFc1qDVkFCyRDizHZhk088vwHUx8 nLxWpz+MvkPX37iFof/6PHFyQcpO2pBP0PaD5b6PtL3PGE7/LtMV23xxrfpikLiMcfwMsqTj3 bMHrvxHPXS4GaPN0TOWPxz0BvNsgdPglRUJ3F7k7/rybxQCjS6bCVGYSwBBn6nxOFYuxT83qX OjHQvas5BmXZ/styY9RjnEtPYvbr3UI9YbH1NAu3cd/h+j+/xzdURPJGc+tm5hqSteHKFWPXZ IZb8n90gKr4B0Nik8j/p/eNdUmV7Obpog3sIyMkjaB72TEz3Rtz+hoyShxCBXWNkPd9NzH8+Y U5s3pZrNvvpBTEBBUKEczxpRzS8huKmzV73Nu7zGCDXR+QHKKzuTL51dTOdwhDiRSRjf3xKiO BnFGRzDgfWd8V/HDB6rjt4oGNNmLDc4yyQA/K7NLwJrpCXodT5SqWWpbG1cVrv7Gilon22p0S y7/ViVw X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 22589 Cc: Bastian Beischer , 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov writes: > Please imagine that you need to search for the symbol "int" (or any > other symbol longer than the single-character "i"). How then you > would be able to type the whole symbol "int" if the search failed > after typing the first character "i" (or moved to the first occurrence > of the symbol "i" when you need to find the symbol "int")? I agree that this is a useful feature. Not having it would make entering the search pattern confusing. But I think it should be documented. When does it occur, and what else is matched (one or two sentences). There could also be some indication when this first match is not a "real" match - but that might be overkill. Regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 06:34:09 2016 Received: (at 22589) by debbugs.gnu.org; 8 Feb 2016 11:34:09 +0000 Received: from localhost ([127.0.0.1]:38060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSk52-0005L9-Mm for submit@debbugs.gnu.org; Mon, 08 Feb 2016 06:34:08 -0500 Received: from mail-lf0-f50.google.com ([209.85.215.50]:34303) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSk50-0005Kr-UY for 22589@debbugs.gnu.org; Mon, 08 Feb 2016 06:34:07 -0500 Received: by mail-lf0-f50.google.com with SMTP id j78so93349213lfb.1 for <22589@debbugs.gnu.org>; Mon, 08 Feb 2016 03:34:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6xj2Sa1LgwhHqG1/kvlB8swlFxzxDPx3IOiFwxBNPRQ=; b=dHuHUUXJ8TUlUagqqDMU3EtvLrriRCv58z2QZ+9KccXEVUMhyLL28ZkNPRIF7wv6lX 6TNgeTJIOJEpFdBw/tk0JD/pMneItAD333FMqaoaVQD45Chst1jG4+YT5LveWnNUhsbT jcTHyMt8n0jD536Lhg6mZ0RnM1NJWrK0KdLVshBrOpqwP0MN4Exy1eu72Vs5MfFO0qUZ V3YvFhM9G2IlqQ0LNbe81hF0QG+PrdVqMnBDHbDWY0pIoMxWxXqmXfgRRcpn/bJIf8xi FUasMF/tyWrg9KFkYS1HNnI1u6Hueqz/Bn/VoH4ykovCGouO3ryz/lwZZzrz8q6+7JrW JfeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6xj2Sa1LgwhHqG1/kvlB8swlFxzxDPx3IOiFwxBNPRQ=; b=h3rlDIvaxwpT5fJrHXGjih6w6Ff+XGiYunQyOrsWhMssnpVb3M28BZQtOR176J6M65 RkJugsSZyEW05d1zlp4T+KcIT58PUqVj07M10myg0sAYsEV/Y9QOWRPaezwcrKsZZ3r7 g4WQ1PzzfAVUMx3kIyl0M2jeh7N2i5m6+c5zxU5ENtTTvMNQWTkORNXbrTDJlMI8RRLt SXRdBEf20m2uC+WPpn/YTlX5kxqevlO0BhBjbvB7lNzpfzPw63qSM4UESz1IVhDAoAVK vPhJkCbTD5qITqX7+vyKB1txyY2ePG62ocZWLBAwUqRZ5k7q+qtcFofYWUeiJl3gTV/5 Ng2w== X-Gm-Message-State: AG10YORxPL+qlTLNLWtn1UW+/ZcZH5LJPM+nUQUtoNL3sO1zTEP6k7JVP8lOtHSSxqbzW/4NSXHr/Mki6nzG9Q== MIME-Version: 1.0 X-Received: by 10.25.18.220 with SMTP id 89mr11483681lfs.127.1454931241127; Mon, 08 Feb 2016 03:34:01 -0800 (PST) Received: by 10.25.205.81 with HTTP; Mon, 8 Feb 2016 03:34:01 -0800 (PST) In-Reply-To: <87d1s8kmyo.fsf@mail.linkov.net> References: <87zivc45j5.fsf@gmail.com> <87d1s8kmyo.fsf@mail.linkov.net> Date: Mon, 8 Feb 2016 12:34:01 +0100 Message-ID: Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. From: Bastian Beischer To: Juri Linkov Content-Type: multipart/alternative; boundary=001a114080eaccdb31052b409317 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22589 Cc: 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a114080eaccdb31052b409317 Content-Type: text/plain; charset=UTF-8 Hello Juri, On Mon, Feb 8, 2016 at 1:54 AM, Juri Linkov wrote: > > Instructions to reproduce: > > > > 1) emacs -Q > > 2) open a new file called "test.c" > > 3) enter this text: > > > > int main() { > > int i = 0; > > return 0; > > } > > > > 4) go to the beginning of the buffer > > 5) hit M-s _ and search for the symbol "i" > > > > ---> The very first character in "int main" is highlighted as a match > > even though the first match should be "i" in "int i =0". > > Please imagine that you need to search for the symbol "int" > (or any other symbol longer than the single-character "i"). > How then you would be able to type the whole symbol "int" > if the search failed after typing the first character "i" > (or moved to the first occurrence of the symbol "i" > when you need to find the symbol "int")? > What you are saying makes sense, but the bug I outlined above is more severe. For example: In this line: unsigned int i = 0; when searching for the symbol "i". Taking your comment into account I can see why the first match would be "int", although that's actually not a match for "\_", because if we would match "i" directly, then there would be no way to go back to match "int" should the user enter more characters. However, what happens is that the "i" in unsIgned is matched, which is surely never going to be a symbol... -- Bastian Beischer RWTH Aachen University of Technology @CERN Office: Bdg 32-4-B12 Phone: +41-22-76-75750 E-mail: bastian.beischer@cern.ch Address: CERN, CH-1211 Geneve 23 @RWTH Aachen Office: 28 C 203 Phone: +49-241-80-27205 E-mail: beischer@physik.rwth-aachen.de Address: I. Physikalisches Institut B, Sommerfeldstr. 14, D-52074 Aachen --001a114080eaccdb31052b409317 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello Juri,

On Mon, Feb 8, 2016 at 1:54 AM, Juri Linkov &l= t;juri@linkov.net&= gt; wrote:
> Instructions to re= produce:
>
> 1) emacs -Q
> 2) open a new file called "test.c"
> 3) enter this text:
>
> int main() {
>=C2=A0 =C2=A0int i =3D 0;
>=C2=A0 =C2=A0return 0;
> }
>
> 4) go to the beginning of the buffer
> 5) hit M-s _ and search for the symbol "i"
>
> ---> The very first character in "int main" is highlighte= d as a match
>=C2=A0 =C2=A0 =C2=A0 even though the first match should be "i"= ; in "int i =3D0".

Please imagine that you need to search for the symbol "int"
(or any other symbol longer than the single-character "i").
How then you would be able to type the whole symbol "int"
if the search failed after typing the first character "i"
(or moved to the first occurrence of the symbol "i"
when you need to find the symbol "int")?

What you are saying makes sense, but the bug I outli= ned above is more severe.

For example: In this line:

unsigned int i =3D 0;

when searching for= the symbol "i". Taking your comment into account I can see why t= he first match would be "int", although that's actually not a= match for "\_<i\_>", because if we would match "i&quo= t; directly, then there would be no way to go back to match "int"= should the user enter more characters. However, what happens is that the &= quot;i" in unsIgned is matched, which is surely never going to be a sy= mbol...

--
Bastian Beischer
RWTH Aachen University of Technology<= br>
@CERN
Office: Bdg 32-4-B12
Phone: +41-22-76-75750
E-mail: <= a href=3D"mailto:bastian.beischer@cern.ch" target=3D"_blank">bastian.beisch= er@cern.ch
Address: CERN, CH-1211 Geneve 23

@RWTH Aachen
O= ffice: 28 C 203
Phone: +49-241-80-27205
E-mail: beischer@physik.rwth-aachen.= de
Address: I. Physikalisches Institut B, Sommerfeldstr. 14, D-52074= Aachen
--001a114080eaccdb31052b409317-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 20:19:36 2016 Received: (at 22589) by debbugs.gnu.org; 10 Feb 2016 01:19:36 +0000 Received: from localhost ([127.0.0.1]:34064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTJRQ-0006Jm-ES for submit@debbugs.gnu.org; Tue, 09 Feb 2016 20:19:36 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:38008 helo=homiemail-a15.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTJRO-0006JY-UV for 22589@debbugs.gnu.org; Tue, 09 Feb 2016 20:19:35 -0500 Received: from homiemail-a15.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTP id 5DC8776C069; Tue, 9 Feb 2016 17:19:32 -0800 (PST) Received: from localhost.linkov.net (85.253.171.40.cable.starman.ee [85.253.171.40]) (Authenticated sender: jurta@jurta.org) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTPA id 86AE076C065; Tue, 9 Feb 2016 17:19:31 -0800 (PST) From: Juri Linkov To: Bastian Beischer Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. Organization: LINKOV.NET References: <87zivc45j5.fsf@gmail.com> <87d1s8kmyo.fsf@mail.linkov.net> Date: Wed, 10 Feb 2016 02:54:54 +0200 In-Reply-To: (Bastian Beischer's message of "Mon, 8 Feb 2016 12:34:01 +0100") Message-ID: <87io1x5ptd.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22589 Cc: 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > What you are saying makes sense, but the bug I outlined above is more > severe. > > For example: In this line: > > unsigned int i =3D 0; > > when searching for the symbol "i". Taking your comment into account I c= an > see why the first match would be "int", although that's actually not a > match for "\_", because if we would match "i" directly, then there > would be no way to go back to match "int" should the user enter more > characters. However, what happens is that the "i" in unsIgned is matche= d, > which is surely never going to be a symbol... Thank you for the detailed test case. The reason why =E2=80=9Ci=E2=80=9D= matches in the middle of the symbol by not adding an anchor =E2=80=9C\_<=E2=80=9D= is because we need to support the symbol search backwards as well. This means that the symbol search should add =E2=80=9C\_<=E2=80=9D for searching for= ward, and =E2=80=9C\_>=E2=80=9D for a backward search. The same applies to the= word search. We could do this by adding an optional argument =E2=80=98backward=E2=80=99= to both =E2=80=98word-search-regexp=E2=80=99 and =E2=80=98isearch-symbol-regexp=E2= =80=99. One complication is that this change is not backward-compatible. Instead of this, I propose to us= e different values of the existing arg =E2=80=98lax=E2=80=99, e.g. values =E2= =80=98nil=E2=80=99 for a forward search, and =E2=80=98backward=E2=80=99 otherwise. Then it will match at the beginning of the symbol for a forward search, and at the end for a backward search. Same for the word search. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 09 20:19:36 2016 Received: (at 22589) by debbugs.gnu.org; 10 Feb 2016 01:19:36 +0000 Received: from localhost ([127.0.0.1]:34066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTJRQ-0006Jo-Lt for submit@debbugs.gnu.org; Tue, 09 Feb 2016 20:19:36 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:38011 helo=homiemail-a15.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTJRP-0006JZ-AY for 22589@debbugs.gnu.org; Tue, 09 Feb 2016 20:19:35 -0500 Received: from homiemail-a15.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTP id D2EBB76C06B; Tue, 9 Feb 2016 17:19:34 -0800 (PST) Received: from localhost.linkov.net (85.253.171.40.cable.starman.ee [85.253.171.40]) (Authenticated sender: jurta@jurta.org) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTPA id C4E8976C065; Tue, 9 Feb 2016 17:19:33 -0800 (PST) From: Juri Linkov To: Michael Heerdegen Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. Organization: LINKOV.NET References: <87zivc45j5.fsf@gmail.com> <87d1s8kmyo.fsf@mail.linkov.net> <87mvrbo2wj.fsf@web.de> Date: Wed, 10 Feb 2016 02:55:05 +0200 In-Reply-To: <87mvrbo2wj.fsf@web.de> (Michael Heerdegen's message of "Mon, 08 Feb 2016 12:30:20 +0100") Message-ID: <87h9hh5pt2.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22589 Cc: Bastian Beischer , 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > I agree that this is a useful feature. Not having it would make > entering the search pattern confusing. > > But I think it should be documented. When does it occur, and what else > is matched (one or two sentences). > > There could also be some indication when this first match is not a > "real" match - but that might be overkill. Then we could use the already existing indication "[pending]" in the search prompt. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 06:30:51 2016 Received: (at 22589) by debbugs.gnu.org; 10 Feb 2016 11:30:51 +0000 Received: from localhost ([127.0.0.1]:34254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTSyw-0001ag-S5 for submit@debbugs.gnu.org; Wed, 10 Feb 2016 06:30:50 -0500 Received: from mout.web.de ([212.227.15.14]:56850) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTSyv-0001aT-9K for 22589@debbugs.gnu.org; Wed, 10 Feb 2016 06:30:50 -0500 Received: from drachen.dragon ([92.74.178.250]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MWirL-1aUunu0FgJ-00Xw3h; Wed, 10 Feb 2016 12:30:37 +0100 From: Michael Heerdegen To: Juri Linkov Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. References: <87zivc45j5.fsf@gmail.com> <87d1s8kmyo.fsf@mail.linkov.net> <87mvrbo2wj.fsf@web.de> <87h9hh5pt2.fsf@mail.linkov.net> Date: Wed, 10 Feb 2016 12:30:34 +0100 In-Reply-To: <87h9hh5pt2.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 10 Feb 2016 02:55:05 +0200") Message-ID: <874mdgls4l.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:SRsGfdNmlBrNWbdepJ85YgdpNM8dXnG+HDAkhPwBmiWESpbxE1W bPyALeF0sk193pP4XCvpmkzooMhQtGt4jAO9ZgyvwR084+8ZKnFXgJiddFvLlYdTE8lUPky rMSKFWOxZN9PYhHzWbPzpMdQirsjzLD3fE8ed25GiqPhox/tmc2yFsno0DEwmHWZsvsN1Nf UgkH52lyn+ZQmcV02MKFQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:wOKRYnj/MQ8=:9UMJ6bTflh71tjPH8be3pz oSxWLiknnig6jz0ppFJfulvP/UPws21tZyKPotJHd1G/bCZgAaq+MtEyzMpbZRgICOuad/sLR UtUCudbj+9hrV4ay6kzqWpmEsGwH9hZ6eIj/2Oj2tN40G1gh/dAquvAfwpyxANfSW6ZewfuXE E+gHHtiFZIWXGFBwY575bmojRjDtlSXC60qLlIPdykyjLKT7FrVrqvdZa6BzVDIgimwQlxnRb nI0zI6+mq1noTBB4cuJF2M690kbZdU27Dlrg8h0KM2KqEC3IWzIGKPKjQwM78T/IN2uouYkSA rQzGNArJTKtNV9ljW7VOf9t5amUqOMzYALvNOlA1Kh43FEzQeGfVvVU9FYYEYbdFw5pcBUtFX 0I4tYtubZs8//ia9ioCDGREf8fMcG4koxcUODypwhXgEynjwNZ6Xf4qAY3q9HBtK+cBcxF7+q TOY61qr8YdeSNl8tmLi6qSj6+jvObUVG1K9gMRbs5KY4RvfOSZcQ0q+JGWHOTh74+WVyOgVCZ WRca4ZFj/Cmj+ue8KUzwFOwJ4YRiSvKqpstSmG9KHGaFtlUTj35HrW2m4eMle9/YetldMOnyu 9iov91RqgsPFpVYc1QBMqDqzQzOxlWD3Z1xOkfIrMLG21qvLIh5PDcnxCldezQyhH6f8DlqQs q5GhSOTz8svR1wg6RlCKdJrkglTfEdOjUM4KBQW5Sgve0MTidgTYzFT5VDjmIg1aQSb9+D5az q+lr30e7e/LliIQU+rz/T4PUYT4GL9oV69dMX6gIsv+9RaCiUSCDuYsQ/yM6K7/0zydnAnnYW eELx6eR X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 22589 Cc: Bastian Beischer , 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juri Linkov writes: > > I agree that this is a useful feature. Not having it would make > > entering the search pattern confusing. > > > > But I think it should be documented. When does it occur, and what else > > is matched (one or two sentences). > > > > There could also be some indication when this first match is not a > > "real" match - but that might be overkill. > > Then we could use the already existing indication "[pending]" > in the search prompt. I think that would be a good solution. Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 28 19:51:02 2017 Received: (at control) by debbugs.gnu.org; 29 Jan 2017 00:51:02 +0000 Received: from localhost ([127.0.0.1]:49566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXdhu-0004vq-8h for submit@debbugs.gnu.org; Sat, 28 Jan 2017 19:51:02 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:45203 helo=homiemail-a23.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXdhq-0004v7-IV; Sat, 28 Jan 2017 19:50:58 -0500 Received: from homiemail-a23.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a23.g.dreamhost.com (Postfix) with ESMTP id E53014B007C; Sat, 28 Jan 2017 16:50:57 -0800 (PST) Received: from localhost.linkov.net (m213-100-238-78.cust.tele2.ee [213.100.238.78]) (Authenticated sender: jurta@jurta.org) by homiemail-a23.g.dreamhost.com (Postfix) with ESMTPA id D521C4B0063; Sat, 28 Jan 2017 16:50:56 -0800 (PST) From: Juri Linkov To: Antoine Levitt Subject: Re: bug#25562: 25.1; isearch-forward-word first matches a non-word Organization: LINKOV.NET References: <87r33njun7.fsf@inria.fr> Date: Sun, 29 Jan 2017 02:29:03 +0200 In-Reply-To: <87r33njun7.fsf@inria.fr> (Antoine Levitt's message of "Sat, 28 Jan 2017 12:23:08 +0100") Message-ID: <87mvea3feg.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 22589 25562 thanks > emacs -Q > M-< > M-s w > it > > see that the "it" of "visit" is matched, and should not be. Subsequent > C-s fix this. Thanks for the report. Please see the rationale for this behavior in https://debbugs.gnu.org/22589 [...] Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [69.163.253.7 listed in dnsbl.sorbs.net] 0.0 RCVD_IN_MSPIKE_L5 RBL: Very bad reputation (-5) [69.163.253.7 listed in bl.mailspike.net] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [69.163.253.7 listed in psbl.surriel.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [69.163.253.7 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted X-Debbugs-Envelope-To: control Cc: 25562@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 22589 25562 thanks > emacs -Q > M-< > M-s w > it > > see that the "it" of "visit" is matched, and should not be. Subsequent > C-s fix this. Thanks for the report. Please see the rationale for this behavior in https://debbugs.gnu.org/22589 [...] Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [69.163.253.7 listed in dnsbl.sorbs.net] 0.0 RCVD_IN_MSPIKE_L5 RBL: Very bad reputation (-5) [69.163.253.7 listed in bl.mailspike.net] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [69.163.253.7 listed in psbl.surriel.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [69.163.253.7 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted merge 22589 25562 thanks > emacs -Q > M-< > M-s w > it > > see that the "it" of "visit" is matched, and should not be. Subsequent > C-s fix this. Thanks for the report. Please see the rationale for this behavior in https://debbugs.gnu.org/22589 Do you think the proposed change suits your case? From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 05 18:53:08 2017 Received: (at 22589) by debbugs.gnu.org; 5 Feb 2017 23:53:09 +0000 Received: from localhost ([127.0.0.1]:57003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1caWcG-0000i1-KJ for submit@debbugs.gnu.org; Sun, 05 Feb 2017 18:53:08 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:53986 helo=homiemail-a13.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1caWcE-0000ho-OV for 22589@debbugs.gnu.org; Sun, 05 Feb 2017 18:53:07 -0500 Received: from homiemail-a13.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTP id 9E79E334076; Sun, 5 Feb 2017 15:53:05 -0800 (PST) Received: from localhost.linkov.net (m213-100-245-249.cust.tele2.ee [213.100.245.249]) (Authenticated sender: jurta@jurta.org) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id CE66033406C; Sun, 5 Feb 2017 15:53:04 -0800 (PST) From: Juri Linkov To: Bastian Beischer Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. Organization: LINKOV.NET References: <87zivc45j5.fsf@gmail.com> <87d1s8kmyo.fsf@mail.linkov.net> <87io1x5ptd.fsf@mail.linkov.net> Date: Mon, 06 Feb 2017 01:39:13 +0200 In-Reply-To: <87io1x5ptd.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 10 Feb 2016 02:54:54 +0200") Message-ID: <878tpktd1e.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 22589 Cc: 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) > Then it will match at the beginning of the symbol for a forward search, > and at the end for a backward search. Same for the word search. In bug#25562 we found no more ideas how to improve the support for the process of entering incomplete words, so in addition to the patch in bug#25562 that adds indication, also I'm going to install this patch that will optimize the incomplete search by removing conditional matching at the beginning: diff --git a/lisp/isearch.el b/lisp/isearch.el index 5c48c30..90ffbec 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1621,7 +1621,7 @@ (defun word-search-regexp (string &optional lax) ((string-match-p "\\`\\W+\\'" string) "\\W+") (t (concat (if (string-match-p "\\`\\W" string) "\\W+" - (unless lax "\\<")) + "\\<") (mapconcat 'regexp-quote (split-string string "\\W+" t) "\\W+") (if (string-match-p "\\W\\'" string) "\\W+" (unless lax "\\>")))))) @@ -1749,7 +1749,7 @@ (defun isearch-symbol-regexp (string &optional lax) ((string-match-p (format "\\`%s\\'" not-word-symbol-re) string) not-word-symbol-re) (t (concat (if (string-match-p (format "\\`%s" not-word-symbol-re) string) not-word-symbol-re - (unless lax "\\_<")) + "\\_<") (mapconcat 'regexp-quote (split-string string not-word-symbol-re t) not-word-symbol-re) (if (string-match-p (format "%s\\'" not-word-symbol-re) string) not-word-symbol-re (unless lax "\\_>"))))))) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 06:10:39 2017 Received: (at 22589) by debbugs.gnu.org; 6 Feb 2017 11:10:39 +0000 Received: from localhost ([127.0.0.1]:57218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cahBu-0007dS-W3 for submit@debbugs.gnu.org; Mon, 06 Feb 2017 06:10:39 -0500 Received: from mout.web.de ([212.227.15.14]:50713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cahBt-0007dG-7l for 22589@debbugs.gnu.org; Mon, 06 Feb 2017 06:10:37 -0500 Received: from drachen.dragon ([188.99.162.101]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LiaAW-1c0Wxb3KUG-00cdhg; Mon, 06 Feb 2017 12:10:27 +0100 From: Michael Heerdegen To: Juri Linkov Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. References: <87zivc45j5.fsf@gmail.com> <87d1s8kmyo.fsf@mail.linkov.net> <87io1x5ptd.fsf@mail.linkov.net> <878tpktd1e.fsf@mail.linkov.net> Date: Mon, 06 Feb 2017 12:10:26 +0100 Message-ID: <87poiv7exp.fsf@drachen> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:Ig076AvNRGnsQwipY4ImLAVBGLisIMm8chvNv77rNq1zxrC1K4m VcIeM4TmEgA6wdXnMAHtAm3e2GFto1hokRK6gZU1FcBqWbOpyW9YOcOfZimTxpa8TlIihxl 8mRiTcnMoGxcWr2CjjFSFWJqARw8HEEQchpbecxtMOKuXbr/on555wfkL7kQCVR+aNgsNLi k/YvP8SU2DOyN4TgpFf6g== X-UI-Out-Filterresults: notjunk:1;V01:K0:NI8cNofgFbo=:yv3mMQI2VPxo4QAR9l0viz p/woXMdzvXsXlmYMdMt72/IdVKVVTimlSuP/4CNtzdE4uNB8hH7HGYDa95QjkZsnD7V2Xrphc ZE3sQaoONcm6oiX+bmFbeVH+obrwz0p4gnbPkGoe5Bplpkc9Ag2daxL6NVzCHW0AY0BSVzg5f o5UJkw19OFhtJG5gyyxSuRwmPlChSNe7zABuBqZ7JHIWrpY80SeqDaQ0luOtUslc3RmHyOfg5 /+GjsbAuDs5AgQ0w6hI/3FB+lRax+11KYGDr3eFx+qu/LRd7f5Y5HBo+/wrgrJpIjKDolPGD0 jSYUT1J/IPt3HGA2M6fevloMtb/9I/3y6/Enm1Ie3BpYfdfRQHKtobd0+u+YZKvczyxhtg3a5 ArTB/Pm7Hqbw/+fChAQky+5v69u9zj5oyY7alPlPBw4vssQ7QhvrLmKTzZdpWkuPS5uy3CHD6 61BiGuDxXacAyX1Eu3Dh5JPrWFuHC39xKTFAYn9IYAzf6EOEvm9evgP2449zb/Oz8K4r5j6Yl gxQ8Yy/sONJXNgEuIykGzWZolnSMEY6eH8M0pmFHJrlDA05MCypbNPPrxfIFqNn34FVI2Kpbp UZrbvbDmvWJA6bHIAdyQYPkt7f0WDvz1i0jYh2TeIEzUSuF6IPtDWzDyD4MTHBgVTQQVWHRmy 3kHJbOzrlpXq8sWIbzIwuG+qioI9FO3+rdM8Lx40m4Ra5zQVbfgIGSRxtl1fpXX0gotB92Rpk Um1zUA5+M1qrjA82I7JlvTXMNyQfwyMEnq9DkV+RZfR4JvzwAyvjU1BeFkqSPFpIQjNYbmgqo B9jIW9A X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 22589 Cc: Bastian Beischer , 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Juri Linkov writes: > > Then it will match at the beginning of the symbol for a forward search, > > and at the end for a backward search. Same for the word search. > > In bug#25562 we found no more ideas how to improve the support for > the process of entering incomplete words, so in addition to the patch > in bug#25562 that adds indication, also I'm going to install this patch > that will optimize the incomplete search by removing conditional > matching at the beginning: I think I prefer the original behavior (but actually, I use a private version of `word-search-regexp' that behaves entirely differently, so my opinion doesn't matter). But apart from that, the patch doesn't work as expected (even with the other patch that adds indication also installed): - in emacs -Q, hit C-h i to go to the info top dir - I want to word search for "directory". point is at point-min. - I hit d. Isearch jumps to the "d" in "Type "d" in Info to..." - I type the remaining letters: "irectory". The isearch prompt says "Failed" apparently because I'm now past all matches and isearch didn't reconsider the text before the first match "d". Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 19:12:45 2017 Received: (at 22589) by debbugs.gnu.org; 7 Feb 2017 00:12:45 +0000 Received: from localhost ([127.0.0.1]:58156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1catOn-00025R-13 for submit@debbugs.gnu.org; Mon, 06 Feb 2017 19:12:45 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:42839 helo=homiemail-a18.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1catOl-00025I-3c for 22589@debbugs.gnu.org; Mon, 06 Feb 2017 19:12:43 -0500 Received: from homiemail-a18.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTP id 3DDC1258065; Mon, 6 Feb 2017 16:12:37 -0800 (PST) Received: from localhost.linkov.net (m83-180-111-97.cust.tele2.ee [83.180.111.97]) (Authenticated sender: jurta@jurta.org) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPA id 6B336258062; Mon, 6 Feb 2017 16:12:36 -0800 (PST) From: Juri Linkov To: Michael Heerdegen Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. Organization: LINKOV.NET References: <87zivc45j5.fsf@gmail.com> <87d1s8kmyo.fsf@mail.linkov.net> <87io1x5ptd.fsf@mail.linkov.net> <878tpktd1e.fsf@mail.linkov.net> <87poiv7exp.fsf@drachen> Date: Tue, 07 Feb 2017 02:11:20 +0200 In-Reply-To: <87poiv7exp.fsf@drachen> (Michael Heerdegen's message of "Mon, 06 Feb 2017 12:10:26 +0100") Message-ID: <87fujqx3kn.fsf@localhost> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22589 Cc: 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> In bug#25562 we found no more ideas how to improve the support for >> the process of entering incomplete words, so in addition to the patch >> in bug#25562 that adds indication, also I'm going to install this patch >> that will optimize the incomplete search by removing conditional >> matching at the beginning: > > I think I prefer the original behavior (but actually, I use a private > version of `word-search-regexp' that behaves entirely differently, so my > opinion doesn't matter). But apart from that, the patch doesn't work as > expected (even with the other patch that adds indication also > installed): > > - in emacs -Q, hit C-h i to go to the info top dir > > - I want to word search for "directory". point is at point-min. > > - I hit d. Isearch jumps to the "d" in "Type "d" in Info to..." > > - I type the remaining letters: "irectory". The isearch prompt says > "Failed" apparently because I'm now past all matches and isearch > didn't reconsider the text before the first match "d". Hmm, this is strange. Unlike the more radical patch in https://debbugs.gnu.org/25562#22, the latest patch here in https://debbugs.gnu.org/22589#31 is more moderate - it just restricts matches to word beginnings, so your recipe didn't fail when I tried. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 07 14:19:56 2017 Received: (at 22589) by debbugs.gnu.org; 7 Feb 2017 19:19:56 +0000 Received: from localhost ([127.0.0.1]:59279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbBIy-0000fZ-08 for submit@debbugs.gnu.org; Tue, 07 Feb 2017 14:19:56 -0500 Received: from mout.web.de ([212.227.15.14]:50532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbBIv-0000fM-Jh for 22589@debbugs.gnu.org; Tue, 07 Feb 2017 14:19:54 -0500 Received: from drachen.dragon ([88.67.111.141]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LsQ9o-1cQPgd2koa-0124M4; Tue, 07 Feb 2017 20:19:43 +0100 From: Michael Heerdegen To: Juri Linkov Subject: Re: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. References: <87zivc45j5.fsf@gmail.com> <87d1s8kmyo.fsf@mail.linkov.net> <87io1x5ptd.fsf@mail.linkov.net> <878tpktd1e.fsf@mail.linkov.net> <87poiv7exp.fsf@drachen> <87fujqx3kn.fsf@localhost> Date: Tue, 07 Feb 2017 20:19:42 +0100 In-Reply-To: <87fujqx3kn.fsf@localhost> (Juri Linkov's message of "Tue, 07 Feb 2017 02:11:20 +0200") Message-ID: <8760klu7u9.fsf@drachen> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:u5HVly2mtvE3NFDro623A3V0KWtir5eBRmds/G+5jefansKESFP 2fGuWHpVdkmZqj7Y4IWCFRpLPXJojPwHk7bF8tf1iCeEfbYNJdz7uV29SfKU+SnH+nmwM1c 9BAtfpWR6gmbx8IaWcqqLBFDi0qqN+hbGlKB81jqZ2LW3mimqvPLqaDwTEY4NQaOTwmwpJe oH2AI8jEzc8JkAZJ2nyEw== X-UI-Out-Filterresults: notjunk:1;V01:K0:zb93sLsriTY=:QkTgFw5jAzAxxxyJMuyvOi PmPKAc4tycH083VvwlIRlRwL0SzIFQWsqUfuxjXjYubqFTMYo/SjtVMRS/qeUB438f5SkbqQU vzy5M9CPvd47UZHnx3yS1QlOrYEdCpJLHaXoZPKZvHKw2XuxnsrW7uUWiyTf3Zl9pPgZ6b8Dt kLhvU/7PgvKDuwkCbSW6J3v7J1PGHLS5E/EfFrS+THmuTCW60CGX0o/GftImDA1lP0imQyaG3 VTeKNFbTOFGRM2UEBOz1gLfOJMPcRIjIc0UqWqlD+UYV/5bgJpkzV43hXWC3KWFrBybRN9JZ6 56640VgHTdjNcK9Fg8zR0qjxIyDxeWWeEMFFYyWqVB5yeZR5mp43zYiyGOqhVXqakFV1ghYiu NVGZi6qQlKwQeFcM/h9eA3up60rtO/3SL6tN+hYCpaJ1bb6EcUdHARzA1Ag5dTntFek3J8e6W Is/pnddO0bOzNaoGKafp4Iyqbxqy/C+r7Ri5Odc+SJoCCE8nWgJGRWxkSabVMP/xXwU9/DMmT IoJJzKXzIcInb9D3gZa3lleWsDjNP+bZOCMBvGicW/tqT8SRkilSkQhmRNfQ/rcOB4YvTnVR4 8jxCQQYIer02vym0EFdTfb0VC5eN0ZgE2nsyFQ560vLXBY+F8GLqfHNQ9HNv+CI+NhnQTwhp0 J3GPTdEhW5KFM/pjJEgUDF/rVKcl9euUpxFhnDpEz34mrnROmPXR+REMENlT1xXmpCvIs17a/ xRHZMyb72DZbCFh7GmeFYGRrZrup18MXtijhtiQQ6YvIcbjuauO6qCj4hB9n34PBQGlOPtmZY PRvNR47 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 22589 Cc: 22589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Juri Linkov writes: > Hmm, this is strange. Unlike the more radical patch in > https://debbugs.gnu.org/25562#22, the latest patch here in > https://debbugs.gnu.org/22589#31 is more moderate - it just restricts > matches to word beginnings, so your recipe didn't fail when I tried. My fault indeed. Because the patch didn't apply with any Emacs tool, I had applied it "by hand", but that in a wrong way. Looks ok now after just calling "patch", and the behavior also seems to make sense. Sorry about the confusion. Michael. From unknown Sat Jun 21 10:30:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 15 Mar 2017 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator