1. 20 May, 2006 1 commit
    • Karoly Lorentey's avatar
      Fix and/or simplify terminal initialization files. · 8cbd7bed
      Karoly Lorentey authored
      * lisp/faces.el (tty-create-frame-with-faces): Set up faces and
        background mode only after the terminal has been initialized.
        (frame-set-background-mode): Handle the 'background-mode terminal
        parameter.
        (tty-run-terminal-initialization): Add type option.
      
      * lisp/term/README: Update.
      * lisp/term/rxvt.el: Simplify.
      * lisp/term/xterm.el: Simplify and fix.
      * lisp/term/*.el: Simplify and fix.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-564
      8cbd7bed
  2. 19 May, 2006 1 commit
  3. 12 May, 2006 1 commit
  4. 10 May, 2006 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-font-panel-mode): Doc fix. · b905e809
      YAMAMOTO Mitsuharu authored
      (mac-service-selection, mac-service-open-file)
      (mac-service-open-selection, mac-service-mail-selection)
      (mac-service-mail-to, mac-service-insert-text): Rename from
      mac-services-*.  All uses changed.
      (mac-apple-event-map): Rename event symbol `services' to `service'.
      b905e809
  5. 08 May, 2006 1 commit
  6. 07 May, 2006 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-utxt-to-string): Use `eq' instead of `='. · 527ba7f4
      YAMAMOTO Mitsuharu authored
      (mac-atsu-font-table, mac-font-panel-mode): Add defvars.
      (mac-bytes-to-digits, mac-handle-toolbar-switch-mode)
      (mac-handle-font-panel-closed, mac-handle-font-selection):
      New functions.
      (mac-font-panel-mode): New minor mode.
      (mac-apple-event-map): Add bindings for toolbar toggle button and
      font panel.
      (menu-bar-showhide-menu): Add mac-font-panel-mode.
      527ba7f4
  7. 06 May, 2006 1 commit
  8. 05 May, 2006 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-utxt-to-string, mac-string-to-utxt) · 6e53dc95
      YAMAMOTO Mitsuharu authored
      (mac-TEXT-to-string, mac-string-to-TEXT, mac-furl-to-string)
      (mac-TIFF-to-string): New functions.
      (mac-text-encoding-mac-japanese-basic-variant):	New constant.
      (x-get-selection, x-selection-value)
      (mac-select-convert-to-string): Use them.
      (mac-dnd-types-alist): New customization variable.
      (mac-dnd-handle-furl, mac-dnd-handle-hfs, mac-dnd-insert-utxt)
      (mac-dnd-insert-TEXT, mac-dnd-insert-TIFF, mac-dnd-drop-data)
      (mac-dnd-handle-drag-n-drop-event): New functions.
      (mac-drag-n-drop): Remove function.
      (global-map): Bind drag-n-drop and M-drag-n-drop to
      mac-dnd-handle-drag-n-drop-event.
      6e53dc95
  9. 01 May, 2006 1 commit
  10. 01 Apr, 2006 1 commit
  11. 30 Mar, 2006 1 commit
  12. 25 Mar, 2006 1 commit
  13. 18 Mar, 2006 2 commits
  14. 10 Feb, 2006 1 commit
  15. 06 Feb, 2006 1 commit
  16. 23 Jan, 2006 1 commit
  17. 05 Jan, 2006 1 commit
  18. 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
  19. 23 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Don't let x_initialize break 8-bit input on ttys. (Reported by Joakim... · a712a8c3
      Karoly Lorentey authored
      Don't let x_initialize break 8-bit input on ttys.  (Reported by Joakim Verona.)  Split `set-input-mode'.
      
      * lisp/international/encoded-kb.el (encoded-kbd-setup-display): Use `set-input-meta-mode'.
      * lisp/linux.el (terminal-init-linux): Ditto.
      
      * src/keyboard.c (Fset_input_interrupt_mode, Fset_output_flow_control)
        (syms_of_keyboard): Defsubr them.
        (Fset_input_meta_mode, Fset_quit_char): New functions.
        (Fset_input_mode): Split to above functions.
      
      * lisp.h: EXFUN the new functions.
      
      * xterm.c (x_initialize): Use Fset_input_interrupt_mode.
      * macterm.c (mac_initialize): Ditto.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-457
      a712a8c3
  20. 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
  21. 19 Dec, 2005 1 commit
    • YAMAMOTO Mitsuharu's avatar
      (mac-handle-language-change) · 62ffc232
      YAMAMOTO Mitsuharu authored
      (mac-ae-open-documents, mac-ae-get-url, mac-services-open-file)
      (mac-services-open-selection, mac-services-mail-selection)
      (mac-services-mail-to, mac-services-insert-text)
      (mac-dispatch-apple-event): Add docstrings.
      (x-get-selection, mac-select-convert-to-string): Select coding
      system from `utf-16be' and `utf-16le' using `byteorder'.
      62ffc232
  22. 11 Dec, 2005 1 commit
  23. 10 Dec, 2005 1 commit
    • YAMAMOTO Mitsuharu's avatar
      Require url when compiling. Call · ea1f6051
      YAMAMOTO Mitsuharu authored
      mac-process-deferred-apple-events after loading init files.
      (mac-apple-event-map): New defvar.  Define event handlers in it.
      (core-event, internet-event): New Apple event class symbols.
      (open-application, reopen-application, open-documents)
      (print-documents, open-contents, quit-application)
      (application-died, show-preferences, autosave-now, get-url): New
      Apple event ID symbols.
      (about): New HICommand ID symbol.
      (mac-event-spec, mac-event-ae): New macros.
      (mac-ae-parameter, mac-ae-list, mac-bytes-to-integer)
      (mac-ae-selection-range, mac-ae-text-for-search)
      (mac-ae-open-documents, mac-ae-text, mac-ae-get-url): New functions.
      (mac-application-menu-map): Remove keymap.  Handlers for HICommand
      and Services menu events are now defined in mac-apple-event-map.
      (mac-drag-n-drop): Remove selection range handling.
      ea1f6051
  24. 28 Nov, 2005 1 commit
  25. 24 Nov, 2005 1 commit
  26. 23 Nov, 2005 1 commit
  27. 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
  28. 02 Nov, 2005 1 commit
  29. 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
  30. 24 Oct, 2005 1 commit
  31. 16 Oct, 2005 1 commit
  32. 09 Oct, 2005 1 commit
  33. 01 Oct, 2005 1 commit
  34. 25 Sep, 2005 1 commit
  35. 24 Sep, 2005 2 commits
  36. 22 Sep, 2005 1 commit
  37. 21 Sep, 2005 2 commits