From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5476: 23.1.91; bookmark open info node in fundamental mode Date: Tue, 26 Jan 2010 10:15:38 -0500 Message-ID: References: <87eildpxqg.fsf@tux.homenetwork> <877hr5pchf.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264520525 4903 80.91.229.12 (26 Jan 2010 15:42:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Jan 2010 15:42:05 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 26 16:41:58 2010 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 1NZnYC-0007lt-6m for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jan 2010 16:41:57 +0100 Original-Received: from localhost ([127.0.0.1]:46632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZnYC-00088i-Qp for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Jan 2010 10:41:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZnWG-0005ha-SI for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 10:39:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZnWC-0005b5-0K for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 10:39:56 -0500 Original-Received: from [199.232.76.173] (port=51877 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZnWB-0005ao-Py for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 10:39:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55581) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZnWB-0003o0-23 for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 10:39:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NZn97-0000Ho-Ve; Tue, 26 Jan 2010 10:16:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jan 2010 15:16:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5476 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.12645189581091 (code B ref -1); Tue, 26 Jan 2010 15:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jan 2010 15:15:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZn93-0000HY-1C for submit@debbugs.gnu.org; Tue, 26 Jan 2010 10:15:57 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZn8z-0000HS-Kh for submit@debbugs.gnu.org; Tue, 26 Jan 2010 10:15:55 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:55471 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZn8u-0007BO-Rg for submit@debbugs.gnu.org; Tue, 26 Jan 2010 10:15:49 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NZn8t-0007QT-Mk for submit@debbugs.gnu.org; Tue, 26 Jan 2010 10:15:48 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:42119) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZn8t-0007QL-Cx for submit@debbugs.gnu.org; Tue, 26 Jan 2010 10:15:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZn8s-0002lu-RO for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 10:15:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZn8n-0002gz-VZ for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 10:15:46 -0500 Original-Received: from [199.232.76.173] (port=52211 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZn8n-0002ga-ER for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 10:15:41 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:13891 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZn8n-0007Pd-2F for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2010 10:15:41 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhAFAJGVXktFpaAe/2dsb2JhbACBRtgOhDkEik4 X-IronPort-AV: E=Sophos;i="4.49,347,1262581200"; d="scan'208";a="54582049" Original-Received: from 69-165-160-30.dsl.teksavvy.com (HELO ceviche.home) ([69.165.160.30]) by ironport2-out.pppoe.ca with ESMTP; 26 Jan 2010 10:15:39 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 14A2B70033; Tue, 26 Jan 2010 10:15:39 -0500 (EST) In-Reply-To: <877hr5pchf.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Tue, 26 Jan 2010 08:11:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.0 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -6.0 (------) Resent-Date: Tue, 26 Jan 2010 10:16:01 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:34723 Archived-At: > And then something like this: (need to clean for bookmark.el) > ,---- > | (if (and file (file-readable-p file) (not (buffer-live-p buf))) > | (with-current-buffer (find-file-noselect file) (setq buf (buffer-name))) > | ;; No file found. See if a non-file buffer exists for this. If not, raise error. > | (unless (and buf (get-buffer buf)) > | (signal 'file-error `("Jumping to bookmark" "No such file or directory" file)))) > | (set-buffer buf) ;>>>>>>>Now we are in the buffer given by the handler > `---- Again, I think this would be wrong. The fix has to be elsewhere, not in the generic handler. E.g. in Info-bookmark-jump, maybe. Stefan