From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#20212: 24.4: bookmark.el: function hangs on EOF (FIX INCLUDED) (bookmark-bmenu-goto-bookmark) Date: Fri, 27 Mar 2015 09:16:51 -0700 (PDT) Message-ID: <3a03dd52-f3af-44bb-9746-387b9fa8a847@default> References: <5515261C.1000904@gmx.com> 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 1427473052 19063 80.91.229.3 (27 Mar 2015 16:17:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Mar 2015 16:17:32 +0000 (UTC) To: Boruch Baum , 20212@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 27 17:17:19 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 1YbWwZ-0003ZP-9l for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 17:17:11 +0100 Original-Received: from localhost ([::1]:50917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbWwY-0003Ib-CQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 12:17:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbWwV-0003IQ-7G for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2015 12:17:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbWwQ-0003bt-PY for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2015 12:17:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbWwQ-0003bp-MG for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2015 12:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YbWwQ-00011e-Du for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2015 12:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Mar 2015 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20212 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20212-submit@debbugs.gnu.org id=B20212.14274730213931 (code B ref 20212); Fri, 27 Mar 2015 16:17:02 +0000 Original-Received: (at 20212) by debbugs.gnu.org; 27 Mar 2015 16:17:01 +0000 Original-Received: from localhost ([127.0.0.1]:38284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YbWwO-00011L-FG for submit@debbugs.gnu.org; Fri, 27 Mar 2015 12:17:00 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:19717) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YbWwM-000115-4r for 20212@debbugs.gnu.org; Fri, 27 Mar 2015 12:16:58 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2RGGpxm019163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 27 Mar 2015 16:16:52 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t2RGGpac025236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 27 Mar 2015 16:16:51 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t2RGGpo5029344; Fri, 27 Mar 2015 16:16:51 GMT In-Reply-To: <5515261C.1000904@gmx.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] 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: 140.186.70.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:100975 Archived-At: > If the function does not find the requested bookmark before EOF, > it continues endlessly. patch attached. Yes, good catch. FWIW - This is fixed in Bookmark+ (5 years ago). I use `(eobp)', and I put that test first, before the test for the bookmark name: (while (and (not (eobp)) ...) ...)