desktop-read fails if desktop-file-name-format is set to "local"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs23 (Ubuntu) |
New
|
Undecided
|
Unassigned |
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-
To replicate:
mkdir testdir
mkdir testsubdir
touch testdir/
emacs
<in emacs> M-x desktop-
<in emacs> C-f testdir/
<in emacs> M-x set-variable desktop-
<in emacs> M-x desktop-
<in emacs> C-x C-c
emacs
<in emacs> M-x desktop-
The buffer tied to testdir/
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-
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)
ProcVersionSign
Uname: Linux 2.6.32-
Architecture: i386
Date: Mon Jun 28 15:21:03 2010
InstallationMedia: Ubuntu-
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: emacs23
tags: | removed: desktop-file-name-format desktop-restore desktop-save desktop.el emacs emacs23 |
affects: | emacs → ubuntu |
no longer affects: | ubuntu |