From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20484: bug#20202: Considered Harmful 73d213: 'Comint, term, and compile new set Emacs' Date: Fri, 08 Apr 2016 10:01:59 +0300 Message-ID: <8360vslh20.fsf@gnu.org> References: <87oa9otixb.fsf@russet.org.uk> <5703E15B.7080601@cs.ucla.edu> <87k2kcovt8.fsf@russet.org.uk> <5704233B.4020103@cs.ucla.edu> <8737qzso88.fsf@russet.org.uk> <57045765.4000309@cs.ucla.edu> <87r3ei8vz9.fsf@russet.org.uk> <5705B246.10201@cs.ucla.edu> <5706764D.2010708@cs.ucla.edu> <282e74a937853505fddfea446c9bc46e.squirrel@cloud103.planethippo.com> <57067BF6.6000700@cs.ucla.edu> <4355cfa8cbbd947770537a9006732db0.squirrel@cloud103.planethippo.com> <57068A18.40207@cs.ucla.edu> <87a8l5t7sf.fsf@russet.org.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1460098999 10091 80.91.229.3 (8 Apr 2016 07:03:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2016 07:03:19 +0000 (UTC) Cc: 20484@debbugs.gnu.org, eggert@cs.ucla.edu, 20202@debbugs.gnu.org, monnier@iro.umontreal.ca To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 08 09:03:13 2016 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 1aoQRj-00054d-TU for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Apr 2016 09:03:12 +0200 Original-Received: from localhost ([::1]:54465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoQRj-00034c-4S for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Apr 2016 03:03:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoQRf-00032w-8n for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 03:03:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoQRb-00078y-02 for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 03:03:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoQRa-00078t-UN for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 03:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aoQRa-00007h-Ol for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 03:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Apr 2016 07:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20484 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20484-submit@debbugs.gnu.org id=B20484.1460098949398 (code B ref 20484); Fri, 08 Apr 2016 07:03:02 +0000 Original-Received: (at 20484) by debbugs.gnu.org; 8 Apr 2016 07:02:29 +0000 Original-Received: from localhost ([127.0.0.1]:53402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoQR2-00006M-UK for submit@debbugs.gnu.org; Fri, 08 Apr 2016 03:02:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoQR0-000069-PD for 20484@debbugs.gnu.org; Fri, 08 Apr 2016 03:02:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoQQs-0006oQ-1H for 20484@debbugs.gnu.org; Fri, 08 Apr 2016 03:02:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoQQq-0006nh-Fg; Fri, 08 Apr 2016 03:02:16 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3819 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aoQQp-000884-5U; Fri, 08 Apr 2016 03:02:15 -0400 In-reply-to: <87a8l5t7sf.fsf@russet.org.uk> (phillip.lord@russet.org.uk) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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:116181 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Date: Thu, 07 Apr 2016 22:42:40 +0100 > Cc: 20202@debbugs.gnu.org, 20484@debbugs.gnu.org, monnier@iro.umontreal.ca > > Incidentally, I have looked again at #20484. What ever it is that is > supporting the directory tracking, it is not the EMACS=t behaviour of > bash, since in ansi-term we have: > > (format "EMACS=%s (term:%s)" emacs-version term-protocol-version) > > This usage will happily not break cask, since it was never supported in > the first place. > > On the other hand, directory tracking works just fine in M-x shell in > both Emacs-25.0.91, and Emacs-25 head. So, the EMACS=t setting is not > an issue there either. And, dir tracking is not an issue at all for M-x > compile. > > This suggests a simple fix: restore beaab89, except for the bit dealing > with ansi-term, which remains for the sake of future compatability. Both > bug reports are fixed. Anyone launching cask (or the make files Eli > Barzilay talked about in #20202) inside ansi-term may still have > problems. > > ansi-term is already exceptional, note, because it does not obey the > "don't fiddle with EMACS if EMACS is already set" semantics. EMACS=t is for the old versions of Bash and other shells that look at that. So your proposal doesn't solve those problems, AFAIU.