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#4147: 23.1.50: Info-search command strange behaviour Date: Sat, 05 Dec 2009 02:48:27 +0200 Organization: JURTA Message-ID: <877ht2ryys.fsf@mail.jurta.org> References: <20090815034957.GA30902@shareable.org> <4A86898F.6060508@gmx.at> Reply-To: Juri Linkov , 4147@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259980108 13267 80.91.229.12 (5 Dec 2009 02:28:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 02:28:28 +0000 (UTC) Cc: 4147@emacsbugs.donarmstrong.com, Jamie Lokier To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 05 03:28:22 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGkNh-0007L2-3g for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 03:28:21 +0100 Original-Received: from localhost ([127.0.0.1]:39137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGkNg-0006GW-MP for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Dec 2009 21:28:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGkMw-0005ak-ED for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 21:27:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGkMr-0005W2-Nn for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 21:27:33 -0500 Original-Received: from [199.232.76.173] (port=52835 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGkMr-0005Vs-Cm for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 21:27:29 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44078) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGkMr-0004r7-3B for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 21:27:29 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB52RObB022646; Fri, 4 Dec 2009 18:27:26 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB52F52t021619; Fri, 4 Dec 2009 18:15:05 -0800 Resent-Date: Fri, 4 Dec 2009 18:15:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 05 Dec 2009 02:15:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4147 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by 4147-submit@emacsbugs.donarmstrong.com id=B4147.125997892921130 (code B ref 4147); Sat, 05 Dec 2009 02:15:05 +0000 Original-Received: (at 4147) by emacsbugs.donarmstrong.com; 5 Dec 2009 02:08:49 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB528lWZ021123 for <4147@emacsbugs.donarmstrong.com>; Fri, 4 Dec 2009 18:08:48 -0800 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.30.133.cable.starman.ee [82.131.30.133]) by mx1.starman.ee (Postfix) with ESMTP id 87E153F422F; Sat, 5 Dec 2009 04:08:42 +0200 (EET) In-Reply-To: <4A86898F.6060508@gmx.at> (martin rudalics's message of "Sat, 15 Aug 2009 12:10:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 04 Dec 2009 21:27:33 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33228 Archived-At: >> s blahblah RET >> => Says it can't find it, but moves point forward a few characters. > > I suppose something like the attached patch should cure that. This patch works only when initially point was in the Top node, and fails in other nodes. The odd behavior when point moves forward by a few characters is caused by breadcrumbs inserted to the Info buffer (the distance point moves forward is the length of the breadcrumbs string). Setting `Info-breadcrumbs-depth' to 0 fixes this problem. But it is difficult to fix this when `Info-breadcrumbs-depth' > 0. >> Go back to the Info directory: >> d >> Search: >> s blahblah RET >> => Says "Wrong type argument: stringp, nil" > > FWIW this happens because in the > > (with-current-buffer (marker-buffer Info-tag-table-marker) > > form `Info-tag-table-marker' is nil and `with-current-buffer' expects > either a valid buffer or a string naming a buffer. I don't know how > Info tags are handled so I leave this to someone more knowledgeable. For unknown reasons, `Info-current-subfile' is not nil in `dir'. I'll take care of this bug. -- Juri Linkov http://www.jurta.org/emacs/