* incomplete fix in EMACS_21_1_RC branch of progmodes/compile.el
@ 2002-09-30 18:11 Ivan Zakharyaschev
2002-10-01 6:18 ` Richard Stallman
0 siblings, 1 reply; 3+ messages in thread
From: Ivan Zakharyaschev @ 2002-09-30 18:11 UTC (permalink / raw)
Hello!
Once I reported a bug in progmodes/compile.el concerning TERM
environment variable. It was finally fixed by Richard in revision 1.248
of compile.el, the previous 1.246 and 1.247 changes were not real fixes
to the problem.
I was a bit disappointed to see that the released Emacs 21.2 didn't fix
the problem: the EMACS_21_1_RC branch doesn't include the final right
fix, it has only merged revision 1.246. So I would be glad to see
revision 1.248 merged into the EMACS_21_1_RC branch of compile.el if it
gets released once again: anyway, the branch already contains a
not-working fix for the problem.
Regards,
--
Ivan Zakharyaschev
ALT Linux Team member, Sisyphus developer
http://www.altlinux.ru, http://www.altlinux.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: incomplete fix in EMACS_21_1_RC branch of progmodes/compile.el
2002-09-30 18:11 incomplete fix in EMACS_21_1_RC branch of progmodes/compile.el Ivan Zakharyaschev
@ 2002-10-01 6:18 ` Richard Stallman
2002-10-01 19:33 ` Ivan Zakharyaschev
0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2002-10-01 6:18 UTC (permalink / raw)
Cc: emacs-devel
Can you send me the requisite patch to put into RC?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: incomplete fix in EMACS_21_1_RC branch of progmodes/compile.el
2002-10-01 6:18 ` Richard Stallman
@ 2002-10-01 19:33 ` Ivan Zakharyaschev
0 siblings, 0 replies; 3+ messages in thread
From: Ivan Zakharyaschev @ 2002-10-01 19:33 UTC (permalink / raw)
Cc: emacs-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 400 bytes --]
Hello!
On Tue, 1 Oct 2002, Richard Stallman wrote:
> Can you send me the requisite patch to put into RC?
Here it is: the eqivalent of the diff from revision 1.246 to 1.248 of
progmodes/compile.el for the RC branch. (It sets the environment
_before_ starting the process.)
Regards,
--
Ivan Zakharyaschev
ALT Linux Team member, Sisyphus developer
http://www.altlinux.ru, http://www.altlinux.com
[-- Attachment #2: equiv of diff 1.246 -> 1.248 --]
[-- Type: TEXT/PLAIN, Size: 1682 bytes --]
--- emacs/emacs/lisp/progmodes/compile.RC.el Tue Oct 1 23:11:17 2002
+++ emacs/emacs/lisp/progmodes/compile.el Tue Oct 1 23:20:49 2002
@@ -826,24 +826,23 @@
(funcall compilation-process-setup-function))
;; Start the compilation.
(if (fboundp 'start-process)
- (let* ((process-environment process-environment)
+ (let* ((process-environment
+ (append
+ (if (and (boundp 'system-uses-terminfo)
+ system-uses-terminfo)
+ (list "TERM=dumb" "TERMCAP="
+ (format "COLUMNS=%d" (window-width)))
+ (list "TERM=emacs"
+ (format "TERMCAP=emacs:co#%d:tc=unknown:"
+ (window-width))))
+ ;; Set the EMACS variable, but
+ ;; don't override users' setting of $EMACS.
+ (if (getenv "EMACS")
+ process-environment
+ (cons "EMACS=t" process-environment))))
(proc (start-process-shell-command (downcase mode-name)
outbuf
command)))
- ;; Set the terminal type
- (setq process-environment
- (if (and (boundp 'system-uses-terminfo)
- system-uses-terminfo)
- (list "TERM=dumb" "TERMCAP="
- (format "COLUMNS=%d" (window-width)))
- (list "TERM=emacs"
- (format "TERMCAP=emacs:co#%d:tc=unknown:"
- (window-width)))))
- ;; Set the EMACS variable, but
- ;; don't override users' setting of $EMACS.
- (or (getenv "EMACS")
- (setq process-environment
- (cons "EMACS=t" process-environment)))
(set-process-sentinel proc 'compilation-sentinel)
(set-process-filter proc 'compilation-filter)
(set-marker (process-mark proc) (point) outbuf)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-01 19:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-30 18:11 incomplete fix in EMACS_21_1_RC branch of progmodes/compile.el Ivan Zakharyaschev
2002-10-01 6:18 ` Richard Stallman
2002-10-01 19:33 ` Ivan Zakharyaschev
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.