From: Eli Zaretskii <eliz@gnu.org>
To: 10708@debbugs.gnu.org
Subject: bug#10708: 24.0.93; desktop.el doesn't restore buffers visiting files in archives
Date: Fri, 03 Feb 2012 05:03:05 -0500 [thread overview]
Message-ID: <7r62fo9que.fsf@fencepost.gnu.org> (raw)
emacs -Q
C-x C-f emacs-24.0.93.tar.gz ;; or any other archive
<in the file listing, go to the line of some file and type RET>
M-x desktop-save RET RET
C-x C-c
emacs -Q
M-: (desktop-read "/directory/where/you/saved/it/above") RET
Expected result: buffers for both the tarball and the file you were
looking at when you typed "C-x C-c" above are restored.
Actual result: the buffer with the tarball is restored, but the buffer
with its member is not. A message in the echo area tells that 1 buffer
"failed to restore". In *Messages*, you will see a message saying
something like
Desktop: File "/home/e/eliz/emacs-24.x/emacs-24.0.93.tar.gz!emacs-24.0.93/lib/strftime.h" no longer exists.
IOW, desktop.el does not realize that this form of file names means an
archive member, and therefore does not extract that member when
restoring the desktop.
In GNU Emacs 24.0.93.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
of 2012-02-02 on fencepost.gnu.org
Configured using:
`configure '--enable-asserts' '--enable-checking' '--with-gif=no'
'--with-tiff=no' 'CFLAGS=-O0 -ggdb -g3 -DGLYPH_DEBUG=1''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC [ > 0 ; 1 3 6 ; 0 c ( d e s k t o p - r e a d SPC
" ~ / e m a c s - 2 4 . x " ) C-j y C-x b * M e s TAB
RET ESC x r e p o r t - e m TAB RET
Recent messages:
("./bzr/emacs/trunk/src/emacs")
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading cc-mode...done
Desktop: File "/home/e/eliz/emacs-24.x/emacs-24.0.93.tar.gz!emacs-24.0.93/lib/strftime.h" no longer exists.
Loading tar-mode...done
File emacs-24.0.93.tar.gz is large (48MB), really open? (y or n) y
uncompressing emacs-24.0.93.tar.gz...done
Parsing tar file...done
Wrote /home/e/eliz/emacs-24.x/.emacs.desktop.lock
Desktop: 1 buffer restored, 1 failed to restore.
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug jka-compr tar-mode cc-mode cc-fonts easymenu cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt desktop
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dynamic-setting font-render-setting move-toolbar
gtk x-toolkit x multi-tty emacs)
next reply other threads:[~2012-02-03 10:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-03 10:03 Eli Zaretskii [this message]
2012-02-03 13:39 ` bug#10708: 24.0.93; desktop.el doesn't restore buffers visiting files in archives Stefan Monnier
2012-02-03 14:48 ` Kevin Rodgers
2012-02-03 15:45 ` Eli Zaretskii
2012-02-03 16:13 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7r62fo9que.fsf@fencepost.gnu.org \
--to=eliz@gnu.org \
--cc=10708@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.