GNU bug report logs - #19865
tar-untar-buffer: should honor default-directory

Previous Next

Package: emacs;

Reported by: Ivan Shmakov <ivan <at> siamics.net>

Date: Sat, 14 Feb 2015 11:32:01 UTC

Severity: minor

Tags: fixed, patch

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Wolfgang Jenkner <wjenkner <at> inode.at>
Cc: 19865 <at> debbugs.gnu.org, monnier <at> IRO.UMontreal.CA, ivan <at> siamics.net
Subject: Re: bug#19865: tar-untar-buffer: should honor default-directory
Date: Tue, 17 Feb 2015 20:02:29 +0200
> From: Wolfgang Jenkner <wjenkner <at> inode.at>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  ivan <at> siamics.net,  19865 <at> debbugs.gnu.org
> Date: Tue, 17 Feb 2015 18:03:26 +0100
> 
> The shell analogy might be a bit misleading and is perhaps the reason
> why you seem to be talking past each other: Personally, at the shell
> command line, I don't change to the directory holding the tarball,
> instead I change to the directory where I want to extract it, like this
> 
> $ cd ~/src; tar xvf ~/Downloads/foo.tar.gz
> 
> This is quite different from the situation in emacs where
> 
> C-x C-f ~/Downloads/foo.tar.gz
> 
> results in buffers whose default-directory is ~/Downloads, hence the
> reason why doing M-x cd ~/src in the non-hidden buffer should have the
> effect as in the proposed patch.

To solve this problem, I proposed, in the beginning of this thread, to
allow the user to specify a directory where to extract the tarball, by
invoking the command with a prefix argument.




This bug report was last modified 5 years and 331 days ago.

Previous Next


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