Revision: emacs--multi-tty--0--patch-83 Archive: lorentey@elte.hu--2004 Creator: Karoly Lorentey Date: Fri Feb 20 00:55:51 CET 2004 Standard-date: 2004-02-19 23:55:51 GMT Modified-files: lib-src/emacsclient.c lisp/server.el New-patches: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-83 Summary: Added -w option to emacsclient for opening a new X frame. Keywords: lib-src/emacsclient.c (window_system): New variable. (frame): Renamed to tty for consistency with the option name. (longopts, print_help_and_exit): Added -w option. (Suggested by Ami Fischman . (decode_options): Initialize display to $DISPLAY. Handle -w option. (main): Implement the -w option. Changed to a more elaborate protocol between Emacs and emacsclient, in preparation to suspend support. lisp/server.el (server-frames): New variable. (server-handle-delete-frame): New function. (server-start): Add it to delete-frame-functions. (server-select-display): Don't make the new frame invisible. (server-with-errors-reported): New macro for brevity. (server-process-filter): Implement the "-window-system" command. Use server-with-errors-reported. Fixed regexp for +line:column syntax. Use the new protocol.