From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#22589: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. Date: Mon, 08 Feb 2016 02:54:39 +0200 Organization: LINKOV.NET Message-ID: <87d1s8kmyo.fsf@mail.linkov.net> References: <87zivc45j5.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454895389 27909 80.91.229.3 (8 Feb 2016 01:36:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 01:36:29 +0000 (UTC) Cc: 22589@debbugs.gnu.org To: Bastian Beischer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 02:36:14 2016 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 1aSakN-0001hd-2h for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 02:36:11 +0100 Original-Received: from localhost ([::1]:39950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSakL-0003K6-Rb for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 20:36:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSakI-0003JO-6L for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 20:36:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSakF-0006id-Qr for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 20:36:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSakF-0006iZ-NQ for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 20:36:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSakF-0001OV-JK for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 20:36:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Feb 2016 01:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22589 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22589-submit@debbugs.gnu.org id=B22589.14548953075243 (code B ref 22589); Mon, 08 Feb 2016 01:36:03 +0000 Original-Received: (at 22589) by debbugs.gnu.org; 8 Feb 2016 01:35:07 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <87zivc45j5.fsf@gmail.com> (Bastian Beischer's message of "Sun, 07 Feb 2016 21:41:34 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:112677 Archived-At: > 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")?