Kaarthik Sivakumar <kaarthik(a)comcast.net> writes:
================================================================
Dear Bug Team!
desktop.el, supplied as part of edit-utils package has a bug when
trying to save and restore dired buffers. When you exit XEmacs and
then restart it loading .emacs will fail in loading desktop
complaining with the following stack. See below the stack for more
details:
...
The correct solution would be to make desktop-save write out the
entire path of the directory that the buffer is looking at. I am not
sure if a function exists for this purpose.
What a nice coincidence. I was fiddling with this just this morning.
What I did, was change the first few lines of desktop-create-buffer
to:
(if (and desktop-buffer-file-name
(not (file-name-absolute-p desktop-buffer-file-name)))
(setq desktop-buffer-file-name
(expand-file-name desktop-buffer-file-name
desktop-dirname)))
just added a check that desktop-buffer-file-name is not nil. This has
been working so far, but I don't know the full ramifications of it.
--
Brady Montz
bradym(a)balestra.org