GNU bug report logs - #13286
save-place-to-alist could call abbreviate-file-name

Previous Next

Package: emacs;

Reported by: Peter Eisentraut <peter_e <at> gmx.net>

Date: Thu, 27 Dec 2012 15:35:01 UTC

Severity: wishlist

Tags: easy

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13286 in the body.
You can then email your comments to 13286 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13286; Package emacs. (Thu, 27 Dec 2012 15:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Eisentraut <peter_e <at> gmx.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 27 Dec 2012 15:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Eisentraut <peter_e <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: save-place-to-alist could call abbreviate-file-name
Date: Thu, 27 Dec 2012 10:33:25 -0500
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 can also try to supply a patch if there is an agreement on the approach.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13286; Package emacs. (Thu, 03 Jan 2013 16:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 13286 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Peter Eisentraut <peter_e <at> gmx.net>
Cc: 13286 <at> debbugs.gnu.org
Subject: Re: bug#13286: save-place-to-alist could call abbreviate-file-name
Date: Thu, 03 Jan 2013 11:22:31 -0500
> 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 would make a lot of sense, yes.


        Stefan




Added tag(s) easy. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 28 Oct 2020 14:13:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13286; Package emacs. (Thu, 15 Jul 2021 16:05:02 GMT) Full text and rfc822 format available.

Message #13 received at 13286 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Peter Eisentraut <peter_e <at> gmx.net>
Cc: 13286 <at> debbugs.gnu.org
Subject: Re: bug#13286: save-place-to-alist could call abbreviate-file-name
Date: Thu, 15 Jul 2021 18:04:11 +0200
Peter Eisentraut <peter_e <at> gmx.net> 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




bug marked as fixed in version 28.1, send any further explanations to 13286 <at> debbugs.gnu.org and Peter Eisentraut <peter_e <at> gmx.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 15 Jul 2021 16:05:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Aug 2021 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.