bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ivan Shmakov
Subject: bug#19865: tar-untar-buffer: should honor default-directory
Date: Sat, 14 Feb 2015 15:16:01 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> Eli Zaretskii <eliz@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]