X-Loop: help-debbugs@HIDDEN Subject: bug#10708: 24.0.93; desktop.el doesn't restore buffers visiting files in archives Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Feb 2012 10:05:02 +0000 Resent-Message-ID: <handler.10708.B.13282634639836 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 10708 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10708 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.13282634639836 (code B ref -1); Fri, 03 Feb 2012 10:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Feb 2012 10:04:23 +0000 Received: from localhost ([127.0.0.1]:51680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RtG0F-0002Ya-1C for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 05:04:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44483) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <eliz@HIDDEN>) id 1RtG0B-0002YN-OW for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 05:04:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1RtFzU-00018m-S4 for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 05:03:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:42581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1RtFzU-00018c-QY for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 05:03:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1RtFzP-0005wa-3c for bug-gnu-emacs@HIDDEN; Fri, 03 Feb 2012 05:03:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1RtFzH-00016P-65 for bug-gnu-emacs@HIDDEN; Fri, 03 Feb 2012 05:03:31 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:41511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1RtFzH-00016L-4Z for bug-gnu-emacs@HIDDEN; Fri, 03 Feb 2012 05:03:23 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1RtFzG-0005nB-Tv for bug-gnu-emacs@HIDDEN; Fri, 03 Feb 2012 05:03:22 -0500 From: Eli Zaretskii <eliz@HIDDEN> Date: Fri, 03 Feb 2012 05:03:05 -0500 Message-ID: <7r62fo9que.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -4.2 (----) 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)
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Eli Zaretskii <eliz@HIDDEN> Subject: bug#10708: Acknowledgement (24.0.93; desktop.el doesn't restore buffers visiting files in archives) Message-ID: <handler.10708.B.13282634639836.ack <at> debbugs.gnu.org> References: <7r62fo9que.fsf@HIDDEN> X-Gnu-PR-Message: ack 10708 X-Gnu-PR-Package: emacs Reply-To: 10708 <at> debbugs.gnu.org Date: Fri, 03 Feb 2012 10:05:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 10708 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 10708: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10708 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#10708: 24.0.93; desktop.el doesn't restore buffers visiting files in archives Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Feb 2012 13:40:02 +0000 Resent-Message-ID: <handler.10708.B10708.13282763825315 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 10708 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 10708 <at> debbugs.gnu.org Received: via spool by 10708-submit <at> debbugs.gnu.org id=B10708.13282763825315 (code B ref 10708); Fri, 03 Feb 2012 13:40:02 +0000 Received: (at 10708) by debbugs.gnu.org; 3 Feb 2012 13:39:42 +0000 Received: from localhost ([127.0.0.1]:51778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RtJMb-0001Nf-SQ for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 08:39:42 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:12357) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <monnier@HIDDEN>) id 1RtJMa-0001NV-UI for 10708 <at> debbugs.gnu.org; Fri, 03 Feb 2012 08:39:41 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAEXjK09MCqD0/2dsb2JhbABDrHSCKIEGgXIBAQQBViMFCws0EhQYDSSID7hbjAESAgIDBgIEAgEEAgIMBgoBAgGEHQEEBAwCCgIEgzkEiESbAIRa X-IronPort-AV: E=Sophos;i="4.73,352,1325480400"; d="scan'208";a="161055349" Received: from 76-10-160-244.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.244]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Feb 2012 08:39:02 -0500 Received: by pastel.home (Postfix, from userid 20848) id 7536B590EC; Fri, 3 Feb 2012 08:39:02 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwvehucjauj.fsf-monnier+emacs@HIDDEN> References: <7r62fo9que.fsf@HIDDEN> Date: Fri, 03 Feb 2012 08:39:02 -0500 In-Reply-To: <7r62fo9que.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 03 Feb 2012 05:03:05 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) > 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. Of course, the "right" fix is to implement a file-name-handler for tarballs (and other archives), Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#10708: 24.0.93; desktop.el doesn't restore buffers visiting files in archives Resent-From: Kevin Rodgers <kevin.d.rodgers@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Feb 2012 14:49:01 +0000 Resent-Message-ID: <handler.10708.B.132828049111278 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 10708 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10708 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.132828049111278 (code B ref -1); Fri, 03 Feb 2012 14:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Feb 2012 14:48:11 +0000 Received: from localhost ([127.0.0.1]:51793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RtKQs-0002vr-VF for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 09:48:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35247) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1RtKQp-0002vc-DL for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 09:48:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1RtKQC-0000lV-1f for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 09:47:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:56029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1RtKQB-0000lI-PA for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 09:47:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1RtKQ7-0007eD-LG for bug-gnu-emacs@HIDDEN; Fri, 03 Feb 2012 09:47:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1RtKQ3-0000jy-NU for bug-gnu-emacs@HIDDEN; Fri, 03 Feb 2012 09:47:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:60832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1RtKQ3-0000jV-IJ for bug-gnu-emacs@HIDDEN; Fri, 03 Feb 2012 09:47:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1RtKQ0-0005ai-8k for bug-gnu-emacs@HIDDEN; Fri, 03 Feb 2012 15:47:16 +0100 Received: from c-71-237-25-24.hsd1.co.comcast.net ([71.237.25.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <bug-gnu-emacs@HIDDEN>; Fri, 03 Feb 2012 15:47:16 +0100 Received: from kevin.d.rodgers by c-71-237-25-24.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <bug-gnu-emacs@HIDDEN>; Fri, 03 Feb 2012 15:47:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Kevin Rodgers <kevin.d.rodgers@HIDDEN> Date: Fri, 03 Feb 2012 07:48:03 -0700 Lines: 15 Message-ID: <jggs19$9i5$1@HIDDEN> References: <7r62fo9que.fsf@HIDDEN> <jwvehucjauj.fsf-monnier+emacs@HIDDEN> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@HIDDEN X-Gmane-NNTP-Posting-Host: c-71-237-25-24.hsd1.co.comcast.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.26) Gecko/20120129 Thunderbird/3.1.18 In-Reply-To: <jwvehucjauj.fsf-monnier+emacs@HIDDEN> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -4.2 (----) On 2/3/12 6:39 AM, Stefan Monnier wrote: >> 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. > > Of course, the "right" fix is to implement a file-name-handler > for tarballs (and other archives), Is "archive!member" a good syntax? i.e. what about regular files that have "!" in their name? (not to mention archives or archive members that have "!" in their name) -- Kevin Rodgers Denver, Colorado, USA
X-Loop: help-debbugs@HIDDEN Subject: bug#10708: 24.0.93; desktop.el doesn't restore buffers visiting files in archives Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Feb 2012 15:47:02 +0000 Resent-Message-ID: <handler.10708.B10708.132828400217049 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 10708 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kevin Rodgers <kevin.d.rodgers@HIDDEN> Cc: 10708 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 10708-submit <at> debbugs.gnu.org id=B10708.132828400217049 (code B ref 10708); Fri, 03 Feb 2012 15:47:02 +0000 Received: (at 10708) by debbugs.gnu.org; 3 Feb 2012 15:46:42 +0000 Received: from localhost ([127.0.0.1]:52445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RtLLU-0004Qv-C4 for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 10:46:41 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:52485) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <eliz@HIDDEN>) id 1RtLLQ-0004QM-Nm for 10708 <at> debbugs.gnu.org; Fri, 03 Feb 2012 10:46:38 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LYT00600Q9WTG00@HIDDEN> for 10708 <at> debbugs.gnu.org; Fri, 03 Feb 2012 17:45:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.37.111]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYT00642QGJ6580@HIDDEN>; Fri, 03 Feb 2012 17:45:56 +0200 (IST) Date: Fri, 03 Feb 2012 17:45:55 +0200 From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <jggs19$9i5$1@HIDDEN> X-012-Sender: halo1@HIDDEN Message-id: <83obtfex8s.fsf@HIDDEN> References: <7r62fo9que.fsf@HIDDEN> <jwvehucjauj.fsf-monnier+emacs@HIDDEN> <jggs19$9i5$1@HIDDEN> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Kevin Rodgers <kevin.d.rodgers@HIDDEN> > Date: Fri, 03 Feb 2012 07:48:03 -0700 > > On 2/3/12 6:39 AM, Stefan Monnier wrote: > >> 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. > > > > Of course, the "right" fix is to implement a file-name-handler > > for tarballs (and other archives), > > Is "archive!member" a good syntax? We are using it for a long time, and no one ever complained. > i.e. what about regular files that have "!" in their name? desktop.el will need to look for a literal file first, and only then for an archive member. > (not to mention archives or archive members that have "!" in their > name) That is already handled, AFAIR.
X-Loop: help-debbugs@HIDDEN Subject: bug#10708: 24.0.93; desktop.el doesn't restore buffers visiting files in archives Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 03 Feb 2012 16:14:02 +0000 Resent-Message-ID: <handler.10708.B10708.132828563119393 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 10708 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 10708 <at> debbugs.gnu.org, Kevin Rodgers <kevin.d.rodgers@HIDDEN> Received: via spool by 10708-submit <at> debbugs.gnu.org id=B10708.132828563119393 (code B ref 10708); Fri, 03 Feb 2012 16:14:02 +0000 Received: (at 10708) by debbugs.gnu.org; 3 Feb 2012 16:13:51 +0000 Received: from localhost ([127.0.0.1]:52453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RtLlm-00052k-Uk for submit <at> debbugs.gnu.org; Fri, 03 Feb 2012 11:13:51 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:46353) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <monnier@HIDDEN>) id 1RtLll-00052Y-3c for 10708 <at> debbugs.gnu.org; Fri, 03 Feb 2012 11:13:49 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EAAYGLE9MCqD0/2dsb2JhbABDrHWCKIEGgXIBAQQBViMFCws0EhQYDSSID7hejAESAgIDBgIEAgEEAgIMBgoDAYQdAQQEDAIKAgSDOQSIRJsAhFo X-IronPort-AV: E=Sophos;i="4.73,352,1325480400"; d="scan'208";a="161076292" Received: from 76-10-160-244.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.244]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Feb 2012 11:13:09 -0500 Received: by pastel.home (Postfix, from userid 20848) id 276E6590EC; Fri, 3 Feb 2012 11:13:09 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwvr4ybj3qv.fsf-monnier+emacs@HIDDEN> References: <7r62fo9que.fsf@HIDDEN> <jwvehucjauj.fsf-monnier+emacs@HIDDEN> <jggs19$9i5$1@HIDDEN> <83obtfex8s.fsf@HIDDEN> Date: Fri, 03 Feb 2012 11:13:09 -0500 In-Reply-To: <83obtfex8s.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 03 Feb 2012 17:45:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) >> >> 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. >> > Of course, the "right" fix is to implement a file-name-handler >> > for tarballs (and other archives), >> Is "archive!member" a good syntax? I don't know. > We are using it for a long time, and no one ever complained. That's because currently we don't handle such files specially, but with a file-name-handler for it we would need to be careful not to trigger the file-handler for non-archives. Stefan
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.