From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.bugs,gmane.emacs.devel Subject: bug#20484: EMACS=t Joy and Happiness Date: Fri, 25 May 2018 23:34:20 +0100 Message-ID: <87k1rrl5zn.fsf@russet.org.uk> References: <87tvqw4w8s.fsf@russet.org.uk> <6443412a-5803-d9c0-1ef3-ece7f49c43e1@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1527287595 21198 195.159.176.226 (25 May 2018 22:33:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 May 2018 22:33:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Emacs-Devel devel , 20484@debbugs.gnu.org, Stefan Monnier , 20202@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 26 00:33:10 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 1fMLGo-0005QZ-Aa for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 May 2018 00:33:10 +0200 Original-Received: from localhost ([::1]:46929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMLIv-00033I-7z for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 May 2018 18:35:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMLIh-00031A-7v for bug-gnu-emacs@gnu.org; Fri, 25 May 2018 18:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMLIc-0002aM-T5 for bug-gnu-emacs@gnu.org; Fri, 25 May 2018 18:35:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMLIc-0002a6-JZ for bug-gnu-emacs@gnu.org; Fri, 25 May 2018 18:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fMLIc-00012a-BO for bug-gnu-emacs@gnu.org; Fri, 25 May 2018 18:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: phillip.lord@russet.org.uk (Phillip Lord) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 May 2018 22:35: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.15272876703940 (code B ref 20484); Fri, 25 May 2018 22:35:02 +0000 Original-Received: (at 20484) by debbugs.gnu.org; 25 May 2018 22:34:30 +0000 Original-Received: from localhost ([127.0.0.1]:48827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMLI5-00011T-Vd for submit@debbugs.gnu.org; Fri, 25 May 2018 18:34:30 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:57016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMLI4-00011D-FN; Fri, 25 May 2018 18:34:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7Qoj3AW0/oiQLQeCHkgQIKk9HGUTx6Zd9qBzOR8xaso=; b=xS+SBQUzXoqJ3/yFCziYwNgQf sWOe5V4I67vrtEnWUCDYPa3J9YQa8MoH3I/8NhpU0FpLHo7afTPyowB5slbgrusURm8RedLXcSoem 8JWQ5+Fnqzl7AXPTdhKwCPHnPsMBKpVQX1qwbYh1ntmCCVTr8Oko+rHDxGkdrokkzsAfDbt5ZJzdR mSZDRdBr5H/5XvKb+li2O1GWANFwd0BhxIajmMza1GnS9+MChEbjKQe810LH4vbynANKcFCOT1BUH LRHyQ3oNVCaCwsgfFMpi9LM4HgHrrZ1ptxLupny0yOHKMUzHBq5z4RrDfoySmn9bh58x1H2uREWLq QED3UTTaw==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:55364 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fMLHx-0008Vv-Ew; Fri, 25 May 2018 22:34:21 +0000 In-Reply-To: <6443412a-5803-d9c0-1ef3-ece7f49c43e1@cs.ucla.edu> (Paul Eggert's message of "Thu, 24 May 2018 15:03:56 -0700") 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-Source: X-Source-Args: X-Source-Dir: 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:146557 gmane.emacs.devel:225732 Archived-At: Paul Eggert writes: > Bash 4.4 came out only in September 2016, and it's too soon to assume > it. For example, my students regularly use Emacs on a server running > RHEL 7, which ships Bash 4.2.46, and as I understand it, this is the > most recent RHEL available. Well, Emacs-27 will come out in 2020, so that's 4 years lead time. And the most recent of RHEL also ships with Emacs-24. So, by the time RHEL ships Emacs-27, good chance it will ship Bash 4.4. > How about this idea: At Emacs build time, we check whether Bash is 4.4 > or later, and if so we use a term.el that assumes bash 4.4 or > later. Otherwise, we use a term.el that interrogates the shell > dynamically for whether it is shell and if so what its version number > is, the first time that Emacs runs a process under a shell. Well, the latter half we could do (I don't think the build idea makes sense). But I was hoping to make life simpler, not more complex. Phil