aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-08-28 03:33:41 +0000
committerGlenn Morris2007-08-28 03:33:41 +0000
commit9b8a7168913b7fabc0ff828c6cafc1d6bbd10cbc (patch)
tree36a37e854901e22b50d5e24810237e71146d1f81
parent35c1915e35bc6cf899fa4c494010e0439a17f169 (diff)
downloademacs-9b8a7168913b7fabc0ff828c6cafc1d6bbd10cbc.tar.gz
emacs-9b8a7168913b7fabc0ff828c6cafc1d6bbd10cbc.zip
Further simplification pending merge to trunk.
-rw-r--r--lisp/ChangeLog.multi-tty285
1 files changed, 131 insertions, 154 deletions
diff --git a/lisp/ChangeLog.multi-tty b/lisp/ChangeLog.multi-tty
index cac15f04b84..d82f6f8d6ea 100644
--- a/lisp/ChangeLog.multi-tty
+++ b/lisp/ChangeLog.multi-tty
@@ -9,7 +9,7 @@
9 9
10 * term/mac-win.el: Provide mac-win. 10 * term/mac-win.el: Provide mac-win.
11 (mac-initialized): New variable. 11 (mac-initialized): New variable.
12 (mac-initialize-window-system): New function. Move global setup 12 (mac-initialize-window-system): New function. Move global setup
13 here. 13 here.
14 (handle-args-function-alist, frame-creation-function-alist): 14 (handle-args-function-alist, frame-creation-function-alist):
15 (window-system-initialization-alist): Add mac entries. 15 (window-system-initialization-alist): Add mac entries.
@@ -18,13 +18,25 @@
18 18
19 * term/x-win.el (x-menu-bar-open): Use accelerate-menu. 19 * term/x-win.el (x-menu-bar-open): Use accelerate-menu.
20 20
21 * env.el (read-envvar-name): Don't consider the environment frame
22 param.
23 (setenv): Set display-environment-variable and
24 term-environment-variable.
25
26 * frame.el (frame-initialize, make-frame): Likewise.
27
28 * faces.el (tty-set-up-initial-frame-faces): Likewise.
29
30 * server.el (server-process-filter): Likewise. Also set COLORFGBG and
31 COLORTERM.
32
210000-00-00 Jason Rumney <jasonr@gnu.org> 330000-00-00 Jason Rumney <jasonr@gnu.org>
22 34
23 * loadup.el: Only load term/x-win when X is compiled in. 35 * loadup.el: Only load term/x-win when X is compiled in.
24 Load term/w32-win and dependencies on windows-nt. 36 Load term/w32-win and dependencies on windows-nt.
25 37
26 * term/w32-win.el: Reorder to match x-win.el more closely. 38 * term/w32-win.el: Reorder to match x-win.el more closely.
27 Provide w32-win. Don't throw error when global window-system not 39 Provide w32-win. Don't throw error when global window-system not
28 w32. 40 w32.
29 (internal-face-interactive): Remove obsolete function. 41 (internal-face-interactive): Remove obsolete function.
30 (x-setup-function-keys): Use local-function-key-map. 42 (x-setup-function-keys): Use local-function-key-map.
@@ -39,67 +51,89 @@
39 (handle-args-function-alist, frame-creation-function-alist): 51 (handle-args-function-alist, frame-creation-function-alist):
40 (window-system-initialization-alist): Add w32 entries. 52 (window-system-initialization-alist): Add w32 entries.
41 53
540000-00-00 David Kastrup <dak@gnu.org>
55
56 * env.el (getenv): Pass frame to getenv-internal.
57
420000-00-00 Karoly Lorentey <lorentey@elte.hu> 580000-00-00 Karoly Lorentey <lorentey@elte.hu>
43 59
44 * loadup.el: Delay loading env; mule-conf gets confused by cl 60 * loadup.el: Delay loading env; mule-conf gets confused by cl
45 during bootstrap. Also load termdev and term/x-win. 61 during bootstrap. Also load termdev and term/x-win.
46 62
47 * talk.el (talk): New function. 63 * bindings.el (mode-line-client): New variable.
48 (talk-handle-delete-frame): New function. 64 (help-echo): Add it to the default mode-line format.
49 (talk-add-display): Open a new frame only if FRAME was not a 65
50 frame. 66 * cus-start.el: Remove bogus window-system reference from GTK test.
67
68 * double.el (double-setup): Add note.
69
70 * ebrowse.el (ebrowse-electric-list-mode-map)
71 (ebrowse-electric-position-mode-map):
72 * ebuff-menu.el (electric-buffer-menu-mode-map):
73 * echistory.el (electric-history-map): Bind C-z to
74 `suspend-frame', not `suspend-emacs'.
51 75
52 * ediff-wind.el (ediff-setup-windows-automatic): New function. 76 * ediff-wind.el (ediff-setup-windows-automatic): New function.
53 (ediff-window-setup-function): Use it as default. 77 (ediff-window-setup-function): Use it as default.
54 78
79 * files.el (save-buffers-kill-terminal): New function.
80 (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal.
81
82 * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'
83 and `with-selected-frame'.
84
55 * help-fns.el (describe-variable): Describe frame-local variables 85 * help-fns.el (describe-variable): Describe frame-local variables
56 correctly. 86 correctly.
57 87
58 * menu-bar.el (menu-bar-open): New function. 88 * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
59 Bind it to f10. 89 display support.
60 * term/x-win.el: Don't bind f10. 90 (normal-erase-is-backspace-setup-frame): New function.
61 * tmm.el: Remove autoload binding for f10.
62 91
63 * termdev.el: New file. 92 * subr.el (with-selected-frame): New function.
64 * Makefile.in (lisp, shortlisp): Add termdev.elc. 93 (read-quoted-char): Use terminal-local binding of
65 * makefile.MPW (shortlisp): Ditto. 94 local-function-key-map instead of function-key-map.
66 95
67 * international/mule-cmds.el (set-locale-environment): Fix getenv 96 * talk.el (talk): New function.
68 call. Use save-buffers-kill-terminal. Ignore window-system; always 97 (talk-handle-delete-frame): New function.
69 set the keyboard coding system. 98 (talk-add-display): Open a new frame only if FRAME was not a
99 frame.
70 100
71 (set-display-table-and-terminal-coding-system): Add DISPLAY 101 * termdev.el: New file.
72 parameter. Pass it to set-terminal-coding-system. 102
73 (set-locale-environment): Add DISPLAY parameter. 103 * menu-bar.el (menu-bar-open): New function. Bind it to f10.
104 * term/x-win.el: Don't bind f10.
105 * tmm.el: Remove autoload binding for f10.
74 106
75 * international/encoded-kb.el (encoded-kbd-setup-display): Use 107 * international/encoded-kb.el (encoded-kbd-setup-display): Use
76 `set-input-meta-mode'. Fix broken condition before set-input-mode. 108 `set-input-meta-mode'. Fix broken condition before set-input-mode.
77 (saved-key-translation-map): Remove. 109 Store the saved input method as a terminal parameter. Add keymap
78 (encoded-kbd-mode): Remove. 110 parameter. Use it instead of changing key-translation-map
111 directly.
112 (saved-key-translation-map, encoded-kbd-mode, saved-input-mode):
113 Remove.
79 (encoded-kbd-setup-display): New function. 114 (encoded-kbd-setup-display): New function.
80 115
81 * international/encoded-kb.el (saved-input-mode): Delete variable. 116 * international/mule-cmds.el (set-locale-environment): Fix getenv
82 (encoded-kbd-setup-display): Store the saved input method as a terminal 117 call. Use save-buffers-kill-terminal. Ignore window-system; always
83 parameter. Add keymap parameter. Use it instead of changing 118 set the keyboard coding system. Add DISPLAY parameter.
84 key-translation-map directly. 119 (set-display-table-and-terminal-coding-system): Add DISPLAY
120 parameter. Pass it to set-terminal-coding-system.
85 121
86 * international/mule.el (keyboard-coding-system): Test for 122 * international/mule.el (keyboard-coding-system): Test for
87 encoded-kbd-setup-display, not encoded-kbd-mode. 123 encoded-kbd-setup-display, not encoded-kbd-mode.
88 (set-terminal-coding-system, set-keyboard-coding-system): Add 124 (set-terminal-coding-system, set-keyboard-coding-system): Add
89 DISPLAY parameter. 125 DISPLAY parameter.
90 126 (set-keyboard-coding-system): Use encoded-kbd-setup-display.
91 * international/mule.el (set-keyboard-coding-system): Use
92 encoded-kbd-setup-display.
93
94 * double.el (double-setup): Add note.
95 127
96 * term/README: Update. 128 * term/README: Update.
97 129
130 * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
131
98 * term/x-win.el (x-setup-function-keys): New function. Move 132 * term/x-win.el (x-setup-function-keys): New function. Move
99 function-key-map tweaks here. Protect against multiple calls on 133 function-key-map tweaks here. Protect against multiple calls on
100 the same terminal. Use terminal-local binding of 134 the same terminal. Use terminal-local binding of
101 local-function-key-map instead of function-key-map. 135 local-function-key-map instead of function-key-map.
102 (x-initialize-window-system): Make a copy of pure list. Pass a 136 (x-initialize-window-system): Make a copy of pure list. Pass a
103 frame getenv. 137 frame getenv.
104 138
105 * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el: 139 * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el:
@@ -111,55 +145,16 @@
111 145
112 * term/rxvt.el, term/xterm.el: Speed up load time by protecting 146 * term/rxvt.el, term/xterm.el: Speed up load time by protecting
113 `substitute-key-definition' and `define-key' calls against 147 `substitute-key-definition' and `define-key' calls against
114 multiple execution. Use terminal-local binding of 148 multiple execution. Use terminal-local binding of
115 local-function-key-map instead of function-key-map. Pass a frame 149 local-function-key-map instead of function-key-map. Pass a frame
116 to getenv. 150 to getenv.
117 151
118 * subr.el (with-selected-frame): New function.
119 (read-quoted-char): Use terminal-local binding of
120 local-function-key-map instead of function-key-map.
121
122 * edmacro.el (edmacro-format-keys): Use terminal-local binding of 152 * edmacro.el (edmacro-format-keys): Use terminal-local binding of
123 local-function-key-map instead of function-key-map. 153 local-function-key-map instead of function-key-map.
124 * emulation/cua-base.el (cua--pre-command-handler): Ditto. 154 * emulation/cua-base.el (cua--pre-command-handler): Ditto.
125 * isearch.el (isearch-other-meta-char): Ditto. 155 * isearch.el (isearch-other-meta-char): Ditto.
126 * xt-mouse.el: Ditto. 156 * xt-mouse.el: Ditto.
127 157
128 * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
129 display support.
130 (normal-erase-is-backspace-setup-frame): New function.
131
1320000-00-00 Dan Nicolaescu <dann@ics.uci.edu>
133
134 * env.el (read-envvar-name): Don't consider the environment frame
135 param.
136 (setenv): Set display-environment-variable and
137 term-environment-variable.
138
139 * frame.el (frame-initialize, make-frame): Likewise.
140
141 * faces.el (tty-set-up-initial-frame-faces): Likewise.
142
143 * server.el (server-process-filter): Likewise.
144 (server-process-filter): Likewise. Also set COLORFGBG and
145 COLORTERM.
146
1470000-00-00 Karoly Lorentey <lorentey@elte.hu>
148
149 * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
150
1510000-00-00 David Kastrup <dak@gnu.org>
152
153 * env.el (getenv): Pass frame to getenv-internal.
154
1550000-00-00 Karoly Lorentey <lorentey@elte.hu>
156
157 * cus-start.el: Remove bogus window-system reference from GTK test.
158
159 * files.el (save-buffers-kill-terminal): New function.
160 (ctl-x-map): Change binding of C-x C-c to
161 save-buffers-kill-terminal.
162
163 * fringe.el (set-fringe-mode): Simplify and fix using 158 * fringe.el (set-fringe-mode): Simplify and fix using
164 `modify-all-frames-parameters'. 159 `modify-all-frames-parameters'.
165 * scroll-bar.el (set-scroll-bar-mode): Ditto. 160 * scroll-bar.el (set-scroll-bar-mode): Ditto.
@@ -175,11 +170,20 @@
175 (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and 170 (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and
176 toggle-tool-bar-mode-from-frame to change "Menu-bar" and 171 toggle-tool-bar-mode-from-frame to change "Menu-bar" and
177 "Tool-bar" toggles to reflect the state of the current frame. 172 "Tool-bar" toggles to reflect the state of the current frame.
178 (menu-bar-mode): Simplify and fix using 173 (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'.
179 `modify-all-frames-parameters'. 174
175 * env.el Require cl for byte compilation (for `block' and `return').
176 (environment, setenv-internal): New functions.
177 (let-environment): New macro.
178 (setenv, getenv): Add optional terminal parameter. Update docs.
179 (setenv): Use setenv-internal. Always set process-environment.
180 Handle `local-environment-variables'.
181 (read-envvar-name, setenv, getenv): Use frame parameters
182 to store the local environment, not terminal parameters. Include
183 `process-environment' as well.
180 184
181 * faces.el (tty-run-terminal-initialization): New function. 185 * faces.el (tty-run-terminal-initialization): New function.
182 (tty-create-frame-with-faces): Use it. Set up faces and 186 (tty-create-frame-with-faces): Use it. Set up faces and
183 background mode only after the terminal has been initialized. 187 background mode only after the terminal has been initialized.
184 Call terminal-init-*. Don't load the initialization file more 188 Call terminal-init-*. Don't load the initialization file more
185 than once. Call set-locale-environment. 189 than once. Call set-locale-environment.
@@ -191,26 +195,10 @@
191 until we are done setting up all its parameters. Call 195 until we are done setting up all its parameters. Call
192 x-setup-function-keys. 196 x-setup-function-keys.
193 197
194 * bindings.el (mode-line-client): New variable.
195 (help-echo): Add it to the default mode-line format.
196
197 * env.el Require cl for byte compilation (for `block' and
198 `return').
199 (environment): New function.
200 (let-environment): New macro.
201 (setenv, getenv): Add optional terminal parameter. Update docs.
202 (setenv-internal): New function.
203 (setenv): Use it. Always set process-environment. Update docs.
204 (getenv): Update docs.
205 (read-envvar-name, setenv, getenv): Use frame parameters
206 to store the local environment, not terminal parameters. Include
207 `process-environment' as well.
208 (setenv): Handle `local-environment-variables'.
209
210 * frame.el (make-frame): Always inherit 'environment and 'client 198 * frame.el (make-frame): Always inherit 'environment and 'client
211 parameters. Set up the 'environment frame parameter, when needed. 199 parameters. Set up the 'environment frame parameter, when needed.
212 Also inherit 'client parameter. Don't override explicitly 200 Also inherit 'client parameter. Don't override explicitly
213 specified values with inherited ones. Add 'terminal frame 201 specified values with inherited ones. Add 'terminal frame
214 parameter. Append window-system-default-frame-alist to parameters 202 parameter. Append window-system-default-frame-alist to parameters
215 before calling frame-creation-function. 203 before calling frame-creation-function.
216 (frame-initialize): Copy the environment from the initial frame. 204 (frame-initialize): Copy the environment from the initial frame.
@@ -240,73 +228,35 @@
240 (suspend-frame): Use display-name, not frame-tty-name. 228 (suspend-frame): Use display-name, not frame-tty-name.
241 (selected-terminal): New function. 229 (selected-terminal): New function.
242 230
243 * startup.el (display-startup-echo-area-message): Handle
244 `inhibit-startup-echo-area-message' here.
245 (command-line-1): Moved from here.
246 (fancy-splash-screens): Use `overriding-local-map' instead of
247 `overriding-terminal-local-map' for now; the latter doesn't work
248 right, it looses keypresses to another terminal. Use
249 `overriding-terminal-local-map' to set up keymap. Install a
250 `delete-frame-functions' hook to catch `delete-frame' events.
251 Ignore `select-window' events to cope better with
252 `focus-follows-mouse'. Don't switch back to the original buffer
253 if the splash frame has been killed. Restore previous buffer, even
254 if it's *scratch*.
255 (normal-splash-screen): Don't let-bind `mode-line-format'; it
256 changes the global binding---setq it instead. Use
257 `save-buffers-kill-terminal'.
258 (display-splash-screen): Don't do anything if the splash screen is
259 already displayed elsewhere.
260 (fancy-splash-exit, fancy-splash-delete-frame): New functions.
261 (command-line): Replace duplicated code with a call to
262 tty-run-terminal-initialization. Don't load the terminal
263 initialization file more than once. Remove call to nonexistent
264 function `set-locale-translation-file-name'.
265
266 * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
267 parameters.
268 (xterm-mouse-position-function, xterm-mouse-event): Update.
269 (xterm-mouse-mode): Don't depend on current value of
270 window-system.
271 (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
272 Update for multi-tty.
273 (turn-on-xterm-mouse-tracking-on-terminal)
274 (turn-off-xterm-mouse-tracking-on-terminal)
275 (xterm-mouse-handle-delete-frame): New functions.
276 (delete-frame-functions, after-make-frame-functions)
277 (suspend-tty-functions, resume-tty-functions): Install extra hooks
278 for multi-tty.
279
280 * server.el: Use `device' instead of `display' or `display-id' in 231 * server.el: Use `device' instead of `display' or `display-id' in
281 variable and client parameter names. 232 variable and client parameter names.
282 (server-select-display): Remove (unused). 233 (server-select-display): Remove (unused).
283 (server-tty-live-p, server-handle-delete-tty): Remove. 234 (server-tty-live-p, server-handle-delete-tty): Remove.
284 (server-unquote-arg, server-quote-arg,server-buffer-clients): 235 (server-unquote-arg, server-quote-arg, server-buffer-clients):
285 Update docs. 236 Update docs.
286 (server-getenv-from, server-with-environment,server-send-string) 237 (server-getenv-from, server-with-environment, server-send-string)
287 (server-save-buffers-kill-terminal): New functions. 238 (server-save-buffers-kill-terminal): New functions.
288 (server-delete-client): Handle quits in kill-buffer. Don't kill 239 (server-delete-client): Handle quits in kill-buffer. Don't kill
289 modified buffers. Add extra logging. 240 modified buffers. Add extra logging. Delete frames after
241 deleting the tty. Clear 'client parameter before deleting a frame.
242 Use delete-display, not delete-tty.
290 (server-visit-files): Don't set `server-existing-buffer' if the 243 (server-visit-files): Don't set `server-existing-buffer' if the
291 buffer already has other clients. Return list of buffers 244 buffer already has other clients. Return list of buffers
292 created. Update doc. Don't set client-record when nowait. 245 created. Update doc. Don't set client-record when nowait.
293 (server-delete-client): Delete frames after deleting the tty.
294 Clear 'client parameter before deleting a frame. Use
295 delete-display, not delete-tty.
296 (server-handle-delete-frame): Delete the client if this was its 246 (server-handle-delete-frame): Delete the client if this was its
297 last frame. Check that the frame is alive. Remove bogus comment. 247 last frame. Check that the frame is alive. Remove bogus comment.
298 Add note on possible race condition. Delete tty clients, if 248 Add note on possible race condition. Delete tty clients, if
299 needed. 249 needed.
300 (server-handle-suspend-tty): Use server-send-string. 250 (server-handle-suspend-tty): Use server-send-string. Kill the
251 client in case of errors from process-send-string. Use the display
252 parameter.
301 (server-unload-hook): Remove obsolete delete-tty 253 (server-unload-hook): Remove obsolete delete-tty
302 hook. 254 hook.
303 (server-start): Ask before restarting if the old server still has 255 (server-start): Ask before restarting if the old server still has
304 clients. Add feedback messages. Remove obsolete delete-tty 256 clients. Add feedback messages. Remove obsolete delete-tty
305 hook. 257 hook.
306 (server-handle-suspend-tty): Kill the client in case of errors 258 (server-process-filter): Use server-send-string. Accept `-dir'
307 from process-send-string. Use the display parameter. 259 command. Switch to *scratch* immediately after creating the frame,
308 (server-process-filter): Use server-send-string. Accept `-dir'
309 command. Switch to *scratch* immediately after creating the frame,
310 before evaluating any -evals. Protect `display-splash-screen' 260 before evaluating any -evals. Protect `display-splash-screen'
311 call in a condition-case. Explain why. Call 261 call in a condition-case. Explain why. Call
312 `display-startup-echo-area-message' before 262 `display-startup-echo-area-message' before
@@ -332,15 +282,42 @@
332 them buried under others. Set the display parameter, and use it 282 them buried under others. Set the display parameter, and use it
333 when appropriate. 283 when appropriate.
334 284
335 * ebrowse.el (ebrowse-electric-list-mode-map) 285 * startup.el (display-startup-echo-area-message): Handle
336 (ebrowse-electric-position-mode-map): 286 `inhibit-startup-echo-area-message' here.
337 * ebuff-menu.el (electric-buffer-menu-mode-map): 287 (command-line-1): Moved from here.
338 * echistory.el (electric-history-map): Bind C-z to 288 (fancy-splash-screens): Use `overriding-local-map' instead of
339 `suspend-frame', not `suspend-emacs'. 289 `overriding-terminal-local-map' for now; the latter doesn't work
340 290 right, it looses keypresses to another terminal. Use
341 * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment' 291 `overriding-terminal-local-map' to set up keymap. Install a
342 and `with-selected-frame'. 292 `delete-frame-functions' hook to catch `delete-frame' events.
293 Ignore `select-window' events to cope better with
294 `focus-follows-mouse'. Don't switch back to the original buffer
295 if the splash frame has been killed. Restore previous buffer, even
296 if it's *scratch*.
297 (normal-splash-screen): Don't let-bind `mode-line-format'; it
298 changes the global binding - setq it instead. Use
299 `save-buffers-kill-terminal'.
300 (display-splash-screen): Don't do anything if the splash screen is
301 already displayed elsewhere.
302 (fancy-splash-exit, fancy-splash-delete-frame): New functions.
303 (command-line): Replace duplicated code with a call to
304 tty-run-terminal-initialization. Don't load the terminal
305 initialization file more than once. Remove call to nonexistent
306 function `set-locale-translation-file-name'.
343 307
308 * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
309 parameters.
310 (xterm-mouse-position-function, xterm-mouse-event): Update.
311 (xterm-mouse-mode): Don't depend on current value of
312 window-system.
313 (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
314 Update for multi-tty.
315 (turn-on-xterm-mouse-tracking-on-terminal)
316 (turn-off-xterm-mouse-tracking-on-terminal)
317 (xterm-mouse-handle-delete-frame): New functions.
318 (delete-frame-functions, after-make-frame-functions)
319 (suspend-tty-functions, resume-tty-functions): Install extra hooks
320 for multi-tty.
344 321
345;; Local Variables: 322;; Local Variables:
346;; coding: iso-2022-7bit 323;; coding: iso-2022-7bit