Glenn Morris
f5d0ac07d6
Add 2009 to copyright years.
2009-01-08 03:38:51 +00:00
Glenn Morris
b433a99104
(Copyright): Update copyright for 2009.
2009-01-05 00:53:04 +00:00
Glenn Morris
32c4b97098
(print_version): Update copyright for 2009.
2009-01-05 00:52:30 +00:00
Glenn Morris
12de22a56f
(version): Update copyright for 2009.
2009-01-05 00:51:13 +00:00
Chong Yidong
097e9c90ee
(main): Fatal if hard links cannot be created.
2009-01-01 09:34:28 +00:00
Chong Yidong
81f82586c4
* movemail.c (main): Fatal if hard links cannot be created.
2009-01-01 09:34:15 +00:00
Glenn Morris
30a7ee9fa3
File name fix, for AUTHORS.
2008-12-19 03:12:18 +00:00
Juanma Barranquero
f013149203
Fix typos and author's names.
2008-12-19 01:50:43 +00:00
Dan Nicolaescu
fd95644b93
* emacs.c (main): Print and error and exit when no data is read
...
from the pipe.
* startup.el (command-line): Do not mention the server name in
case the user has not mentioned it, print a more explicit message.
* emacsclient.c (start_daemon_and_retry_set_socket): Improve error
checking.
2008-12-18 08:48:26 +00:00
Juanma Barranquero
d483550724
Fix typos.
2008-12-17 15:25:54 +00:00
Dan Nicolaescu
67c1df0180
Include syswait.h instead of sys/types.h.
2008-12-14 03:23:43 +00:00
Glenn Morris
bf61b6ada1
Fix comment typo.
2008-12-13 04:20:11 +00:00
Dan Nicolaescu
5445ab06ef
(WCONTINUED): New compatibility define for older systems.
2008-12-11 17:32:44 +00:00
Dan Nicolaescu
d50299d55d
(main): Fix previous change.
2008-12-10 23:36:03 +00:00
Juanma Barranquero
5201664703
* emacsclient.c (main): Fix mindless breakage where emacsclient
...
does not work *at all* on Windows, even if it *can* connect.
2008-12-10 22:18:21 +00:00
Dan Nicolaescu
45ce457074
(main): Fail in case of not being able to connect.
2008-12-10 15:24:22 +00:00
Dan Nicolaescu
69157c9960
(decode_options): Fix typo.
2008-12-10 15:07:56 +00:00
Dan Nicolaescu
802bdb3c6b
(EMACS_DAEMON): Remove definition.
...
(decode_options): Do not allow an empty alternate_editor on
WINDOWSNT.
(print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
(start_daemon_and_retry_set_socket): Likewise.
2008-12-10 14:57:20 +00:00
Juanma Barranquero
c3f995a2cb
* emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
...
Changes when EMACS_DAEMON is not defined:
(print_help_and_exit): Don't add daemon information to help.
(start_daemon_and_retry_set_socket): Make a no-op.
(main): Don't set `start_daemon_if_needed' (which is initialized to 0).
2008-12-10 09:47:06 +00:00
Dan Nicolaescu
636b507bcc
* misc.texi (emacsclient Options): Describe what an empty string
...
argument does for --alternate-editor.
* emacsclient.1: Describe what an empty string argument does for
--alternate-editor.
* emacsclient.c (print_help_and_exit): Describe what an empty
string argument does for --alternate-editor.
(set_socket): Make it possible to not exit in case of an error.
(start_daemon_and_retry_set_socket): New function.
(main): Use it. Restore the NULL value for socket_name and
server_file after the set_socket call.
2008-12-10 07:56:51 +00:00
Dan Nicolaescu
7b64124198
*** empty log message ***
2008-12-03 04:37:24 +00:00
Dan Nicolaescu
18d2ad2920
Fix typo in include.
2008-12-03 04:33:44 +00:00
Dan Nicolaescu
448d408588
Include <darpa/inet.h>.
2008-12-03 03:37:37 +00:00
Dan Nicolaescu
938ebc4fcd
(scan_lisp_file): Use xmalloc instead of malloc.
2008-12-01 20:29:02 +00:00
Glenn Morris
3d86432513
Derek Peschel <dpeschel at eskimo.com> (tiny change)
...
(add_regex): Pass correct length to re_compile_pattern.
2008-11-22 03:18:03 +00:00
Chong Yidong
a336ee5bc0
Fix last change.
2008-11-02 23:16:33 +00:00
Chong Yidong
273b902863
(window_system): Delete redundant variable.
...
(decode_options): Don't use it.
(find_tty): New function.
(main): Use find_tty, and don't use window_system.
2008-11-02 21:41:57 +00:00
Chong Yidong
48c2dc6801
* emacsclient.c (window_system): Delete redundant variable.
...
(decode_options): Don't use it.
(find_tty): New function.
(main): Use find_tty, and don't use window_system.
2008-11-02 21:41:49 +00:00
Eli Zaretskii
d41784eef4
(main) [WINDOWSNT]: Don't ifdef away the call to `ttyname'.
...
(w32_getenv): Treat $TERM specially: if not found in the environment and in
the Registry, return "w32console".
(ttyname) [WINDOWSNT]: New function.
2008-11-01 13:49:23 +00:00
Andreas Schwab
322ca65006
(main): Don't force sending tty when in eval mode.
2008-10-31 23:17:13 +00:00
Chong Yidong
8536c0f5c5
(main): If using the current frame, send tty information to Emacs in
...
case daemon mode needs to occupy this tty.
2008-10-30 15:54:38 +00:00
Chong Yidong
8a8a7cd396
* emacsclient.c (main): If using the current frame, send tty
...
information to Emacs in case daemon mode needs to occupy this tty.
2008-10-30 15:54:31 +00:00
Juanma Barranquero
bc558f3edb
* emacsclient.c (EXTRA_SPACE): New macro.
...
(get_server_config, set_local_socket): Use it.
2008-10-29 15:34:06 +00:00
Juanma Barranquero
f8baa6395e
* makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
...
Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
2008-10-29 13:09:57 +00:00
Juanma Barranquero
f77b11a051
* server.el, emacsclient.c: Use TMPDIR (default /tmp) instead of hardcoded /tmp.
2008-10-29 10:42:31 +00:00
Dan Nicolaescu
dc1cd5f755
(longopts, print_help_and_exit): Add -nw.
...
(decode_options): Use getopt_long_only.
2008-10-13 02:32:51 +00:00
Eli Zaretskii
7a09249bc7
(OTHER_PLATFORM_SUPPORT): Remove ccl.elc and codepage.elc.
2008-09-30 19:01:37 +00:00
Juanma Barranquero
10d1d0af5f
Fix typos.
2008-09-24 01:16:16 +00:00
Eli Zaretskii
c966fd27a1
(main): Fix a typo in a comment.
2008-09-19 16:45:12 +00:00
Chong Yidong
d5dabcb513
(main): Use stdout rather than stdin to obtain the terminal (bug#427).
2008-09-19 15:50:24 +00:00
Chong Yidong
997ec9575c
* emacsclient.c (main): Use stdout rather than stdin to obtain the
...
terminal (bug#427).
2008-09-19 15:50:17 +00:00
Francesco Potortì
0d80bf2919
2008-08-25 Francesco Potort�<pot@gnu.org>
...
* etags.c (main): Do not use static space for the tagfile string.
2008-08-25 07:49:19 +00:00
Francesco Potortì
d3706fa95c
(main): Do not use static space for the tagfile string.
2008-08-25 07:48:27 +00:00
Francesco Potortì
34a23e9431
etags.c: improve collapsing multiple slashes in file names.
2008-08-16 23:59:03 +00:00
Francesco Potortì
9817cf3f9e
(main): Use canonicalize_filename on tags file name.
...
(relative_filename): Revert 3.85: do not collapse slashes here.
(absolute_dirname): Remove useless call to canonicalize_filename.
(canonicalize_filename): Collapse multiple slashes here.
2008-08-16 23:57:41 +00:00
Dan Nicolaescu
48fad8e894
* s/darwin.h (OTHER_FILES): Do not define here, defined in
...
config.in.
* Makefile.in (ALL_OBJC_CFLAGS): New variable.
(.m.o): Use it.
* config.in: Regenerate.
* Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES. Do
not special case for NS_IMPL_COCOA.
* configure.in (LIB_SRC_EXTRA_INSTALLABLES): New variable.
AC_SUBST it.
(GNU_OBJC_CFLAGS): Define as a shell variable instead of #define.
AC_SUBST it.
(OTHER_FILES): Always define for HAVE_NS.
(C_SWITCH_X_SYSTEM): Don't define as empty for NS_IMPL_COCOA.
* configure: Regenerate.
2008-08-07 14:21:43 +00:00
Adrian Robert
f4494e843f
* Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA. (.m.o): Dispense with GNUstep-specific flags.
2008-08-06 16:18:35 +00:00
Chong Yidong
5fe92a72fc
(socket_connection): Add conditionals for HAVE_KRB5_ERROR_TEXT and
...
HAVE_KRB5_ERROR_E_TEXT to support compilation with MIT Kerberos and
Heimdal, respectively.
2008-08-05 23:44:48 +00:00
Chong Yidong
39b8bb9b73
* pop.c (socket_connection): Add conditionals for
...
HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
compilation with MIT Kerberos and Heimdal, respectively.
2008-08-05 23:44:39 +00:00
Juanma Barranquero
d798201285
Fix typos.
2008-08-04 14:17:35 +00:00