From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#19524: 24.4; term.el directory tracking documentation Date: Thu, 25 Jul 2019 18:38:00 -0400 Message-ID: <871rydwxiv.fsf@gmail.com> References: <1420577759.5087.7.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="108415"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) Cc: 19524@debbugs.gnu.org To: Aaron Paden Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 26 00:39:09 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqmOD-000S5s-BA for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2019 00:39:09 +0200 Original-Received: from localhost ([::1]:35646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqmOB-0008S1-Uh for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jul 2019 18:39:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60687) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqmO7-0008Ra-Bz for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 18:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqmO6-0007bq-0Q for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 18:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59978) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqmO5-0007be-Rq for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 18:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hqmO5-0003oN-OG for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 18:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2019 22:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19524 X-GNU-PR-Package: emacs Original-Received: via spool by 19524-submit@debbugs.gnu.org id=B19524.156409428814560 (code B ref 19524); Thu, 25 Jul 2019 22:39:01 +0000 Original-Received: (at 19524) by debbugs.gnu.org; 25 Jul 2019 22:38:08 +0000 Original-Received: from localhost ([127.0.0.1]:40561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqmNE-0003mg-CF for submit@debbugs.gnu.org; Thu, 25 Jul 2019 18:38:08 -0400 Original-Received: from mail-io1-f67.google.com ([209.85.166.67]:35474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqmNC-0003lZ-QN; Thu, 25 Jul 2019 18:38:07 -0400 Original-Received: by mail-io1-f67.google.com with SMTP id m24so100773463ioo.2; Thu, 25 Jul 2019 15:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=zGMJQ4WMcDolgiJH0thbb3wJwbAxyiwi9I5Zx3Pb8IY=; b=ZXvwriHSgMp7OjudpelMOYagIXGhAP8ahPCN3LL0HhByYcbnRkOKNDj/ljGvEFkZ/p pwX5i1/gZ6bjml8B6ji9LaMmuR5iByNNY8NKPOs/ZavFEkLkE10GKdKZmq2sVGseIcCo O7w/HGbOchf/ChzRaOWFTqwoaXUIc2E/OHzDthDhOVF8ramSQdbfG/C82D6PeYI13Is/ KcKJ1dHPb2hiWwjbJ9Y7i+9vpsFdCqJnW9WQT0lnojs+2+j+tGVcvmYA+Da37BcAw+uJ qk8tm0yhXy6x/TvDIVNzQHGiuU6mE9jfDNfJr1+aXhKBERjpesrGf/dZUrAO2udVIBOV go8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=zGMJQ4WMcDolgiJH0thbb3wJwbAxyiwi9I5Zx3Pb8IY=; b=Eb/Ro6mr6fs4Flpy9HRPK26R/ZSQLzqG1UNATt9E6RaWIyxiM/Op4npru/6eTaVTIW /rTv1bIMMM7qgmPCZEUHX0KDN1/tM1DT5UDVpmfVqGAFlt74ydhrPmy2UQ7n4EF2zfuO PzaPHSlvkC1F9pwbD4Yqn9PqUWzkQSmWHg5aJXE/3GqEBgaPQzR/7R8qIuqKGHMq6UH6 Ovm4qLed7xLVAm5jZ0nEpJUF9lYbbThwmiDYiSYNs8ILmyicewfw7RARpDNVrzy4h307 IAbRMGzFNe/xv9skWRmheMYMGmz5T7K/ELCwBAGxM//zmvRaSbhY5gd2JdnYh8fSHfOG hDSw== X-Gm-Message-State: APjAAAVYZxg7MBbHjOIIsgrrdyhB730qVe/veIFDLeZeJ0Jkqy/QtqWE YXYcqZ5/9CC8ZyZSHzaUK7yoTun2 X-Google-Smtp-Source: APXvYqyvol+RHJKSAz7cjzJRkv34ZLJt6E4KQIbvhCniJAh1maMKiVcTp//9mXh2ZUI20tTR7BvRqQ== X-Received: by 2002:a02:b812:: with SMTP id o18mr88413553jam.64.1564094281100; Thu, 25 Jul 2019 15:38:01 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id s15sm39521546ioe.88.2019.07.25.15.38.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 15:38:00 -0700 (PDT) In-Reply-To: <1420577759.5087.7.camel@gmail.com> (Aaron Paden's message of "Tue, 06 Jan 2015 14:55:59 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:163745 Archived-At: tags 19524 fixed close 19524 26.3 quit Aaron Paden writes: > The method documented in term.el for tracking your directory doesn't > work or doesn't work for all cases. This is actually a problem I > stumbled on some time ago, but I was reminded of it recently after > trying out fish shell. See: > > http://unix.stackexchange.com/questions/70764/get-zsh-to-report-directory= -t=3Do-emacs > > The method I found that worked was actually derived from the bash source > code, and is much simpler Here is an example function for fish shell: > > function cd > builtin cd $argv > if test $TERM =3D eterm -o $TERM =3D eterm-color > echo \032/(pwd) #IMPORTANT > end > end > > I don't need to tell emacs my user or hostname. Actually =E2=80=94 doing = so > results in tramp errors. Also, the escape used is different than what is > documented. I've updated the term.el commentary in emacs-26. 7f42277b96 2019-07-25T18:23:55-04:00 "Mention term.el's \032 dir tracking i= n commentary (Bug#19524)" https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D7f42277b9613086196= 7de3936defb0ef5bf07fbb