1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
emacs/lisp/international
Karoly Lorentey f105f403d2 Implement automatic terminal-local environment variables via `local-environment-variables'.
* lisp/env.el (setenv, getenv): Add optional terminal parameter.  Update docs.
  (setenv): Handle `local-environment-variables'.
  (read-envvar-name): Also allow (and complete) local
  environment variables on the current terminal.

* src/callproc.c: Include frame.h and termhooks.h, for terminal parameters.
  (Qenvironment): New constant.
  (Vlocal_environment_variables): New variable.
  (syms_of_callproc): Register and initialize them.
  (child_setup): Handle Vlocal_environment_variables.
  (getenv_internal): Add terminal parameter.  Handle
  Vlocal_environment_variables.
  (Fgetenv_internal): Add terminal parameter.

* src/termhooks.h (get_terminal_param): Declare.

* src/Makefile.in (callproc.o): Update dependencies.
* mac/makefile.MPW (callproc.c.x): Update dependencies.

* lisp/termdev.el (terminal-id): Make parameter optional.
  (terminal-getenv, terminal-setenv, with-terminal-environment): 
  Disable functions.

* lisp/mule-cmds.el (set-locale-environment): Convert `terminal-getenv' calls
  to `getenv'.
* lisp/rxvt.el (rxvt-set-background-mode): Ditto.
* lisp/x-win.el (x-initialize-window-system): Ditto.
* lisp/xterm.el (terminal-init-xterm): Ditto.

* lisp/server.el (server-process-filter): Fix reference to the 'display frame
  parameter.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-461
2005-12-26 02:14:10 +00:00
..
.gitignore
ccl.el
characters.el
code-pages.el 2005-09-24 Emilio C. Lopes <eclig@gmx.net> 2005-09-24 13:44:02 +00:00
codepage.el 2005-09-24 Emilio C. Lopes <eclig@gmx.net> 2005-09-24 13:44:02 +00:00
encoded-kb.el Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim Verona.) Split `set-input-mode'. 2005-12-23 03:00:55 +00:00
fontset.el (ccl-encode-unicode-font): Lookup 2005-10-13 02:25:34 +00:00
isearch-x.el (isearch-process-search-multibyte-characters): Remove unneeded `concat'. 2005-07-18 14:33:38 +00:00
iso-ascii.el
iso-cvt.el
iso-transl.el Rename function-key-map to local-function-key-map, and global-function-key-map to function-key-map. Same for key-translation-map. 2005-07-12 10:55:24 +00:00
ja-dic-cnv.el
ja-dic-utl.el
kinsoku.el (kinsoku-longer): Check eolp, not eobp. 2005-12-06 06:24:41 +00:00
kkc.el
latexenc.el (latex-inputenc-coding-alist): Doc fix. 2005-12-02 13:25:19 +00:00
latin1-disp.el
latin-1.el
latin-2.el
latin-3.el
latin-4.el
latin-5.el
latin-8.el
latin-9.el
mule-cmds.el Implement automatic terminal-local environment variables via `local-environment-variables'. 2005-12-26 02:14:10 +00:00
mule-conf.el
mule-diag.el 2005-09-24 Emilio C. Lopes <eclig@gmx.net> 2005-09-24 13:44:02 +00:00
mule-util.el
mule.el Merged from miles@gnu.org--gnu-2005 (patch 169-173, 671-676) 2005-12-19 19:57:22 +00:00
ogonek.el
quail.el (quail-get-current-str): Translate last raw character 2005-10-28 05:47:31 +00:00
subst-big5.el
subst-gb2312.el
subst-jis.el
subst-ksc.el
titdic-cnv.el Update FSF's address. 2005-07-05 00:35:10 +00:00
ucs-tables.el * files.el (save-buffer): 2005-12-09 16:44:18 +00:00
utf-7.el (utf-7): Add autoload cookie. 2005-10-24 11:37:03 +00:00
utf-8.el (utf-8-compose): Display an invalid UTF-8 byte with `escape-glyph' 2005-10-13 05:39:31 +00:00
utf-16.el Declare that all UTF-16-based coding 2005-07-07 06:18:59 +00:00