From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wolfgang Jenkner Newsgroups: gmane.emacs.bugs Subject: bug#19865: tar-untar-buffer: should honor default-directory Date: Tue, 17 Feb 2015 18:03:26 +0100 Message-ID: <85y4nwii2h.fsf@iznogoud.viz> References: <87a90gd91b.fsf@violet.siamics.net> <83sie8wn8z.fsf@gnu.org> <831tlpvp35.fsf@gnu.org> <83twyltz5x.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424192851 9537 80.91.229.3 (17 Feb 2015 17:07:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2015 17:07:31 +0000 (UTC) Cc: ivan@siamics.net, 19865@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 17 18:07:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YNlc8-0006uN-CF for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Feb 2015 18:07:12 +0100 Original-Received: from localhost ([::1]:46523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNlc7-0000NG-OM for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Feb 2015 12:07:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNlc2-0000Mo-1r for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 12:07:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNlbx-0008Gt-Uh for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 12:07:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNlbx-0008Gl-S6 for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 12:07:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YNlbx-0006tP-Ja for bug-gnu-emacs@gnu.org; Tue, 17 Feb 2015 12:07:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87a90gd91b.fsf@violet.siamics.net> Resent-From: Wolfgang Jenkner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Feb 2015 17:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19865 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 19865-submit@debbugs.gnu.org id=B19865.142419278826456 (code B ref 19865); Tue, 17 Feb 2015 17:07:01 +0000 Original-Received: (at 19865) by debbugs.gnu.org; 17 Feb 2015 17:06:28 +0000 Original-Received: from localhost ([127.0.0.1]:46507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNlbQ-0006sd-7J for submit@debbugs.gnu.org; Tue, 17 Feb 2015 12:06:28 -0500 Original-Received: from b2bfep15.mx.upcmail.net ([62.179.121.60]:33481) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNlbN-0006sP-Oh for 19865@debbugs.gnu.org; Tue, 17 Feb 2015 12:06:26 -0500 Original-Received: from edge12.upcmail.net ([192.168.13.82]) by b2bfep15.mx.upcmail.net (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20150217170619.FVBL27307.b2bfep15-int.chello.at@edge12.upcmail.net> for <19865@debbugs.gnu.org>; Tue, 17 Feb 2015 18:06:19 +0100 Original-Received: from iznogoud.viz ([91.119.101.156]) by edge12.upcmail.net with edge id tV6F1p0063NTfpn0CV6F5x; Tue, 17 Feb 2015 18:06:19 +0100 X-SourceIP: 91.119.101.156 Original-Received: from wolfgang by iznogoud.viz with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1YNlbC-000OAP-P0; Tue, 17 Feb 2015 18:06:14 +0100 User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (berkeley-unix) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99498 Archived-At: On Mon, Feb 16 2015, Stefan Monnier wrote: > [Eli wrote:] >> It's the same as working in the shell: > > That's also my impression. 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.