From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Considered Harmful 73d213: "Comint, term, and compile new set Emacs" Date: Tue, 5 Apr 2016 13:42:35 -0700 Organization: UCLA Computer Science Department Message-ID: <5704233B.4020103@cs.ucla.edu> References: <87oa9otixb.fsf@russet.org.uk> <5703E15B.7080601@cs.ucla.edu> <87k2kcovt8.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1459889023 27035 80.91.229.3 (5 Apr 2016 20:43:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2016 20:43:43 +0000 (UTC) Cc: eggert@penguin.cs.ucla.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Phillip Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 05 22:43:34 2016 Return-path: Envelope-to: ged-emacs-devel@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 1anXoz-0003s3-H6 for ged-emacs-devel@m.gmane.org; Tue, 05 Apr 2016 22:43:33 +0200 Original-Received: from localhost ([::1]:39192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anXox-0000bo-UN for ged-emacs-devel@m.gmane.org; Tue, 05 Apr 2016 16:43:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anXoA-0008Mo-Sw for emacs-devel@gnu.org; Tue, 05 Apr 2016 16:42:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anXo5-0001t3-PY for emacs-devel@gnu.org; Tue, 05 Apr 2016 16:42:42 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anXo5-0001sx-JY for emacs-devel@gnu.org; Tue, 05 Apr 2016 16:42:37 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 51F4A16126F; Tue, 5 Apr 2016 13:42:36 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id jI06CLO5z8i7; Tue, 5 Apr 2016 13:42:35 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9C7B5161271; Tue, 5 Apr 2016 13:42:35 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GUfDBjJIBayr; Tue, 5 Apr 2016 13:42:35 -0700 (PDT) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 8204316126F; Tue, 5 Apr 2016 13:42:35 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 In-Reply-To: <87k2kcovt8.fsf@russet.org.uk> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202753 Archived-At: On 04/05/2016 09:38 AM, Phillip Lord wrote: > I don't > have a workaround, I have limited the scope of the existing workaround > to Emacs-24. Would something like the following be an adequate workaround? The idea is to have code that works with both Emacs 25 and Emacs 24 (and Emacs 23 etc., for that matter): def get_emacs_from_env(): emacs = ENVB.get(b'CASK_EMACS') if emacs: return emacs emacs = ENVB.get(b'EMACS') if emacs != 't': return emacs return None > Is there not a different solution to the bash problem? Passing > --noediting as an option would work, I think, and it should work with > both the old and new $EMACS handling of bash. > Part of the worry here is that programs other than Bash will be affected, and that we need to give people some time to adjust to the changed behavior of Emacs, by announcing the planned change in Emacs 25 and then actually making the change in a later Emacs release.