From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13286: save-place-to-alist could call abbreviate-file-name Date: Thu, 15 Jul 2021 18:04:11 +0200 Message-ID: <877dhrimx0.fsf@gnus.org> References: <50DC6A45.4010907@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36091"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 13286@debbugs.gnu.org To: Peter Eisentraut Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 15 18:05:36 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m43rk-0009Db-D3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 18:05:36 +0200 Original-Received: from localhost ([::1]:38566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m43rj-0001py-E6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 12:05:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m43rC-0001WV-H1 for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 12:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m43rC-0002b8-9D for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 12:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m43rC-0001pL-4m for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 12:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jul 2021 16:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: easy Original-Received: via spool by 13286-submit@debbugs.gnu.org id=B13286.16263650636923 (code B ref 13286); Thu, 15 Jul 2021 16:05:02 +0000 Original-Received: (at 13286) by debbugs.gnu.org; 15 Jul 2021 16:04:23 +0000 Original-Received: from localhost ([127.0.0.1]:49519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m43qZ-0001nb-0P for submit@debbugs.gnu.org; Thu, 15 Jul 2021 12:04:23 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:58606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m43qW-0001nG-Pm for 13286@debbugs.gnu.org; Thu, 15 Jul 2021 12:04:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Hu+5VjhmA+wsBlFdo5ofAPHa+zJ56Aoh9ZYdeBwd9ik=; b=AmIBQWt+sRskRz74iJTzBhhQst cW2ryvfkj7j5qshqtCZdpuj8C9GaB2V8eYfNihso12xbxJ8J+b5Tcw37Q7riHXlD778baewfesDlL 41l9N9+c09zsIwsJHC6PwaWr37qkuR96nlo8cUfc4VnhwR0I/e0nCZ1E/2rMGAqGw2rA=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m43qN-0001yh-OR; Thu, 15 Jul 2021 18:04:14 +0200 X-Now-Playing: Soft as Snow's _#savefabric (8)_: "I Adore (Troy Gunner Remix)" In-Reply-To: <50DC6A45.4010907@gmx.net> (Peter Eisentraut's message of "Thu, 27 Dec 2012 10:33:25 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210041 Archived-At: Peter Eisentraut writes: > This is a wishlist item that applies to all released Emacs versions and > current Git master. > > I suggest that save-place-to-alist in lisp/saveplace.el be enabled to > call abbreviate-file-name on the file names it writes out to the > .emacs-places file. That way, it is easier (or possible) to share this > file across hosts, if for example the home directories are in a > different place. > > Ideally, this could just be done all the time, but maybe there is a > reason for this not to be done? In that case, maybe a Boolean > configuration variable or a filter function could be used. I've now added this user option to Emacs 28 under the name `save-place-abbreviate-file-names'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no