1. 16 May, 2007 1 commit
    • Miles Bader's avatar
      Rudimentary fix for environment variable handling. · 36ab8612
      Miles Bader authored
      * lisp/env.el (getenv): Restore David Kastrup's fix.
      (environment): Add optional frame parameter.
      
      * lisp/mule-cmds.el (set-locale-environment): Fix getenv call.
      * lisp/term/rxvt.el (rxvt-set-background-mode): Ditto.
      * lisp/x-win.el (x-initialize-window-system, terminal-init-xterm): Ditto.
      
      * lisp/server.el (server-with-environment): Restore the original environment.
      
      Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-6
      Creator:  Karoly Lorentey <karoly@lorentey.hu>
      36ab8612
  2. 19 Feb, 2007 1 commit
  3. 21 Jan, 2007 1 commit
  4. 09 Jan, 2007 1 commit
  5. 30 Dec, 2006 1 commit
  6. 27 Dec, 2006 3 commits
  7. 13 Dec, 2006 2 commits
  8. 10 Dec, 2006 1 commit
  9. 09 Dec, 2006 1 commit
  10. 08 Nov, 2006 1 commit
  11. 05 Oct, 2006 1 commit
  12. 20 Jul, 2006 1 commit
  13. 04 Jul, 2006 1 commit
    • Kenichi Handa's avatar
      (set-language-info): If LANG-ENV is · d042f8b4
      Kenichi Handa authored
      the current one, don't call set-language-environment, but call one
      of set-language-environment-XXX to make INFO effective now.
      (set-language-environment): Call set-language-environment-XXX
      functions instead of doing the various setups directly.
      (set-language-environment-coding-systems): Argument eol-type
      deleted.
      (set-language-environment-input-method)
      (set-language-environment-nonascii-translation)
      (set-language-environment-charset)
      (set-language-environment-fontset)
      (set-language-environment-unibyte): New functions.
      d042f8b4
  14. 24 May, 2006 1 commit
  15. 10 Apr, 2006 1 commit
  16. 08 Apr, 2006 2 commits
  17. 23 Mar, 2006 1 commit
  18. 03 Feb, 2006 1 commit
  19. 26 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Implement automatic terminal-local environment variables via `local-environment-variables'. · f105f403
      Karoly Lorentey authored
      * 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
      f105f403
  20. 07 Dec, 2005 1 commit
  21. 05 Dec, 2005 1 commit
    • Kenichi Handa's avatar
      (set-language-info-internal): New · eec5c8f9
      Kenichi Handa authored
      function.
      (set-language-info): Call set-language-info-internal to update
      language-info-alist.  If LANG-ENV is the current one, call
      set-language-environment to make INFO effective now.
      (set-language-info-alist): Likewise.
      (locale-language-names): With locale "en", use English
      lang. env. but set the default codings to iso-8859-1.
      eec5c8f9
  22. 20 Nov, 2005 1 commit
  23. 19 Nov, 2005 3 commits
    • Andreas Schwab's avatar
      Revert last change. · dc9d3a05
      Andreas Schwab authored
      dc9d3a05
    • Karoly Lorentey's avatar
      Store client's environment in terminal parameters, not server parameters. · 59e085e0
      Karoly Lorentey authored
      * lisp/loadup.el: Don't load server.
      * lisp/ldefs-boot.el: Update.
      
      * lib-src/emacsclient.c (main): Send environment only when a new display
        is created.
      
      * lisp/server.el (server-save-buffers-kill-display): Add autoload
        cookie.  Move stuff not specific to server into `save-buffers-kill-display'.
      * lisp/files.el (save-buffers-kill-display): New function.
        (ctl-x-map): Bind it to C-x C-c.
      
      * lisp/frame.el (terminal-getenv): New function.
      * lisp/international/mule-cmds.el (set-locale-environment): Use it.
      
      * lisp/frame.el (with-terminal-environment): New macro.
      
      * lisp/server.el (server-getenv, server-with-client-environment): Remove.
        (server-getenv-from, server-with-environment): New functions.
        (server-process-filter): Change syntax of environment
        variables.  Put environment into terminal parameters, not client parameters.
      
      * lisp/term/rxvt.el: Don't require server.
        (rxvt-set-background-mode): Use terminal-getenv, not server-getenv.
      * lisp/term/x-win.el (x-initialize-window-system): Ditto.
      * lisp/term/xterm.el (terminal-init-xterm): Ditto.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-443
      59e085e0
    • Andreas Schwab's avatar
      (set-language-environment): Always · 75f21b6e
      Andreas Schwab authored
      call set-display-table-and-terminal-coding-system.
      75f21b6e
  24. 06 Oct, 2005 1 commit
  25. 24 Sep, 2005 1 commit
    • Romain Francoise's avatar
      2005-09-24 Emilio C. Lopes <eclig@gmx.net> · 5b76833f
      Romain Francoise authored
      	* woman.el (woman-file-name):
      	* wid-edit.el (widget-file-prompt-value)
      	(widget-coding-system-prompt-value):
      	* w32-fns.el (set-w32-system-coding-system):
      	* vc.el (vc-version-diff, vc-annotate):
      	* textmodes/reftex-auc.el (reftex-arg-cite)
      	(reftex-arg-index-tag):
      	* textmodes/refer.el (refer-get-bib-files):
      	* textmodes/artist.el (artist-figlet-choose-font):
      	* terminal.el (terminal-emulator):
      	* replace.el (occur-read-primary-args):
      	* rect.el (string-rectangle, string-insert-rectangle):
      	* ps-print.el (ps-print-preprint):
      	* progmodes/pascal.el (pascal-goto-defun):
      	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
      	* progmodes/compile.el (compilation-find-file):
      	* printing.el (pr-interactive-n-up):
      	* play/animate.el (animate-birthday-present):
      	* net/rcompile.el (remote-compile):
      	* man.el (man, Man-goto-section, Man-follow-manual-reference):
      	* mail/rmailsum.el (rmail-summary-search-backward)
      	(rmail-summary-search):
      	* mail/rmailout.el (rmail-output-read-rmail-file-name)
      	(rmail-output-read-file-name):
      	* mail/rmail.el (rmail-search, rmail-search-backwards):
      	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
      	* locate.el (locate):
      	* international/quail.el (quail-show-keyboard-layout):
      	* international/mule.el (set-buffer-file-coding-system)
      	(revert-buffer-with-coding-system, set-file-name-coding-system)
      	(set-terminal-coding-system, set-keyboard-coding-system)
      	(set-next-selection-coding-system):
      	* international/mule-diag.el (describe-coding-system)
      	(describe-font, describe-fontset):
      	* international/mule-cmds.el (universal-coding-system-argument)
      	(search-unencodable-char, describe-input-method)
      	(set-language-environment, describe-language-environment):
      	* international/codepage.el (codepage-setup):
      	* international/code-pages.el (codepage-setup):
      	* info.el (Info-search, Info-follow-reference)
      	(Info-search-backward):
      	* emacs-lisp/advice.el (ad-read-advised-function)
      	(ad-read-advice-class, ad-clear-cache, ad-activate)
      	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
      	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
      	(ad-read-regexp):
      	* ediff-util.el (ediff-toggle-regexp-match):
      	* ediff-ptch.el (ediff-prompt-for-patch-file):
      	* dired-aux.el (dired-diff):
      	* diff.el (diff):
      	* cus-edit.el (custom-variable-prompt):
      	* calendar/timeclock.el (timeclock-ask-for-project):
      	* calc/calcalg3.el (calc-get-fit-variables):
      	* calc/calc-store.el (calc-edit-variable)
      	(calc-permanent-variable):
      	* vc-mcvs.el (vc-mcvs-register):
      	* shadowfile.el (shadow-define-literal-group):
      	* woman.el (woman-file-name):
      	* vc.el (vc-version-diff, vc-merge):
      	* textmodes/reftex-index.el (reftex-index-complete-tag):
      	* format.el (format-decode-buffer, format-decode-region):
      	* emulation/viper-cmd.el (viper-read-string-with-history):
      	* emacs-lisp/debug.el (cancel-debug-on-entry):
      	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      	* ediff.el (ediff-merge-revisions)
      	(ediff-merge-revisions-with-ancestor, ediff-revision):
      	* completion.el (interactive-completion-string-reader):
      	* calc/calc-prog.el (calc-user-define-formula):
      	Follow convention for reading with the minibuffer.
      5b76833f
  26. 23 Sep, 2005 1 commit
  27. 01 Sep, 2005 1 commit
  28. 29 Aug, 2005 1 commit
  29. 29 Jul, 2005 1 commit
  30. 19 Jul, 2005 1 commit
  31. 07 Jul, 2005 1 commit
  32. 06 Jul, 2005 1 commit
    • Karoly Lorentey's avatar
      Small enhancements. · 626ea340
      Karoly Lorentey authored
      * lisp/international/mule-cmds.el (set-locale-environment): Use
        server-getenv, not getenv.
      
      * lisp/server.el (server-handle-delete-frame): Add note on possible race
        condition.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-374
      626ea340
  33. 04 Jul, 2005 1 commit
  34. 10 Jun, 2005 1 commit