From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#4147: 23.1.50: Info-search command strange behaviour Date: Sat, 15 Aug 2009 12:10:23 +0200 Message-ID: <4A86898F.6060508@gmx.at> References: <20090815034957.GA30902@shareable.org> Reply-To: martin rudalics , 4147@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040906040904060109050304" X-Trace: ger.gmane.org 1250332062 16652 80.91.229.12 (15 Aug 2009 10:27:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 10:27:42 +0000 (UTC) To: Jamie Lokier , 4147@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 15 12:27:35 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 1McGU0-0003GX-TS for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 12:27:33 +0200 Original-Received: from localhost ([127.0.0.1]:45684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McGTw-0001L6-C4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 06:27:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McGTT-00018m-0I for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 06:26:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McGTN-00017f-Jq for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 06:26:58 -0400 Original-Received: from [199.232.76.173] (port=33633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McGTN-00017b-Gx for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 06:26:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57704) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1McGTM-0002S9-Sy for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 06:26:53 -0400 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 n7FAQnYO029868; Sat, 15 Aug 2009 03:26:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7FAKFib028874; Sat, 15 Aug 2009 03:20:15 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Aug 2009 10:20:15 +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: Original-Received: via spool by 4147-submit@emacsbugs.donarmstrong.com id=B4147.125033107627540 (code B ref 4147); Sat, 15 Aug 2009 10:20:15 +0000 Original-Received: (at 4147) by emacsbugs.donarmstrong.com; 15 Aug 2009 10:11:16 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n7FABDQ4027519 for <4147@emacsbugs.donarmstrong.com>; Sat, 15 Aug 2009 03:11:15 -0700 Original-Received: (qmail invoked by alias); 15 Aug 2009 10:11:07 -0000 Original-Received: from 62-47-35-223.adsl.highway.telekom.at (EHLO [62.47.35.223]) [62.47.35.223] by mail.gmx.net (mp059) with SMTP; 15 Aug 2009 12:11:07 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+X7RguFt2X5RujLDjHPC9N9hMp+JO2DAmEcZbtLz XT67W/RnrBPoRK User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <20090815034957.GA30902@shareable.org> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71,0.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 15 Aug 2009 06:26:58 -0400 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:30196 Archived-At: This is a multi-part message in MIME format. --------------040906040904060109050304 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > 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. > 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. > That's all. It was the point moving that I found particularly odd, > when searching repeatedly for a term. First point moved as expected > with each "s RET" sequence, but then it carried on moving after there > were no more occurrences which was confusing. I noticed the error > after returning to the Info directory following that. martin --------------040906040904060109050304 Content-Type: text/plain; name="info.el.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="info.el.diff" *** info.el.~1.562.~ 2009-07-27 08:09:32.407806900 +0200 --- info.el 2009-08-15 11:18:33.578125000 +0200 *************** *** 1818,1825 **** (signal 'search-failed (list regexp)))) (if (not found) (progn (Info-read-subfile osubfile) - (goto-char opoint) (Info-select-node) (set-window-start (selected-window) ostart))))) (if (and (string= osubfile Info-current-subfile) --- 1818,1825 ---- (signal 'search-failed (list regexp)))) (if (not found) (progn (Info-read-subfile osubfile) (Info-select-node) + (goto-char opoint) (set-window-start (selected-window) ostart))))) (if (and (string= osubfile Info-current-subfile) --------------040906040904060109050304--