unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Why "EMACS=24.4.91.2 (term:0.96)" in term-exec-1?
@ 2015-03-30  8:15 Oleh Krehel
  2015-03-30 14:42 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Oleh Krehel @ 2015-03-30  8:15 UTC (permalink / raw)
  To: emacs-devel


Hi all,

I've been putting up with this misfeature for quite some time.
Basically, I can't just type `make test' into ansi-term for ERT testing.
I have to either re-export the EMACS variable (by hand, since I can't
just nail it down in the Makefile), or call `make test' from outside
Emacs.

Turns out, the reason is in `term-exec-1', accompanied by this comment:

    ;; We are going to get rid of the binding for EMACS,
    ;; probably in Emacs 23, because it breaks
    ;; `./configure' of some packages that expect it to
    ;; say where to find EMACS.
    (format "EMACS=%s (term:%s)" emacs-version term-protocol-version)

So I have two questions: what was the reason for setting this variable,
and can we remove it?

regards,
Oleh



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-31  0:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30  8:15 Why "EMACS=24.4.91.2 (term:0.96)" in term-exec-1? Oleh Krehel
2015-03-30 14:42 ` Eli Zaretskii
2015-03-30 15:21   ` Oleh Krehel
2015-03-30 20:27     ` Stefan Monnier
2015-03-30 22:24     ` Paul Eggert
2015-03-31  0:22       ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).