From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <7r62fo9que.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328263486 11604 80.91.229.3 (3 Feb 2012 10:04:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2012 10:04:46 +0000 (UTC) To: 10708@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 03 11:04:45 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RtG0a-0003MS-JV for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Feb 2012 11:04:44 +0100 Original-Received: from localhost ([::1]:34768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtG0a-0006Pd-5I for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Feb 2012 05:04:44 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:57611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtG0S-0006PB-Mp for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 05:04:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtG0M-0001sW-T7 for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 05:04:36 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtG0M-0001sN-NC for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 05:04:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RtG0s-0002ZY-BA for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 05:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2012 10:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10708 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13282634639836 (code B ref -1); Fri, 03 Feb 2012 10:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Feb 2012 10:04:23 +0000 Original-Received: from localhost ([127.0.0.1]:51680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtG0F-0002Ya-1C for submit@debbugs.gnu.org; Fri, 03 Feb 2012 05:04:23 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44483) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtG0B-0002YN-OW for submit@debbugs.gnu.org; Fri, 03 Feb 2012 05:04:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtFzU-00018m-S4 for submit@debbugs.gnu.org; Fri, 03 Feb 2012 05:03:42 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:42581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtFzU-00018c-QY for submit@debbugs.gnu.org; Fri, 03 Feb 2012 05:03:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtFzP-0005wa-3c for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 05:03:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtFzH-00016P-65 for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 05:03:31 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:41511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtFzH-00016L-4Z for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 05:03:23 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RtFzG-0005nB-Tv for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 05:03:22 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56414 Archived-At: emacs -Q C-x C-f emacs-24.0.93.tar.gz ;; or any other archive 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)