From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#20202: EMACS=t Joy and Happiness Date: Fri, 25 May 2018 13:36:03 -0700 Organization: UCLA Computer Science Department Message-ID: <85133880-5ae1-223a-50e6-4646adbf8052__25620.2586963356$1527280508$gmane$org@cs.ucla.edu> References: <87tvqw4w8s.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------9155CDE1424DD4CFAD5C4BE2" X-Trace: blaine.gmane.org 1527280508 18611 195.159.176.226 (25 May 2018 20:35:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 May 2018 20:35:08 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 Cc: 20484@debbugs.gnu.org, 20202@debbugs.gnu.org, Stefan Monnier To: Phillip Lord , Emacs-Devel devel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 25 22:35:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMJQV-0004jd-2t for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 May 2018 22:35:03 +0200 Original-Received: from localhost ([::1]:46620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMJSc-0001yH-6H for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 May 2018 16:37:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMJSS-0001xH-6d for bug-gnu-emacs@gnu.org; Fri, 25 May 2018 16:37:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMJSQ-0000Wh-TJ for bug-gnu-emacs@gnu.org; Fri, 25 May 2018 16:37:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMJSQ-0000W4-P4 for bug-gnu-emacs@gnu.org; Fri, 25 May 2018 16:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fMJSQ-0006Y1-6b for bug-gnu-emacs@gnu.org; Fri, 25 May 2018 16:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 May 2018 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20202 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20202-submit@debbugs.gnu.org id=B20202.152728057325107 (code B ref 20202); Fri, 25 May 2018 20:37:02 +0000 Original-Received: (at 20202) by debbugs.gnu.org; 25 May 2018 20:36:13 +0000 Original-Received: from localhost ([127.0.0.1]:48759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMJRd-0006Ws-3b for submit@debbugs.gnu.org; Fri, 25 May 2018 16:36:13 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMJRb-0006Wb-44; Fri, 25 May 2018 16:36:11 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0D6E11600B2; Fri, 25 May 2018 13:36:05 -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 X-vhxVxhVOB2; Fri, 25 May 2018 13:36:04 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 108671601EE; Fri, 25 May 2018 13:36:04 -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 NlFw-7nfbRMT; Fri, 25 May 2018 13:36:03 -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 E6CA91600B2; Fri, 25 May 2018 13:36:03 -0700 (PDT) Openpgp: preference=signencrypt Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= xsFNBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS 96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1ZK QMr9amVPknjfPmJISqdhgB1DlEdw34sROf6V8mZw0xfqT6PKE46LcFefzs0kbg4GORf8vjG2 Sf1tk5eU8MBiyN/bZ03bKNjNYMpODDQQwuP84kYLkX2wBxxMAhBxwbDVZudzxDZJ1C2VXujC OJVxq2kljBM9ETYuUGqd75AW2LXrLw6+MuIsHFAYAgRr7+KcwDgBAfwhPBYX34nSSiHlmLC+ KaHLeCLF5ZI2vKm3HEeCTtlOg7xZEONgwzL+fdKo+D6SoC8RRxJKs8a3sVfI4t6CnrQzvJbB n6gxdgCu5i29J1QCYrCYvql2UyFPAK+do99/1jOXT4m2836j1wARAQABzSBQYXVsIEVnZ2Vy dCA8ZWdnZXJ0QGNzLnVjbGEuZWR1PsLBfgQTAQIAKAUCTIByZAIbAwUJEswDAAYLCQgHAwIG FQgCCQoLBBYCAwECH In-Reply-To: <87tvqw4w8s.fsf@russet.org.uk> Content-Language: en-US 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:146552 Archived-At: This is a multi-part message in MIME format. --------------9155CDE1424DD4CFAD5C4BE2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 05/24/2018 01:46 PM, Phillip Lord wrote: > I would like to propose that we now remove this on master, > Given the compatibility concerns expressed, how about the attached patch instead? The idea is to remove the need to setenv EMACS with newer Bashes, while still setting EMACS for older Bashes, for backward compatibility. --------------9155CDE1424DD4CFAD5C4BE2 Content-Type: text/plain; charset=UTF-8; name="0001-Don-t-set-EMACS-t-if-Bash-is-4.4-or-newer.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Don-t-set-EMACS-t-if-Bash-is-4.4-or-newer.txt" RnJvbSBmN2VmZGM0ZDIxYzIyYTgxMzk4YjA2Y2RjNTgxNDRlYzJmOWM3Njk3IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLn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