GNU bug report logs - #13773
Can't save archive member because of make-directory

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Wed, 20 Feb 2013 22:12:01 UTC

Severity: normal

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13773 in the body.
You can then email your comments to 13773 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13773; Package emacs. (Wed, 20 Feb 2013 22:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 20 Feb 2013 22:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: Can't save archive member because of make-directory
Date: Wed, 20 Feb 2013 17:00:52 -0500
Package: Emacs
Version: 24.3.50


The new "offer to make-directory upon save" is nice, but it breaks the
buffer-save mechanism of zip archive members:

   emacs -Q foo.zip
   Open one of the zip file's members
   Make some change in it
   C-x C-s

This prompts you to create a directory which really already exists
(inside the archive).  It probably affects other packages than arc-mode,
which similarly play with the buffer-save mechanism.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13773; Package emacs. (Thu, 21 Feb 2013 00:40:02 GMT) Full text and rfc822 format available.

Message #8 received at 13773 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 13773 <at> debbugs.gnu.org
Subject: Re: bug#13773: Can't save archive member because of make-directory
Date: Wed, 20 Feb 2013 19:38:39 -0500
Stefan Monnier wrote:

> The new "offer to make-directory upon save" is nice, but it breaks the
> buffer-save mechanism of zip archive members:

Bah. I guess we either provide some mechanism for modes to disable this
(yuck); or, as has already been suggested, move the make-directory part
after the run-hook-with-args-until-success part. That's semi-yuck (some
hooks might want the directory to exist; some, like archive mode, might
not), but I guess it is good enough.




bug closed, send any further explanations to 13773 <at> debbugs.gnu.org and Stefan Monnier <monnier <at> iro.umontreal.ca> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 22 Feb 2013 02:24:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Mar 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.