annotate admin/notes/cpp @ 83416:4513d8dcdfd5
Reimplement and extend support for terminal-local environment variables.
* lisp/termdev.el: New file. Move terminal parameter-related functions
here from frame.el.
(terminal-getenv, with-terminal-environment): Reimplement and extend.
(terminal-setenv, terminal-setenv-internal): New functions.
* lisp/frame.el (make-frame-on-tty, framep-on-display, suspend-frame):
Extend doc string, update parameter names.
(terminal-id, terminal-parameter-alist, terminal-parameters)
(terminal-parameter-p, terminal-parameter, set-terminal-parameter)
(terminal-handle-delete-frame, terminal-getenv, terminal-getenv)
(with-terminal-environment): Move to termdev.el.
* lisp/loadup.el: Load termdev as well.
* lisp/Makefile.in (lisp, shortlisp): Add termdev.elc.
* lisp/makefile.MPW (shortlisp): Ditto.
* lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Bind C-z to
`suspend-frame', not `suspend-emacs'.
* lisp/echistory.el (electric-history-map): Ditto.
* lisp/ebrowse.el (ebrowse-electric-list-mode-map): Ditto.
* lisp/ebrowse.el (ebrowse-electric-position-mode-map): Ditto.
* lisp/startup.el (normal-splash-screen): Use `save-buffers-kill-display'
instead of `save-buffers-kill-emacs'.
* lisp/x-win.el (x-initialize-window-system): Add 'global-ok option to
`terminal-getenv'.
* src/term.c (suspend-tty): Update doc string.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-456
| author |
Karoly Lorentey <lorentey@elte.hu> |
| date |
Thu, 22 Dec 2005 21:02:45 +0000 |
| parents |
695cf19ef79e |
| children |
375f2633d815 c3512b2085a0 |
| rev |
line source |
|
50518
|
1 ttn 2003-04-09
|
|
|
2
|
|
|
3 we use a C preprocesor not only in the normal compilation of .c files
|
|
|
4 into object files, but also for creating
|
|
|
5
|
|
|
6 src/Makefile
|
|
|
7 lib-src/Makefile
|
|
|
8
|
|
|
9 (delimited by comment "start of cpp stuff"). some cpp implementations
|
|
|
10 insert whitespace in between tokens, which explains the "$(dot)$(dot)"
|
|
|
11 and "UNEXEC_ALIAS" workarounds for unixoid systems and the bundled
|
|
|
12 tradcpp/ for vms. [NOTE: tradcpp/ not yet checked in.]
|
|
|
13
|
|
|
14 during makefile creation, the preprocessor symbol NOT_C_CODE is defined.
|
|
|
15 this should not be defined for normal .c file compilation.
|
|
|
16
|
|
|
17 there has been discussion on eliminating this use of cpp and relying
|
|
|
18 solely on autoconf processing. rms says to leave it be.
|
|
52401
|
19
|
|
|
20 ;;; arch-tag: d654291e-9fc8-41b7-ab0c-d3cde842a8e0
|