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: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 19865 <at> debbugs.gnu.org, ivan <at> siamics.net
Subject: bug#19865: tar-untar-buffer: should honor default-directory
Date: Sun, 15 Feb 2015 20:43:17 -0500
> So we now need someone third to resolve the tie.

I don't see why you object: the command is executed by the user in one
buffer, and it just so happens that its implementation switches
to some internal auxiliary buffer.  The value of `default-directory'
that should be used is the one that the user knows about, not the one
kept by the hidden buffer, over which the user has no control.

This behavior is an unintended result of my change in tar-mode where we
now have 2 buffers (rather than keeping all the raw tar data in the same
buffer as the pretty list, hidden via narrowing).


        Stefan




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.