1. 11 Sep, 2005 4 commits
    • Karoly Lorentey's avatar
      Make `emacsclient -n <filename>' open new X frames when possible. (Reported by Bas Kok.) · b8ccaf6f
      Karoly Lorentey authored
      * lib-src/emacsclient.c (decode_options): Change --no-wait to imply
        --current-frame only on ttys and only when there are extra arguments.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-411
      b8ccaf6f
    • Karoly Lorentey's avatar
      Fix crashes in xdialog_show (and other places) with xterm-mouse-mode. · 62af879c
      Karoly Lorentey authored
      * src/dispextern.h (get_tty_device): Declare.
      
      * src/dispnew.c (Fsend_string_to_terminal): Add optional TERMINAL parameter.
      
      * src/fns.c (Fy_or_n_p, Fyes_or_no_p): Don't try to open an X dialog on
        tty terminals.
      
      * src/term.c (get_tty_device): Remove static qualifier.
      
      * src/xmenu.c (create_and_show_dialog, create_and_show_popup_menu)
        (free_frame_menubar, mouse_position_for_popup, set_frame_menubar)
        (update_frame_menubar, x_activate_menubar, xdialog_show, xmenu_show):
        Abort when given a non-X frame.
      
      * src/xmenu.c (Fx_popup_menu, Fx_popup_dialog): Throw an error when run
        on a non-X frame.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-410
      62af879c
    • Karoly Lorentey's avatar
      Make xt-mouse.el multi-tty-compatible. · 6bac1616
      Karoly Lorentey authored
      * lisp/xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal parameters.
        (xterm-mouse-position-function, xterm-mouse-event): Update.
        (xterm-mouse-mode): Don't depend on current value of window-system.
        (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking): Update
        for multi-tty.
        (turn-on-xterm-mouse-tracking-on-terminal) 
        (turn-off-xterm-mouse-tracking-on-terminal) 
        (xterm-mouse-handle-delete-frame): New functions.
        (delete-frame-functions, after-make-frame-functions) 
        (suspend-tty-functions, resume-tty-functions): Install extra hooks for multi-tty.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-409
      6bac1616
    • Karoly Lorentey's avatar
      Fix `emacsclient +12 file' behaviour. (Reported by Han Boetes.) · 80a426c2
      Karoly Lorentey authored
      * lisp/server.el (server-process-filter): In `-position LINE' handler,
        don't ruin the request string until the line number is extracted.  Log
        opened files.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-408
      80a426c2
  2. 10 Sep, 2005 2 commits
    • Karoly Lorentey's avatar
      Fix `emacsclient -ne '(+ 2 2)'' (reported by Han Boetes), and clean up some... · 92071250
      Karoly Lorentey authored
      Fix `emacsclient -ne '(+ 2 2)'' (reported by Han Boetes), and clean up some corner cases in Emacs server.
      
      * lib-src/emacsclient.c (decode_options): Make --no-wait imply
        --current-frame, except when it is the only option given.  Make sure no
        frame is opened when --current-frame is set.  
        (main): Pass --current-frame to server.el.
      
      * lisp/server.el (server-process-filter): Handle -current-frame command.
        Don't create frames when it is given.  Don't bind X frames to the
        client when we are in -no-wait mode.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-407
      92071250
    • Karoly Lorentey's avatar
      Fix bootstrap error. · 79cf2123
      Karoly Lorentey authored
      * lisp/cus-start.el: Remove bogus window-system reference from GTK test.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-406
      79cf2123
  3. 09 Sep, 2005 29 commits
  4. 08 Sep, 2005 5 commits