aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2007-08-31 06:57:25 +0000
committerStefan Monnier2007-08-31 06:57:25 +0000
commitfdb884632b37cb99031abd82663f28c3c48aec86 (patch)
tree981b5e5afae6b2fbb32b264b66ab918b46c2a53a
parent3c33c79aaf91eb7ddd6abb247a99ee188495615f (diff)
downloademacs-fdb884632b37cb99031abd82663f28c3c48aec86.tar.gz
emacs-fdb884632b37cb99031abd82663f28c3c48aec86.zip
(normal-top-level): Set $TERM to `dumb' so that unless
stated otherwise, subprocesses do not send back escape sequences corresponding to the terminal from which Emacs was started.
-rw-r--r--lisp/ChangeLog26
-rw-r--r--lisp/startup.el7
2 files changed, 22 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6968d3183ee..ff7b73e50c1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * startup.el (normal-top-level): Set $TERM to `dumb' so that unless
4 stated otherwise, subprocesses do not send back escape sequences
5 corresponding to the terminal from which Emacs was started.
6
12007-08-31 Thien-Thi Nguyen <ttn@gnuvola.org> 72007-08-31 Thien-Thi Nguyen <ttn@gnuvola.org>
2 8
3 * calculator.el: Require cl for compilation. 9 * calculator.el: Require cl for compilation.
@@ -29,8 +35,8 @@
29 (org-cycle): Docstring updated. 35 (org-cycle): Docstring updated.
30 (org-todo-keyword-faces): New option. 36 (org-todo-keyword-faces): New option.
31 (org-get-todo-face): New function. 37 (org-get-todo-face): New function.
32 (org-set-font-lock-defaults, org-agenda-highlight-todo): Use 38 (org-set-font-lock-defaults, org-agenda-highlight-todo):
33 `org-get-todo-face'. 39 Use `org-get-todo-face'.
34 (org-switch-to-buffer-other-window): New function. 40 (org-switch-to-buffer-other-window): New function.
35 (org-table-edit-field, org-table-show-reference) 41 (org-table-edit-field, org-table-show-reference)
36 (org-table-edit-formulas, org-add-log-note) 42 (org-table-edit-formulas, org-add-log-note)
@@ -39,10 +45,10 @@
39 `switch-to-buffer-other-window' to make sure that the temporary 45 `switch-to-buffer-other-window' to make sure that the temporary
40 windows show up on the current frame. 46 windows show up on the current frame.
41 (org-mhe-get-message-real-folder, org-batch-store-agenda-views) 47 (org-mhe-get-message-real-folder, org-batch-store-agenda-views)
42 (org-get-entries-from-diary, org-replace-region-by-html): Don't 48 (org-get-entries-from-diary, org-replace-region-by-html):
43 allow pop-up frames. 49 Don't allow pop-up frames.
44 (org-agenda-get-deadlines, org-agenda-get-scheduled): Fixed 50 (org-agenda-get-deadlines, org-agenda-get-scheduled):
45 problems with time-of-day. 51 Fix problems with time-of-day.
46 (org-export-get-title-from-subtree): New function. 52 (org-export-get-title-from-subtree): New function.
47 (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems 53 (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems
48 with listing items that are DONE. 54 with listing items that are DONE.
@@ -57,12 +63,12 @@
57 63
582007-08-30 Jari Aalto <jari.aalto@cante.net> (tiny change) 642007-08-30 Jari Aalto <jari.aalto@cante.net> (tiny change)
59 65
60 * progmodes/grep.el (grep-find-ignored-directories): Add 66 * progmodes/grep.el (grep-find-ignored-directories):
61 monotone _MTN bookkeeping directory in workspaces. Add 67 Add monotone _MTN bookkeeping directory in workspaces.
62 RCS control directory. List items in alphabetical order. 68 Add RCS control directory. List items in alphabetical order.
63 69
64 * progmodes/grep.el (grep-files-aliases): Add cc alias. 70 * progmodes/grep.el (grep-files-aliases): Add cc alias.
65 Sort items in alphabetical order. Fix parens. 71 Sort items in alphabetical order. Fix parens.
66 72
672007-08-29 Dan Nicolaescu <dann@ics.uci.edu> 732007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
68 74
diff --git a/lisp/startup.el b/lisp/startup.el
index 1f42285d553..22cce3f8b38 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -486,7 +486,12 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
486 (run-hooks 'window-setup-hook)) 486 (run-hooks 'window-setup-hook))
487 (or menubar-bindings-done 487 (or menubar-bindings-done
488 (if (display-popup-menus-p) 488 (if (display-popup-menus-p)
489 (precompute-menubar-bindings))))))) 489 (precompute-menubar-bindings)))))
490 ;; Subprocesses of Emacs do not have direct access to the terminal, so
491 ;; unless told otherwise they should only assume a dumb terminal.
492 ;; We are careful to do it late (after term-setup-hook), although the
493 ;; new multi-tty code does not use $TERM any more there anyway.
494 (setenv "TERM" "dumb")))
490 495
491;; Precompute the keyboard equivalents in the menu bar items. 496;; Precompute the keyboard equivalents in the menu bar items.
492(defun precompute-menubar-bindings () 497(defun precompute-menubar-bindings ()