all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: bug-gnu-emacs@gnu.org, gnuplot-bugs@lists.sourceforge.net,
	bug-autoconf@gnu.org, don.bashford@stjude.org,
	Chet Ramey <chet.ramey@case.edu>
Subject: Re: emacs Shell mode vs AC_CHECK_PROG(EMACS, ...)
Date: Mon, 11 Sep 2006 15:57:59 -0400	[thread overview]
Message-ID: <E1GMrup-0007rl-9m@fencepost.gnu.org> (raw)
In-Reply-To: <rfwr6yjnjz0.wl%Don.Bashford@stjude.org>

    I like to do my builds of almost anything from source under emacs Shell
    mode.  But emacs Shell mode sets the environment variable EMACS to
    "t".

      This causes the output of autoconf's AC_CHECK_PROG(EMACS, ...)
    to set EMACS="t", with the result that in any Makefile generated from
    EMACS = @EMACS@ in Makefile.in end up with the makefile variable EMACS
    set to "t".

    One example where this is a problem is the current (Sept 10) CVS
    version of gnuplot.

For a short-term correction, I think the easiest way is to change
Autoconf to ignore a value of `t' for this environment variable.
Autoconf maintainers, what do you think?

For longer term, perhaps the best thing is to change Emacs to use a
different environment variable.  Alas, I don't remember what software
checks that environment variable, or the motive for binding it.

Is it Bash?  I have cc'd the Bash maintainer so he can answer.

  parent reply	other threads:[~2006-09-11 19:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-11  3:46 emacs Shell mode vs AC_CHECK_PROG(EMACS, ...) Don.Bashford
2006-09-11 17:42 ` Paul Eggert
2006-09-12 15:28   ` Richard Stallman
2006-09-11 19:57 ` Richard Stallman [this message]
2006-09-11 20:55   ` Chet Ramey
2006-09-11 21:40     ` Don.Bashford
2006-09-11 21:10   ` Don.Bashford
     [not found]   ` <mailman.6803.1158013410.9609.bug-gnu-emacs@gnu.org>
2006-09-13 13:58     ` Miles Bader
2006-09-13 17:12       ` Chet Ramey
2006-09-13 22:10         ` Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1GMrup-0007rl-9m@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=bug-autoconf@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=chet.ramey@case.edu \
    --cc=don.bashford@stjude.org \
    --cc=gnuplot-bugs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.