>>>>> "Chet" == Chet Ramey <[EMAIL PROTECTED]> writes:

    Chet> Bash does inspect the EMACS environment variable as part of
    Chet> checking whether or not to turn off line editing even when
    Chet> the shell is interactive.  It also checks for TERM==emacs.
    Chet> If the shell discovers it's running in an emacs buffer, it
    Chet> turns off readline.

Maybe emacs should be in charge of turning readline off directly
instead expecting the shell to check envars to deal with special
cases.  For example, emacs could send the shell something like "shopt
-u -o emacs; shopt -u -o vi".  Then emacs could leave EMACS alone.

It might also be a good idea for AC_CHECK_COMMAND to at least give a
warning if shell variables have crazy-seeming values like "t", "0" or
"1".  Better yet, when envars try to override command names it could
check whether the the command really exists.  Or,

  PROG=enval AC_CHECK_COMMAND(PROG, foo bar ...) 
         --> AC_CHECK_COMMAND(PROG, enval foo bar ...) 

-Don




Reply via email to