From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: proposition about bookmark-buffer-file-name in bookmark.el Date: Wed, 19 Nov 2008 13:21:18 -0500 Message-ID: <87skpnbmqp.fsf@red-bean.com> References: <874p24i2u3.fsf@red-bean.com> Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227118919 4342 80.91.229.12 (19 Nov 2008 18:21:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2008 18:21:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Toru TSUNEYOSHI" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 19 19:23:02 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 1L2rha-0006VB-VI for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2008 19:22:59 +0100 Original-Received: from localhost ([127.0.0.1]:56153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2rgS-0000mR-5o for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2008 13:21:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2rg2-0000Vi-H9 for emacs-devel@gnu.org; Wed, 19 Nov 2008 13:21:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2rg1-0000V7-LX for emacs-devel@gnu.org; Wed, 19 Nov 2008 13:21:22 -0500 Original-Received: from [199.232.76.173] (port=37577 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2rg1-0000V1-FK for emacs-devel@gnu.org; Wed, 19 Nov 2008 13:21:21 -0500 Original-Received: from sanpietro.red-bean.com ([66.146.193.61]:42617) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L2rg1-0007hl-3O for emacs-devel@gnu.org; Wed, 19 Nov 2008 13:21:21 -0500 Original-Received: from localhost ([127.0.0.1]:56774 helo=floss) by sanpietro.red-bean.com with esmtp (Exim 4.69) (envelope-from ) id 1L2rfy-0002qO-Lb; Wed, 19 Nov 2008 12:21:18 -0600 In-Reply-To: (Toru TSUNEYOSHI's message of "Wed, 19 Nov 2008 21:32:32 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/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:105821 Archived-At: "Toru TSUNEYOSHI" writes: >> This sounds reasonable to me, but could you give examples of what the >> new names would look like for those kinds of bookmarks? > > Sorry, I can't understand you clearly. What I meant was, could you describe the effect your change will have? I mean the effect that will be visible to users. > examples of `bookmark-buffer-file-name' processing: > > case: > home directory: "d:/home/user/" > dired-directory: "d:/home/user/xyz/" > > (bookmark-buffer-file-name) > now > => "d:/home/user/xyz/" > wish > => "~/xyz/" This looks good to me! >> (By the way, expressing the proposed change in 'patch' format is >> probably the most precise way to communicate it.) >> >> Thanks, >> -Karl > > Yes. > I use `defadvice' in practice. > But I made a patch for bookmark.el temporarily. Can you post that patch? Thanks, -Karl