From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bookmark.el and lisp/gnus/gnus-bookmark.el Date: Thu, 06 Mar 2008 16:27:11 -0500 Message-ID: References: <874pbj682f.fsf@red-bean.com> <87zltbhbq8.fsf@bzg.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204838869 27510 80.91.229.12 (6 Mar 2008 21:27:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 21:27:49 +0000 (UTC) Cc: Karl Fogel , Tassilo Horn , Reiner Steib , emacs-devel@gnu.org To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 22:28:16 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JXNdH-00033v-P5 for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 22:28:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXNck-00022y-1P for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 16:27:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXNcf-00022l-Si for emacs-devel@gnu.org; Thu, 06 Mar 2008 16:27:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXNcd-000227-HU for emacs-devel@gnu.org; Thu, 06 Mar 2008 16:27:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXNcd-000224-AH for emacs-devel@gnu.org; Thu, 06 Mar 2008 16:27:27 -0500 Original-Received: from 206-248-178-151.dsl.teksavvy.com ([206.248.178.151] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JXNcd-0002CE-6p for emacs-devel@gnu.org; Thu, 06 Mar 2008 16:27:27 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 6A00DB40AF; Thu, 6 Mar 2008 16:27:11 -0500 (EST) In-Reply-To: <87zltbhbq8.fsf@bzg.ath.cx> (Bastien's message of "Thu, 06 Mar 2008 19:51:59 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91552 Archived-At: > He added the buffer-local variable `bookmark-make-cell-function', which > lets you define a handler for a mode: when setting a bookmark, a handler > is added to the record and jumping to the bookmark will use this handler > instead of `bookmark-jump' (see `bookmark-jump-internal'.) > This is all good, but it only works for buffer visiting files and > Info-mode. I don't understand why you think so. Could you explain in more details? BTW bookmark-make-cell-function needs to be fixed so it doesn't receive any `info-node' argument. This was needed back when bookmark-make-cell-function didn't exist, but now that info uses bookmark-make-cell-function, bookmark.el shouldn't need any info-specific code. > - run every function in `bookmark-set-functions' until one returns > something useful (those functions returning something similar to > ` bookmark-buffer-file-name'); What would it do differently from bookmark-make-cell-function? What additional behavior would be made available? Stefan