GNU bug report logs - #10977
24.0.94; filename "emacs.desktop" collides with kde xy*.desktop logic

Previous Next

Package: emacs;

Reported by: Thomas Rikl <trikl <at> online.de>

Date: Fri, 9 Mar 2012 09:58:02 UTC

Severity: wishlist

Found in version 24.0.94

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thomas Rikl <trikl <at> online.de>
To: 10977 <at> debbugs.gnu.org
Subject: bug#10977: detail from .xession-errors concerning .desktop extension of ~./emacs.desktop
Date: Sat, 10 Mar 2012 20:16:55 +0100
Am 10.03.2012 15:31, schrieb Stefan Monnier:
>>> But in the future it probably would be more consistent with the rest of
>>> Emacs if desktop used user-emacs-directory in preference to the home
>>> directory, if no desktop-file already exists in the home directory.
>> I agree, FWIW.
> That's already the case at least for searching:
>
>     (defcustom desktop-path (list "." user-emacs-directory "~")
>
>
> -- Stefan
After login "." and "~" are the same place, this prevents from nothing. 
In my eyes a smart migration to a name *desktop_whatever*.el  is a 
robust and straitforward solution. In case of a new creation take the 
new name, in case of searching an already existing desktop search first 
for the new name then for the "old" name.

After 5 years or so drop the handling of the old scheme mentioned in the 
"release notes" alternative cleanup the mechanism with the intro of 24.1 
. (Perhaps I'm naive)

For me the extension .desktop is associated with graphical desktops like 
KDE independent how long and since when emacs made use of this expression.

The lines:  (setq desktop-base-file-name ".emacs-desktop.el")
(desktop-save-mode 1) in  ~/.emacs satisfy me.


What are computers good for ? They solve problems we never had without them.






This bug report was last modified 13 years and 24 days ago.

Previous Next


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