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. 06 Mar, 2007 1 commit
  3. 21 Jan, 2007 1 commit
  4. 30 Dec, 2006 1 commit
  5. 20 Nov, 2006 1 commit
  6. 18 Nov, 2006 1 commit
  7. 10 Nov, 2006 1 commit
  8. 18 Oct, 2006 1 commit
  9. 14 Oct, 2006 1 commit
    • Karoly Lorentey's avatar
      Fix obvious runtime errors after merge. · 5665a02f
      Karoly Lorentey authored
      * lisp/term/x-win.el (x-initialize-window-system): Make a copy of pure list.
      
      * src/puresize.h (BASE_PURESIZE): Increase puresize.
      
      * src/alloc.c (emacs_blocked_malloc): Disable mallopt call.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-583
      5665a02f
  10. 15 Sep, 2006 1 commit
  11. 16 Aug, 2006 1 commit
  12. 14 Aug, 2006 1 commit
  13. 29 Jul, 2006 1 commit
    • Karoly Lorentey's avatar
      Fix F10 behaviour. (Reported by Bernard Adrian.) · 14ab3a40
      Karoly Lorentey authored
      * src/xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: 
        Rename from Fmenu_bar_open.
        (syms_of_xmenu): Update defsubr.
      
      * lisp/menu-bar.el (menu-bar-open): New function.
        Bind it to f10.
      
      * lisp/term/x-win.el: Don't bind f10.
      
      * lisp/tmm.el: Remove autoload binding for f10.
      
      * lisp/ldefs-boot.el: Regenerate.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-577
      14ab3a40
  14. 09 Jul, 2006 1 commit
  15. 08 Jul, 2006 2 commits
  16. 01 Jun, 2006 1 commit
  17. 29 May, 2006 1 commit
  18. 01 Apr, 2006 1 commit
  19. 06 Feb, 2006 1 commit
  20. 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
  21. 22 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Reimplement and extend support for terminal-local environment variables. · f35ca2fe
      Karoly Lorentey authored
      * 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
      f35ca2fe
  22. 19 Nov, 2005 1 commit
    • 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
  23. 02 Nov, 2005 1 commit
  24. 29 Oct, 2005 1 commit
    • Karoly Lorentey's avatar
      Fix semantics of terminal-local variables. Remove `terminal-local-value' hack. · c40bb1ba
      Karoly Lorentey authored
      * src/data.c (do_symval_forwarding, store_symval_forwarding)
        (find_symbol_value): Use the selected frame's keyboard, not
        current_kboard.
      
      * src/data.c (Fterminal_local_value, Fset_terminal_local_value): Disable
        these functions.
      
      * src/data.c (syms_of_data): Don't defsubr them.
      * lisp/edmacro.el (edmacro-format-keys): Remove terminal-local-value calls.
      * lisp/emulation/cua-base.el (cua--pre-command-handler-1): Ditto.
      * lisp/international/encoded-kb.el (encoded-kbd-setup-display): Ditto.
      * lisp/isearch.el (isearch-other-meta-char): Ditto.
      * lisp/obsolete/keyswap.el (the-table): Ditto.
      * lisp/simple.el (normal-erase-is-backspace-mode): Ditto.
      * lisp/subr.el (keyboard-translate, read-quoted-char): Ditto.
      * lisp/term/AT386.el (terminal-init-AT386): Ditto.
      * lisp/term/internal.el: Ditto.
      * lisp/term/iris-ansi.el (terminal-init-iris-ansi): Ditto.
      * lisp/term/lk201.el (terminal-init-lk201): Ditto.
      * lisp/term/mac-win.el: Ditto.
      * lisp/term/news.el (terminal-init-news): Ditto.
      * lisp/term/rxvt.el (terminal-init-rxvt): Ditto.
      * lisp/term/sun.el (terminal-init-sun): Ditto.
      * lisp/term/tvi970.el (terminal-init-tvi970): Ditto.
      * lisp/term/vt200.el (terminal-init-vt200): Ditto.
      * lisp/term/vt201.el (terminal-init-vt201): Ditto.
      * lisp/term/vt220.el (terminal-init-vt220): Ditto.
      * lisp/term/vt240.el (terminal-init-vt240): Ditto.
      * lisp/term/vt300.el (terminal-init-vt300): Ditto.
      * lisp/term/vt320.el (terminal-init-vt320): Ditto.
      * lisp/term/vt400.el (terminal-init-vt400): Ditto.
      * lisp/term/vt420.el (terminal-init-vt420): Ditto.
      * lisp/term/wyse50.el (terminal-init-wyse50): Ditto.
      * lisp/term/x-win.el (x-setup-function-keys): Ditto.
      * lisp/term/xterm.el (terminal-init-xterm): Ditto.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-434
      c40bb1ba
  25. 24 Oct, 2005 1 commit
  26. 09 Oct, 2005 1 commit
  27. 31 Aug, 2005 1 commit
  28. 01 Aug, 2005 1 commit
  29. 12 Jul, 2005 1 commit
    • Karoly Lorentey's avatar
      Rename function-key-map to local-function-key-map, and global-function-key-map... · ac09dc1e
      Karoly Lorentey authored
      Rename function-key-map to local-function-key-map, and global-function-key-map to function-key-map.  Same for key-translation-map.
      
      * src/keyboard.h (struct kboard): Rename member 'Vfunction_key_map' to
        'Vlocal_function_key_map', and 'Vkey_translation_map' to
        'Vlocal_key_translation_map'.
        (Vfunction_key_map, Vkey_translation_map): New declarations.
      
      * src/keyboard.c (Vfunction_key_map): New variable.
        (Vglobal_key_translation_map): Rename to Vglobal_key_translation_map.
        (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): Update.
      * src/keymap.c (Fdescribe_buffer_bindings): Update.
      * src/term.c (term_get_fkeys_1): Update.
      
      * lisp/double.el (double-setup): Replace global-key-translation-map with key-translation-map.
      * lisp/international/encoded-kb.el (encoded-kbd-setup-display): Ditto.
      * lisp/international/iso-transl.el: Ditto.
      * lisp/obsolete/iso-acc.el (iso-accents-customize): Ditto.
      
      * lisp/edmacro.el (edmacro-format-keys): Use terminal-local binding of
        local-function-key-map instead of function-key-map.
      * lisp/emulation/cua-base.el (cua--pre-command-handler): Ditto.
      * lisp/isearch.el (isearch-other-meta-char): Ditto.
      * lisp/subr.el (read-quoted-char): Ditto.
      * lisp/term/vt200.el: Ditto.
      * lisp/term/vt201.el: Ditto.
      * lisp/term/vt220.el: Ditto.
      * lisp/term/vt240.el: Ditto.
      * lisp/term/vt300.el: Ditto.
      * lisp/term/vt320.el: Ditto.
      * lisp/term/vt400.el: Ditto.
      * lisp/term/vt420.el: Ditto.
      
      * lisp/simple.el (normal-erase-is-backspace-mode): Add todo note.
      * lisp/xt-mouse.el: Ditto.
      
      * lisp/term/AT386.el: Adapt for renaming of function-key-map to local-function-key-map.
      * lisp/term/internal.el: Ditto.
      * lisp/term/iris-ansi.el: Ditto.
      * lisp/term/lk201.el: Ditto.
      * lisp/term/mac-win.el: Ditto.
      * lisp/term/news.el: Ditto.
      * lisp/term/rxvt.el: Ditto.
      * lisp/term/sun.el: Ditto.
      * lisp/term/tvi970.el: Ditto.
      * lisp/term/wyse50.el: Ditto.
      * lisp/term/x-win.el (x-setup-function-keys): Ditto.
      * lisp/term/xterm.el: Ditto.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-386
      ac09dc1e
  30. 04 Jul, 2005 1 commit
  31. 27 Jun, 2005 1 commit
    • Karoly Lorentey's avatar
      Use terminal-local-value to access function-key-map in terminal packages. · ff2fc632
      Karoly Lorentey authored
      * lisp/term/AT386.el: Wrap function-key-map accesses in (set-)terminal-local-value.
      * lisp/term/internal.el: Ditto.
      * lisp/term/iris-ansi.el: Ditto.
      * lisp/term/lk201.el: Ditto.
      * lisp/term/mac-win.el: Ditto.
      * lisp/term/news.el: Ditto.
      * lisp/term/rxvt.el: Ditto.
      * lisp/term/sun.el: Ditto.
      * lisp/term/tvi970.el: Ditto.
      * lisp/term/wyse50.el: Ditto.
      * lisp/term/x-win.el: Ditto.
      * lisp/term/xterm.el: Ditto.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-366
      ff2fc632
  32. 26 Jun, 2005 1 commit
    • Karoly Lorentey's avatar
      Update Lisp code for a terminal-local `function-key-map'. · 2bb819d5
      Karoly Lorentey authored
      * lisp/term/x-win.el (x-setup-function-keys): New function.  Move
        function-key-map tweaks here.
      
      * lisp/faces.el (x-create-frame-with-faces): Call x-setup-function-keys.
      
      * lisp/term/iris-ansi.el: Update for terminal-local function-key-map.
      * lisp/term/lk201.el: Ditto.
      * lisp/term/news.el: Ditto.
      * lisp/term/rxvt.el: Ditto.
      * lisp/term/sun.el: Ditto.
      * lisp/term/xterm.el: Ditto.
      
      * lisp/startup.el: Cosmetic change.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-356
      2bb819d5
  33. 10 Jun, 2005 2 commits
  34. 16 May, 2005 1 commit
  35. 12 May, 2005 1 commit
  36. 23 Mar, 2005 1 commit
    • Karoly Lorentey's avatar
      Fix some superflous deviations from CVS, plus apply some cosmetics. · dc2be2fa
      Karoly Lorentey authored
      * etc/TODO: Fix deviation from CVS.
      * lisp/emulation/viper-util.el: Ditto.
      * lisp/international/mule-cmds.el: Ditto.
      * lisp/progmodes/gdb-ui.el: Ditto.
      * src/termchar.h: Ditto.
      * src/xfns.c (Fx_create_frame): Ditto.
      
      * lisp/term/rxvt.el: Don't embed `(require 'server)' in eval-when-compile.
      * lisp/term/xterm.el: Ditto.
      
      * src/xterm.c (x_delete_display): Cosmetic change.
      * src/xterm.c (x_create_frame_display): Cosmetic change.
      
      
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-317
      dc2be2fa
  37. 01 Dec, 2004 1 commit
    • Kenichi Handa's avatar
      (x-last-selected-text-cut-encoded): New variable. · eb5ad242
      Kenichi Handa authored
      (x-select-text): Don't treat eight-bit-control/graphic chars
      specially.  Store the encoded text in the X cut buffer.
      (x-cut-buffer-or-selection-value): Compare the X cut buffer text
      with x-last-selected-text-cut-encoded.
      eb5ad242
  38. 16 Aug, 2004 1 commit