1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-04 20:27:45 +00:00

1768 Commits

Author SHA1 Message Date
Chong Yidong
bd41a17da9 Include time.h unconditionally.
(main): Use time_t for time variables.
2009-02-13 14:21:30 +00:00
Chong Yidong
8ee7d7be1d * movemail.c: Include time.h unconditionally.
(main): Use time_t for time variables.
2009-02-13 14:21:16 +00:00
Glenn Morris
d228a23c4a (mbx_delimit_begin): Also write the current time. 2009-02-11 03:59:52 +00:00
Glenn Morris
3f32be22c6 (mbx_delimit_begin, mbx_delimit_end): Write mbox rather than Babyl
format.  (Bug#2196)
2009-02-10 03:30:39 +00:00
Chong Yidong
a436e145b7 Bump version to 23.0.90. 2009-02-01 22:04:25 +00:00
Adrian Robert
e7534fc4ed * emacsclient.c (decode_options): Use a dummy display name under NS/Cocoa. 2009-01-23 09:08:03 +00:00
Chong Yidong
efdd3da41d (matching_regexp): Fix OB1 error. 2009-01-14 13:41:12 +00:00
Chong Yidong
9eb67dd9d4 * ebrowse.c (matching_regexp): Fix OB1 error. 2009-01-14 13:41:04 +00:00
Glenn Morris
9021bb4998 Add missing entry. 2009-01-10 23:52:50 +00:00
Glenn Morris
eedcb417fa Comment (add Author:, based on authors.el). 2009-01-10 23:01:48 +00:00
Glenn Morris
f885013692 Comment (add Author: header). 2009-01-10 23:00:30 +00:00
Glenn Morris
c3fba29dba Comment (add an author based on ack.texi). 2009-01-10 21:56:18 +00:00
Glenn Morris
eb2ffb185a Comments (minor fixes of some header conventions). 2009-01-10 21:50:40 +00:00
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