** Tags removed: desktop-file-name-format desktop-restore desktop-save desktop.el emacs emacs23
** Project changed: emacs => ubuntu ** No longer affects: ubuntu -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to emacs23 in Ubuntu. https://bugs.launchpad.net/bugs/599597 Title: desktop-read fails if desktop-file-name-format is set to "local" Status in emacs23 package in Ubuntu: New Bug description: Binary package hint: emacs23 (Encountered in Emacs from package 23.1+1-4ubuntu7, Ubuntu 10.04 LTS, ) Buffers won't restore during desktop-read if the variable desktop- file-name-format was set to local when the the desktop file was saved. To replicate: mkdir testdir mkdir testsubdir touch testdir/testsubdir/testfile emacs <in emacs> M-x desktop-change-directory testdir/testsubdir/ <in emacs> C-f testdir/testsubdir/testfile <in emacs> M-x set-variable desktop-file-name-format local <in emacs> M-x desktop-save-in-desktop-dir testdir/testsubdir/ <in emacs> C-x C-c emacs <in emacs> M-x desktop-change-directory testdir/testsubdir/ The buffer tied to testdir/testsubdir/testfile will fail to restore, in spite of its path relative to the desktop file being correct in the desktop file. I found that the buffers listed in the desktop file will restore if I do the following: 1. M-x cd testdir/testsubdir 2. M-x desktop-change-directory testdir/testsubdir (buffers will fail to restore) 3. Repeat 1 & 2 (buffers will restore successfully this time around) But why should this be necessary? Shouldn't they restore if the active directory is the same as the desktop directory in the first place? ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: emacs (not installed) ProcVersionSignature: Ubuntu 2.6.32-22.35-generic-pae 2.6.32.11+drm33.2 Uname: Linux 2.6.32-22-generic-pae i686 Architecture: i386 Date: Mon Jun 28 15:21:03 2010 InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4) ProcEnviron: LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: emacs23 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/599597/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp