GNU bug report logs -
#19865
tar-untar-buffer: should honor default-directory
Previous Next
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
>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>>>> From: Ivan Shmakov Date: Sat, 14 Feb 2015 13:34:21 +0000
[…]
>> 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.
That is: to the possible use of C-x C-w to save the (possibly
modified) Tar archive to a new file in some arbitrary directory?
Also to note is that thanks to the tar-new-entry command, it’s
possible to create .tar archives entirely in Emacs. Consider:
C-x b *new* RET
M-x tar-mode RET
C-x C-q
I newfile RET
RET
Hello, world!
C-x C-s
C-x b *new* RET
C-x C-w /where/my/tar/files/are.tar RET
Now, where do you think M-x tar-untar-buffer RET would unpack
this newly created archive?
[…]
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
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.