From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#20484: bug#20202: Considered Harmful 73d213: 'Comint, term, and compile new set Emacs' Date: Thu, 07 Apr 2016 18:20:08 -0400 Message-ID: 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> <87egahtcrt.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460067684 13305 80.91.229.3 (7 Apr 2016 22:21:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2016 22:21:24 +0000 (UTC) Cc: Paul Eggert , 20484@debbugs.gnu.org, 20202@debbugs.gnu.org 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 00:21: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 1aoIIb-0001YY-3F for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Apr 2016 00:21:13 +0200 Original-Received: from localhost ([::1]:52442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoIIa-0006kc-Dg for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Apr 2016 18:21:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoIIT-0006gX-OZ for bug-gnu-emacs@gnu.org; Thu, 07 Apr 2016 18:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoIIR-0004YU-02 for bug-gnu-emacs@gnu.org; Thu, 07 Apr 2016 18:21:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoIIQ-0004YQ-SW for bug-gnu-emacs@gnu.org; Thu, 07 Apr 2016 18:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aoIIQ-0003Eu-Oa for bug-gnu-emacs@gnu.org; Thu, 07 Apr 2016 18:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Apr 2016 22:21: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.146006761512368 (code B ref 20484); Thu, 07 Apr 2016 22:21:02 +0000 Original-Received: (at 20484) by debbugs.gnu.org; 7 Apr 2016 22:20:15 +0000 Original-Received: from localhost ([127.0.0.1]:53292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoIHf-0003DL-AP for submit@debbugs.gnu.org; Thu, 07 Apr 2016 18:20:15 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:4977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoIHd-0003D2-PR; Thu, 07 Apr 2016 18:20:14 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A+FgA731xV/wl73mhcgxCEAoVVwwsEAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNUogJCM8jAQEBAQYBAQEBHos6hQUHhC0FtQQjgjuBWSKCeAEBAQ X-IPAS-Result: A0A+FgA731xV/wl73mhcgxCEAoVVwwsEAgKBPD0QAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNUogJCM8jAQEBAQYBAQEBHos6hQUHhC0FtQQjgjuBWSKCeAEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="205414541" Original-Received: from 104-222-123-9.cpe.teksavvy.com (HELO pastel.home) ([104.222.123.9]) by ironport2-out.teksavvy.com with ESMTP; 07 Apr 2016 18:20:08 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3235E64239; Thu, 7 Apr 2016 18:20:08 -0400 (EDT) In-Reply-To: <87egahtcrt.fsf@russet.org.uk> (Phillip Lord's message of "Thu, 07 Apr 2016 20:55:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:116176 Archived-At: > So, bash has a command line option to achieve the same thing as EMACS=t. or the code can be changed to use $INSIDE_EMACS or the user could tell Emacs to set EMACS=t or the user could upgrade to the (upcoming) next release of Bash. 4 options for Bash, one of them will actually become the default in the future. So Bash is not a big problem here. > I've checked tcsh and as far as I can tell, here, there is no clear > solution. EMACS=t is used, and it's deep in the init code. In my hands, > directory tracking in tcsh does not work in ansi-term either way. So, does anything break if we don't have EMACS=t? It sounds like it's a non-issue. > Zsh does not, AFAICT, use EMACS=t (it's hard to be sure searching > through the code, since most instances of "emacs" refer to zsh's > emulation of Emacs). In fact, though, as the FAQ entry you found shows, > zsh actually does this... > > /* unset zle if using zsh under emacs */ > if (!strcmp(term, "emacs")) > opts[USEZLE] = 0; > > which, according to the faq is behaviour from < Emacs-19.29. Indeed, this code has been useless for many years already since Emacs doesn't set $TERM to "emacs" any more. > So, zsh users already explicitly tell their zsh what to do. So we don't have any evidence that removing EMACS=t will have any effect on Zsh users either. Stefan