Mercurial > emacs
annotate lisp/ChangeLog.multi-tty @ 83684:89241183a46b
Further simplification pending merge to trunk.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 28 Aug 2007 03:40:44 +0000 |
parents | 812b5f8cbb77 |
children | 394067987d17 |
rev | line source |
---|---|
83675
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
1 0000-00-00 Juri Linkov <juri@jurta.org> |
83668 | 2 |
83675
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
3 * loadup.el: Add "button" loading after "faces" and move "startup" |
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
4 to load after "button". |
83668 | 5 |
6 0000-00-00 Dan Nicolaescu <dann@ics.uci.edu> | |
7 | |
83675
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
8 * loadup.el: Load term/mac-win on a Mac using Carbon. |
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
9 |
83668 | 10 * term/mac-win.el: Provide mac-win. |
11 (mac-initialized): New variable. | |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
12 (mac-initialize-window-system): New function. Move global setup |
83668 | 13 here. |
14 (handle-args-function-alist, frame-creation-function-alist): | |
15 (window-system-initialization-alist): Add mac entries. | |
16 (x-setup-function-keys): New function containing all the | |
17 top level function key definitions. | |
18 | |
19 * term/x-win.el (x-menu-bar-open): Use accelerate-menu. | |
20 | |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
21 * env.el (read-envvar-name): Don't consider the environment frame |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
22 param. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
23 |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
24 * env.el (setenv): |
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
25 * frame.el (frame-initialize, make-frame): |
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
26 * faces.el (tty-set-up-initial-frame-faces): |
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
27 * server.el (server-process-filter): Set |
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
28 display-environment-variable and term-environment-variable. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
29 |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
30 * server.el (server-process-filter): Set COLORFGBG and COLORTERM. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
31 |
83668 | 32 0000-00-00 Jason Rumney <jasonr@gnu.org> |
33 | |
83675
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
34 * loadup.el: Only load term/x-win when X is compiled in. |
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
35 Load term/w32-win and dependencies on windows-nt. |
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
36 |
83668 | 37 * term/w32-win.el: Reorder to match x-win.el more closely. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
38 Provide w32-win. Don't throw error when global window-system not |
83668 | 39 w32. |
40 (internal-face-interactive): Remove obsolete function. | |
41 (x-setup-function-keys): Use local-function-key-map. | |
42 (w32-initialized): New variable. | |
43 (w32-initialize-window-system): Set it. | |
44 Move more global setup here. | |
45 (x-setup-function-keys): New function. | |
46 (w32-initialize-window-system): Move non function key global setup | |
47 here. | |
48 (x-cut-buffer-max): Remove. | |
49 (w32-initialize-window-system): New function. | |
50 (handle-args-function-alist, frame-creation-function-alist): | |
51 (window-system-initialization-alist): Add w32 entries. | |
52 | |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
53 0000-00-00 David Kastrup <dak@gnu.org> |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
54 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
55 * env.el (getenv): Pass frame to getenv-internal. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
56 |
83668 | 57 0000-00-00 Karoly Lorentey <lorentey@elte.hu> |
58 | |
59 * loadup.el: Delay loading env; mule-conf gets confused by cl | |
83675
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
60 during bootstrap. Also load termdev and term/x-win. |
83668 | 61 |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
62 * bindings.el (mode-line-client): New variable. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
63 (help-echo): Add it to the default mode-line format. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
64 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
65 * cus-start.el: Remove bogus window-system reference from GTK test. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
66 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
67 * double.el (double-setup): Add note. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
68 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
69 * ebrowse.el (ebrowse-electric-list-mode-map) |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
70 (ebrowse-electric-position-mode-map): |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
71 * ebuff-menu.el (electric-buffer-menu-mode-map): |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
72 * echistory.el (electric-history-map): Bind C-z to `suspend-frame', |
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
73 not `suspend-emacs'. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
74 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
75 * ediff-wind.el (ediff-setup-windows-automatic): New function. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
76 (ediff-window-setup-function): Use it as default. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
77 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
78 * files.el (save-buffers-kill-terminal): New function. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
79 (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
80 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
81 * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment' |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
82 and `with-selected-frame'. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
83 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
84 * help-fns.el (describe-variable): Describe frame-local variables |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
85 correctly. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
86 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
87 * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
88 display support. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
89 (normal-erase-is-backspace-setup-frame): New function. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
90 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
91 * subr.el (with-selected-frame): New function. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
92 (read-quoted-char): Use terminal-local binding of |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
93 local-function-key-map instead of function-key-map. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
94 |
83668 | 95 * talk.el (talk): New function. |
96 (talk-handle-delete-frame): New function. | |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
97 (talk-add-display): Open a new frame only if FRAME was not a frame. |
83668 | 98 |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
99 * termdev.el: New file. |
83668 | 100 |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
101 * menu-bar.el (menu-bar-open): New function. Bind it to f10. |
83668 | 102 * term/x-win.el: Don't bind f10. |
103 * tmm.el: Remove autoload binding for f10. | |
104 | |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
105 * international/encoded-kb.el (encoded-kbd-setup-display): Use |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
106 `set-input-meta-mode'. Fix broken condition before set-input-mode. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
107 Store the saved input method as a terminal parameter. Add keymap |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
108 parameter. Use it instead of changing key-translation-map directly. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
109 (saved-key-translation-map, encoded-kbd-mode, saved-input-mode): |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
110 Remove. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
111 (encoded-kbd-setup-display): New function. |
83668 | 112 |
113 * international/mule-cmds.el (set-locale-environment): Fix getenv | |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
114 call. Use save-buffers-kill-terminal. Ignore window-system; always |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
115 set the keyboard coding system. Add DISPLAY parameter. |
83668 | 116 (set-display-table-and-terminal-coding-system): Add DISPLAY |
117 parameter. Pass it to set-terminal-coding-system. | |
83646
cac66c12e45d
* term/xterm.el (terminal-init-xterm): Fix merge issue.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
83641
diff
changeset
|
118 |
83668 | 119 * international/mule.el (keyboard-coding-system): Test for |
120 encoded-kbd-setup-display, not encoded-kbd-mode. | |
121 (set-terminal-coding-system, set-keyboard-coding-system): Add | |
122 DISPLAY parameter. | |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
123 (set-keyboard-coding-system): Use encoded-kbd-setup-display. |
83668 | 124 |
125 * term/README: Update. | |
126 | |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
127 * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
128 |
83668 | 129 * term/x-win.el (x-setup-function-keys): New function. Move |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
130 function-key-map tweaks here. Protect against multiple calls on |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
131 the same terminal. Use terminal-local binding of |
83668 | 132 local-function-key-map instead of function-key-map. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
133 (x-initialize-window-system): Make a copy of pure list. Pass a |
83668 | 134 frame getenv. |
83646
cac66c12e45d
* term/xterm.el (terminal-init-xterm): Fix merge issue.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
83641
diff
changeset
|
135 |
83675
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
136 * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el: |
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
137 * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el: |
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
138 * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el: |
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
139 * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el: |
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
140 * term/tvi970.el, term/wyse50.el: Use terminal-local binding of |
83668 | 141 local-function-key-map instead of function-key-map. |
142 | |
83675
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
143 * term/rxvt.el, term/xterm.el: Speed up load time by protecting |
83668 | 144 `substitute-key-definition' and `define-key' calls against |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
145 multiple execution. Use terminal-local binding of |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
146 local-function-key-map instead of function-key-map. Pass a frame |
83668 | 147 to getenv. |
148 | |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
149 * edmacro.el (edmacro-format-keys): |
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
150 * emulation/cua-base.el (cua--pre-command-handler): |
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
151 * isearch.el (isearch-other-meta-char): |
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
152 * xt-mouse.el: Use terminal-local binding of |
83668 | 153 local-function-key-map instead of function-key-map. |
154 | |
83654
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
155 * fringe.el (set-fringe-mode): Simplify and fix using |
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
156 `modify-all-frames-parameters'. |
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
157 * scroll-bar.el (set-scroll-bar-mode): Ditto. |
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
158 * tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length |
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
159 check before calling `tool-bar-setup'. |
83668 | 160 (tool-bar-setup): New variable. |
161 (tool-bar-setup): Use it to guard against multiple calls. Add | |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
162 optional frame parameter, and select that frame before adding items. |
83668 | 163 (toggle-tool-bar-mode-from-frame): New function. |
83654
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
164 |
83668 | 165 * menu-bar.el (toggle-menu-bar-mode-from-frame): New function. |
166 (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and | |
167 toggle-tool-bar-mode-from-frame to change "Menu-bar" and | |
168 "Tool-bar" toggles to reflect the state of the current frame. | |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
169 (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
170 |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
171 * env.el Require cl for byte compilation (for `block' and `return'). |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
172 (environment, setenv-internal): New functions. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
173 (let-environment): New macro. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
174 (setenv, getenv): Add optional terminal parameter. Update docs. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
175 (setenv): Use setenv-internal. Always set process-environment. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
176 Handle `local-environment-variables'. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
177 (read-envvar-name, setenv, getenv): Use frame parameters |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
178 to store the local environment, not terminal parameters. Include |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
179 `process-environment' as well. |
83654
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
180 |
83668 | 181 * faces.el (tty-run-terminal-initialization): New function. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
182 (tty-create-frame-with-faces): Use it. Set up faces and |
83668 | 183 background mode only after the terminal has been initialized. |
184 Call terminal-init-*. Don't load the initialization file more | |
185 than once. Call set-locale-environment. | |
186 (frame-set-background-mode): Handle the 'background-mode terminal | |
187 parameter. | |
188 (tty-find-type): New function. | |
189 (x-create-frame-with-faces): Remove bogus check for | |
190 first frame. Call `tool-bar-setup'. Don't make frame visible | |
191 until we are done setting up all its parameters. Call | |
192 x-setup-function-keys. | |
83654
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
193 |
83668 | 194 * frame.el (make-frame): Always inherit 'environment and 'client |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
195 parameters. Set up the 'environment frame parameter, when needed. |
83668 | 196 Also inherit 'client parameter. Don't override explicitly |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
197 specified values with inherited ones. Add 'terminal frame |
83668 | 198 parameter. Append window-system-default-frame-alist to parameters |
199 before calling frame-creation-function. | |
200 (frame-initialize): Copy the environment from the initial frame. | |
201 (window-system-default-frame-alist): Enhance doc string. | |
202 (frame-notice-user-settings): Don't put 'tool-bar-lines in | |
203 `default-frame-alist' when initial frame is on a tty. | |
204 (modify-all-frames-parameters): Simplify using `assq-delete-all'. | |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
205 Remove specified parameters from `window-system-default-frame-alist'. |
83668 | 206 (make-frame-on-tty, framep-on-display, suspend-frame): |
207 Extend doc string, update parameter names. | |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
208 (frames-on-display-list): Use terminal-id to get the display id. |
83668 | 209 (frame-notice-user-settings): Extend to apply |
210 settings in `window-system-default-frame-alist' as well. | |
211 (terminal-id, terminal-parameters, terminal-parameter) | |
212 (set-terminal-parameter, terminal-handle-delete-frame): New functions. | |
213 (delete-frame-functions): Add to `delete-frame-functions' hook. | |
214 (blink-cursor-mode): Adapt blink-cursor-mode default | |
215 value from startup.el. | |
216 (make-frame-on-display): Protect condition on x-initialized when | |
217 x-win.el is not loaded. Update doc. | |
218 (suspend-frame): Use display-controlling-tty-p to decide between | |
219 suspend-emacs and suspend-tty. | |
220 (frames-on-display-list): Update for display ids. | |
221 (framep-on-display): Ditto. | |
222 (suspend-frame): Use display-name, not frame-tty-name. | |
223 (selected-terminal): New function. | |
83595
43366eac73d8
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
83593
diff
changeset
|
224 |
83654
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
225 * server.el: Use `device' instead of `display' or `display-id' in |
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
226 variable and client parameter names. |
83668 | 227 (server-select-display): Remove (unused). |
228 (server-tty-live-p, server-handle-delete-tty): Remove. | |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
229 (server-unquote-arg, server-quote-arg, server-buffer-clients): |
83668 | 230 Update docs. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
231 (server-getenv-from, server-with-environment, server-send-string) |
83675
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
232 (server-save-buffers-kill-terminal): New functions. |
83668 | 233 (server-delete-client): Handle quits in kill-buffer. Don't kill |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
234 modified buffers. Add extra logging. Delete frames after |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
235 deleting the tty. Clear 'client parameter before deleting a frame. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
236 Use delete-display, not delete-tty. |
83668 | 237 (server-visit-files): Don't set `server-existing-buffer' if the |
238 buffer already has other clients. Return list of buffers | |
83675
67601f702028
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83668
diff
changeset
|
239 created. Update doc. Don't set client-record when nowait. |
83668 | 240 (server-handle-delete-frame): Delete the client if this was its |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
241 last frame. Check that the frame is alive. Remove bogus comment. |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
242 Add note on possible race condition. Delete tty clients, if needed. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
243 (server-handle-suspend-tty): Use server-send-string. Kill the |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
244 client in case of errors from process-send-string. Use the display |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
245 parameter. |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
246 (server-unload-hook): Remove obsolete delete-tty hook. |
83668 | 247 (server-start): Ask before restarting if the old server still has |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
248 clients. Add feedback messages. Remove obsolete delete-tty hook. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
249 (server-process-filter): Use server-send-string. Accept `-dir' |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
250 command. Switch to *scratch* immediately after creating the frame, |
83668 | 251 before evaluating any -evals. Protect `display-splash-screen' |
252 call in a condition-case. Explain why. Call | |
253 `display-startup-echo-area-message' before | |
254 `display-splash-screen'. Don't display the splash screen when no | |
255 frame was created. Show the Emacs splash screen and startup echo | |
256 area message. Display the *scratch* buffer by default. Store the | |
257 local environment in a frame (not terminal) parameter. Do not try | |
258 to decode environment strings. Fix reference to the 'display | |
259 frame parameter. Change syntax of environment variables. Put | |
260 environment into terminal parameters, not client parameters. Use | |
261 a dummy client with --no-wait's X frames. In `-position LINE' | |
262 handler, don't ruin the request string until the line number is | |
263 extracted. Log opened files. Handle -current-frame command. | |
264 Don't create frames when it is given. Don't bind X frames to the | |
265 client when we are in -no-wait mode. Set locale environment | |
266 variables from client while creating tty frames. Disable call to | |
267 configure-display-for-locale. When processing -position command, | |
268 don't change the request string until the parameters are | |
269 extracted. Don't try to create an X frame when Emacs does not | |
270 support it. Improve logging. Temporarily set ncurses-related | |
271 environment variables to those of the client while creating a new | |
272 tty frame. Select buffers opened by nowait clients, don't leave | |
273 them buried under others. Set the display parameter, and use it | |
274 when appropriate. | |
83654
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
275 |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
276 * startup.el (display-startup-echo-area-message): Handle |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
277 `inhibit-startup-echo-area-message' here. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
278 (command-line-1): Moved from here. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
279 (fancy-splash-screens): Use `overriding-local-map' instead of |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
280 `overriding-terminal-local-map' for now; the latter doesn't work |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
281 right, it looses keypresses to another terminal. Use |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
282 `overriding-terminal-local-map' to set up keymap. Install a |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
283 `delete-frame-functions' hook to catch `delete-frame' events. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
284 Ignore `select-window' events to cope better with |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
285 `focus-follows-mouse'. Don't switch back to the original buffer |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
286 if the splash frame has been killed. Restore previous buffer, even |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
287 if it's *scratch*. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
288 (normal-splash-screen): Don't let-bind `mode-line-format'; it |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
289 changes the global binding - setq it instead. Use |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
290 `save-buffers-kill-terminal'. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
291 (display-splash-screen): Don't do anything if the splash screen is |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
292 already displayed elsewhere. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
293 (fancy-splash-exit, fancy-splash-delete-frame): New functions. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
294 (command-line): Replace duplicated code with a call to |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
295 tty-run-terminal-initialization. Don't load the terminal |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
296 initialization file more than once. Remove call to nonexistent |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
297 function `set-locale-translation-file-name'. |
83654
e9a88d9f47fb
Import changelog info from arch logs into ChangeLog.multi-tty files
Miles Bader <miles@gnu.org>
parents:
83646
diff
changeset
|
298 |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
299 * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
300 parameters. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
301 (xterm-mouse-position-function, xterm-mouse-event): Update. |
83684
89241183a46b
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83683
diff
changeset
|
302 (xterm-mouse-mode): Don't depend on current value of window-system. |
83683
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
303 (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking): |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
304 Update for multi-tty. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
305 (turn-on-xterm-mouse-tracking-on-terminal) |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
306 (turn-off-xterm-mouse-tracking-on-terminal) |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
307 (xterm-mouse-handle-delete-frame): New functions. |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
308 (delete-frame-functions, after-make-frame-functions) |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
309 (suspend-tty-functions, resume-tty-functions): Install extra hooks |
812b5f8cbb77
Further simplification pending merge to trunk.
Glenn Morris <rgm@gnu.org>
parents:
83675
diff
changeset
|
310 for multi-tty. |
83595
43366eac73d8
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
83593
diff
changeset
|
311 |
83589
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
312 ;; Local Variables: |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
313 ;; coding: iso-2022-7bit |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
314 ;; add-log-time-zone-rule: t |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
315 ;; End: |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
316 |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
317 Copyright (C) 2007 Free Software Foundation, Inc. |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
318 |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
319 This file is part of GNU Emacs. |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
320 |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
321 GNU Emacs is free software; you can redistribute it and/or modify |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
322 it under the terms of the GNU General Public License as published by |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
323 the Free Software Foundation; either version 2, or (at your option) |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
324 any later version. |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
325 |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
326 GNU Emacs is distributed in the hope that it will be useful, |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
327 but WITHOUT ANY WARRANTY; without even the implied warranty of |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
328 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
329 GNU General Public License for more details. |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
330 |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
331 You should have received a copy of the GNU General Public License |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
332 along with GNU Emacs; see the file COPYING. If not, write to the |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
333 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
334 Boston, MA 02110-1301, USA. |
fb93eb23056b
New ChangeLog for multi-tty specific changes
Jason Rumney <jasonr@gnu.org>
parents:
diff
changeset
|
335 |
83595
43366eac73d8
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
83593
diff
changeset
|
336 ;;; arch-tag: 58312fd6-033a-11dc-a0fb-00114368b55b |