[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EMACS=t Joy and Happiness

From: Paul Eggert
Subject: Re: EMACS=t Joy and Happiness
Date: Thu, 24 May 2018 15:03:56 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

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.

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]