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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 19865 <at> debbugs.gnu.org
Subject: bug#19865: tar-untar-buffer: should honor default-directory
Date: Sat, 14 Feb 2015 16:56:25 +0200
> From: Ivan Shmakov <ivan <at> siamics.net>
> Date: Sat, 14 Feb 2015 13:34:21 +0000
> 
> >>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
> >>>>> From: Ivan Shmakov  Date: Sat, 14 Feb 2015 12:47:48 +0000
> 
>  >> Still, the docstring mentions “current directory”, and it’s exactly
>  >> the thing default-directory references and M-x cd sets.  Thus the
>  >> current behavior doesn’t match the documentation
> 
>  > It does if you don't use "M-x cd".
> 
> 	It doesn’t if you C-x C-w into a file in a different directory.
> 
> 	Or is your point that tar-mode buffer’s default-directory should
> 	/not/ be honored, unless under some specific circumstances
> 	(as in: for a just loaded .tar file)?

My point is that there is no reason to cater to such user behavior.

I agree that there should be a way for the user to extract into a
directory of her choice, but the way to give that capability is to let
the user explicitly request a non-default directory.  Once we have
that capability, any user who complains about the issue you wanted to
fix can be told "just invoke the function with an 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.