From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.bugs Subject: bug#20484: bug#20202: Considered Harmful 73d213: 'Comint, term, and compile new set Emacs' Date: Fri, 8 Apr 2016 18:47:59 +0100 Message-ID: <8e2b6ff6716e9e7c77a1b6794edbfef3.squirrel@cloud103.planethippo.com> 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> <83bn5ll5i8.fsf@gnu.org> <83a8l5kypx.fsf@gnu.org> <837fg8lh49.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1460137755 1498 80.91.229.3 (8 Apr 2016 17:49:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2016 17:49:15 +0000 (UTC) Cc: phillip.lord@russet.org.uk, eggert@cs.ucla.edu, 20202@debbugs.gnu.org, 20484@debbugs.gnu.org To: "Stefan Monnier" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 08 19:49:14 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 1aoaWv-0007fX-Nd for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Apr 2016 19:49:13 +0200 Original-Received: from localhost ([::1]:57530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoaWr-00052j-NO for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Apr 2016 13:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoaWn-0004zn-CT for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 13:49:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoaWk-0004eK-A3 for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 13:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoaWk-0004eG-6s for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 13:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aoaWk-0003he-1m for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 13:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Phillip Lord" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Apr 2016 17:49: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.146013768814120 (code B ref 20484); Fri, 08 Apr 2016 17:49:02 +0000 Original-Received: (at 20484) by debbugs.gnu.org; 8 Apr 2016 17:48:08 +0000 Original-Received: from localhost ([127.0.0.1]:54864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoaVr-0003fe-Os for submit@debbugs.gnu.org; Fri, 08 Apr 2016 13:48:08 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:36866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoaVp-0003f6-W2; Fri, 08 Apr 2016 13:48:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=zwutknEK94Her3Luu3kfGqXCk4iwDmCIrPSGYlN54Tg=; b=r2gxR6O9Af2OrUiHe/UA1d0O3T 4KavC129L1Sk5ycZEIWH6XA9LhJ3T/1R90mDphIZByTdanCmPIOBVPtGR27hxs2YPhxXHW9AFTDeZ oh/kj15E+YdwP7fn9ZalZgw4MVfmF+33gj0CZYfmeur/hEDk4G6gppLzrBeiDuLLR6+3JzzzqUtMM I0hTjXmOlhtp4Tk0sB7V/r5b+aE0KtBt7SzyKeCbh3ySWmFHz7OhyLzvQ9O4sAsbAFS23Bun6/7xd gQMy9XVJWKUOqiWAJGZ9yZ/lovo0MQXxiyTYR/n0z4mHwkXM6QrWZGpLnJ9DbCsBAGOfjNIWfg9Ai Att9RMUw==; Original-Received: from [127.0.0.1] (port=54488 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.86_1) (envelope-from ) id 1aoaVi-0033wv-V2; Fri, 08 Apr 2016 18:47:59 +0100 Original-Received: from 77.98.219.118 ([77.98.219.118]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Fri, 8 Apr 2016 18:47:59 +0100 In-Reply-To: User-Agent: SquirrelMail/1.5.2 [SVN] X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk 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:116227 Archived-At: On Fri, April 8, 2016 5:46 pm, Stefan Monnier wrote: >> We will never recover from bug reports if the behavior they want is >> not the default. > > The problem in bug#20484 is not due to a wrong behavior in Emacs but to > a wrong behavior in shells (or at the very least a bad interaction between > the two), so there's no point trying to "fix it" on our side only, since > that just introduces other bugs (witness bug#20202). I think the problem, at heart, stems from bash trying do the right thing for Emacs. This is not made any easier by the fact that Emacs needs different things, depending on whether we are in shell or ansi-term. Really, Emacs should just explicitly request which features it needs, rather than saying "I am Emacs, now be right". > Regarding bug#20484 as pointed out by Philip Lord we can address it > without breaking bug#20484 by only reverting the behavior in ansi-term. And there is a simple workaround should we wish for consistent EMACS behaviour in shell and term, which can be applied with in .bashrc or having Emacs inject a command into the new shell. It's "Phillip" actually --- the misspelling is one of the reasons I normally go by "Phil".