mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-07 15:21:46 +00:00
Further simplification pending merge to trunk.
This commit is contained in:
parent
048a63196c
commit
ed1cc5a75f
@ -1,30 +1,3 @@
|
|||||||
0000-00-00 A. N. Other <none@example.com>
|
|
||||||
|
|
||||||
(main_argc, main_argv, current_frame, window_system, tty): New
|
|
||||||
variables.
|
|
||||||
(longopts): Add tty, current-frame.
|
|
||||||
(xmalloc, xstrdup): New functions.
|
|
||||||
(decode_options): Set display from environment. Add tty and
|
|
||||||
current_frame options.
|
|
||||||
(print_help_and_exit): Document tty and current-frame options.
|
|
||||||
(fail): Change arguments to void.
|
|
||||||
(main): When sockets are not defined, set main_argc, main_argv,
|
|
||||||
and call fail() with no arguments.
|
|
||||||
(quote_file_name): Rename to quote_argument.
|
|
||||||
(quote_argument): New name for old quote_file_name.
|
|
||||||
(unquote_argument, strprefix, pass_signal_to_emacs)
|
|
||||||
(handle_sigcont, handle_sigtstp, init_signals): New functions.
|
|
||||||
(set_local_socket): Initialize saved_errno to 0. If socket-name
|
|
||||||
is too long, call `fail' rather than `exit'.
|
|
||||||
(main): Set main_argc, main_argv. New var `str'. Don't need a
|
|
||||||
filename or argument if tty or window_system set. Call fail with
|
|
||||||
no arguments. Send version number to Emacs for verification.
|
|
||||||
If tty is set, check TERM, and pass name and type to Emacs.
|
|
||||||
Pass window_system to Emacs. Move sending of eval to optind
|
|
||||||
loop. Send -position, -file to Emacs. Call fsync after fflush.
|
|
||||||
Check for a client/server version match. Handle -emacs-pid,
|
|
||||||
-print, -error, -suspend.
|
|
||||||
|
|
||||||
0000-00-00 Dan Nicolaescu <dann@ics.uci.edu>
|
0000-00-00 Dan Nicolaescu <dann@ics.uci.edu>
|
||||||
|
|
||||||
* emacsclient.c (w32_execvp): Move definition before use.
|
* emacsclient.c (w32_execvp): Move definition before use.
|
||||||
@ -46,16 +19,38 @@
|
|||||||
(sys/stat.h, errno.h): Always include, even on WINDOWSNT.
|
(sys/stat.h, errno.h): Always include, even on WINDOWSNT.
|
||||||
(DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP): Copy
|
(DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP): Copy
|
||||||
definitions here from src/lisp.h.
|
definitions here from src/lisp.h.
|
||||||
|
(main_argc, main_argv, current_frame, window_system, tty): New
|
||||||
|
variables.
|
||||||
|
(longopts): Add tty, current-frame.
|
||||||
|
(xmalloc, xstrdup): New functions.
|
||||||
(get_current_dir_name): New function, copied from src/sysdep.c.
|
(get_current_dir_name): New function, copied from src/sysdep.c.
|
||||||
(decode_options): Make --no-wait imply --current-frame, except
|
(decode_options): Set display from environment. Add tty and
|
||||||
when it is the only option given. Make sure no frame is opened
|
current_frame options. Make --no-wait imply --current-frame,
|
||||||
when --current-frame is set.
|
except when it is the only option given. Make sure no frame is
|
||||||
|
opened when --current-frame is set.
|
||||||
|
(print_help_and_exit): Document tty and current-frame options.
|
||||||
|
(fail): Change arguments to void.
|
||||||
|
(main): When sockets are not defined, set main_argc, main_argv,
|
||||||
|
and call fail() with no arguments.
|
||||||
(emacs_socket): New variable (moved out from main `s').
|
(emacs_socket): New variable (moved out from main `s').
|
||||||
(main): Use get_current_dir_name to send over the current
|
(quote_file_name): Rename to quote_argument.
|
||||||
directory. Handle -window-system-unsupported command. Doc
|
(quote_argument): New name for old quote_file_name.
|
||||||
update. Don't exit prematurely on --no-wait, let Emacs close the
|
(unquote_argument, strprefix, pass_signal_to_emacs)
|
||||||
connection for us. When creating a new frame, send environment
|
(handle_sigcont, handle_sigtstp, init_signals): New functions.
|
||||||
and pwd to Emacs. Send current-frame to Emacs.
|
(set_local_socket): Initialize saved_errno to 0. If socket-name
|
||||||
|
is too long, call `fail' rather than `exit'.
|
||||||
|
(main): Doc update. Set main_argc, main_argv. New var `str'.
|
||||||
|
Don't need a filename or argument if tty or window_system set.
|
||||||
|
Call fail with no arguments. Use get_current_dir_name to send
|
||||||
|
over the current directory. Send version number to Emacs for
|
||||||
|
verification. If tty is set, check TERM, and pass name and type
|
||||||
|
to Emacs. Pass window_system to Emacs. Move sending of eval to
|
||||||
|
optind loop. Send -position, -file to Emacs. Call fsync after
|
||||||
|
fflush. Check for a client/server version match. Handle
|
||||||
|
-emacs-pid, -window-system-unsupported, -print, -error, -suspend
|
||||||
|
commands. Don't exit prematurely on --no-wait, let Emacs close
|
||||||
|
the connection for us. When creating a new frame, send
|
||||||
|
environment and pwd to Emacs. Send current-frame to Emacs.
|
||||||
|
|
||||||
;; Local Variables:
|
;; Local Variables:
|
||||||
;; coding: iso-2022-7bit
|
;; coding: iso-2022-7bit
|
||||||
|
Loading…
Reference in New Issue
Block a user