Richard M. Stallman
599f9a5c4c
(server-buffer-done): Bind server-kill-buffer-running
...
around places that might kill the buffer.
Do something reasonable if server-done-hook kills the buffer.
(server-kill-buffer-running): Doc fix.
(server-kill-buffer): Do nothing unless server-buffer-clients.
(server-done): Doc fix.
(server-buffer-done): Test of for-killing was backwards.
1998-05-05 00:39:35 +00:00
Richard M. Stallman
ab1c7f3527
Customized.
1997-08-18 20:01:25 +00:00
Richard M. Stallman
fb873cfcb6
(server-kill-buffer): Prevent infinite recursion.
...
(server-kill-buffer-running): New variable.
1997-05-31 00:31:40 +00:00
Richard M. Stallman
e4874521bb
Comment change.
1997-05-27 15:32:03 +00:00
Richard M. Stallman
1da54e584e
(server-kill-buffer): Act only when there is a server process.
1997-05-14 18:42:57 +00:00
Richard M. Stallman
b392bac9b9
(server-buffer-done): New arg FOR-KILLING.
...
(server-kill-buffer): New fn, to inform clients when buffer is killed.
1997-05-10 00:37:24 +00:00
Richard M. Stallman
ffdd27965e
(server-done): If buffer visits no file, don't offer save.
1997-04-13 06:12:34 +00:00
Richard M. Stallman
8226e01e77
(server-process-filter): Let-bind `pos'.
1997-01-02 00:37:12 +00:00
Richard M. Stallman
c1148e39cc
(server-start): Don't delete ~/.emacs-server.
...
Instead, delete the names emacsserver really uses
if compiled with SERVER_HOME_DIR.
1996-12-30 20:40:27 +00:00
Richard M. Stallman
b59a6343c2
(server-process-filter): Quote with &, not \.
1996-09-02 17:43:56 +00:00
Richard M. Stallman
349e3f8210
(server-process-filter): Undo the quoting with
...
backslashes that emacsclient now does for special characters.
Delete some debugging code accidentally left in.
1996-09-02 00:03:28 +00:00
Richard M. Stallman
dfa35e6b44
(server-visit-files): New argument NOWAIT.
...
Don't record on server-buffer-clienjts if NOWAIT.
(server-process-filter): Pass NOWAIT arg based on data from server.
Don't record in server-clients if NOWAIT.
1996-08-28 23:26:13 +00:00
Richard M. Stallman
ee7226e542
(server-process-filter): Use command-line-normalize-file-name.
1996-02-28 23:32:18 +00:00
Richard M. Stallman
a478a9ce32
(server-process-filter): Don't collapse // at start of file name.
1996-02-28 00:29:43 +00:00
Richard M. Stallman
126b6f74c1
(server-process-filter): In file name, collapse multiple slashes to one.
1996-01-26 23:57:39 +00:00
Karl Heuer
26544100fa
(server-process-filter): Pass proper format string to message.
1996-01-25 00:56:54 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Richard M. Stallman
74c20cd37b
(server-log): Record the current time.
...
End with newline whenever STRING doesn't end with one.
1995-11-10 17:01:59 +00:00
Richard M. Stallman
14f67fa6a5
(server-start): Try both full hostname and shortened
...
hostname when deleting the socket file.
1995-10-08 19:42:11 +00:00
Richard M. Stallman
77e5a3c7ce
(server-process-filter): Ignore lines that don't start
...
with `Error:' or `Client:'.
1995-09-24 23:28:18 +00:00
Richard M. Stallman
08c229837b
(server-buffer-done): Pause between client commands,
...
but not after the last one.
1995-08-10 22:07:41 +00:00
Richard M. Stallman
7e721a4fba
(server-process-filter): Detect error messages from server.
1995-06-28 10:02:03 +00:00
Roland McGrath
98a4349ced
(server-switch-buffer): Make first arg optional too;
...
server-edit might pass no args, since server-done might return nil.
1995-04-09 18:57:09 +00:00
Karl Heuer
f8c25f1b67
Update copyright.
1995-04-07 02:21:52 +00:00
Richard M. Stallman
9184aafbcd
(server-buffer-done): Return a list
...
(NEXT-BUFFER KILLED). KILLED is t if we killed the buffer.
(server-edit): Values from server-done is now list of
args for server-switch-buffer.
(server-switch-buffer): Likewise.
(server-switch-buffer): New optional arg KILLED-ONE.
Avoid the other-buffer at the end in that case.
1995-03-11 20:32:48 +00:00
Richard M. Stallman
68469f746c
(server-process-filter): Process each line separately.
...
(server-buffer-done): Delete dead buffers from CLIENT list.
Wait a while after sending a command to emacsclient.
Verify that BUFFER is a buffer.
1994-12-29 01:43:50 +00:00
Richard M. Stallman
396e0e6ae5
(server-switch-buffer): Cope with dead frames and windows.
1994-12-23 03:30:53 +00:00
Richard M. Stallman
71207de2b6
Comment change.
1994-11-10 16:13:30 +00:00
Richard M. Stallman
02a8d13736
(server-switch-buffer): Don't go to an invisible frame.
...
Move to a non-dedicated window if possible.
Otherwise, make the window non-dedicated.
1994-10-04 04:20:21 +00:00
Richard M. Stallman
838cd60df9
(server-start): Always use pipes for communication.
1994-09-14 09:00:44 +00:00
Richard M. Stallman
e89da28d29
(server-start): Try both possible socket file names for the file to delete.
1994-07-11 20:36:53 +00:00
Richard M. Stallman
42bbacdff7
(server-start): Doc fix.
1994-06-11 20:18:46 +00:00
Richard M. Stallman
e82e73c21a
(server-visit-files): Bind last-nonmenu-event.
...
(server-kill-emacs-query-function): Ignore killed buffers.
1994-05-28 17:22:31 +00:00
Richard M. Stallman
f9b3ef8860
(server-done-hook): New hook.
...
(server-buffer-done): Run it.
1994-05-20 23:48:12 +00:00
Richard M. Stallman
c58bf9ae2a
(server-done): Never kill buffer here.
...
(server-buffer-done): Do it here, if temp file.
1994-05-19 05:58:21 +00:00
Karl Heuer
8f1204db34
Update copyright.
1994-05-03 23:47:06 +00:00
Richard M. Stallman
03d786655b
(server-kill-emacs-query-function)
...
(server-kill-buffer-query-function): Give names to these hook fns.
1994-04-20 20:26:25 +00:00
Richard M. Stallman
04645d5fb3
(kill-emacs-query-functions): Fix typo in question text.
1994-04-19 02:49:51 +00:00
Richard M. Stallman
3717217eee
(kill-buffer-query-functions): Fix the question text.
1994-04-19 00:31:42 +00:00
Karl Heuer
e5ccf0c17e
(server-switch-buffer): Don't select a minibuffer.
1994-03-03 21:13:08 +00:00
Richard M. Stallman
faf931a83d
(kill-emacs-query-functions, kill-buffer-query-functions):
...
Add functions to these lists.
(server-program): Add exec-directory to value. Use expand-file-name.
(server-buffer-done): If buffer is dead, don't bury it.
(server-done): If we kill the old buffer,
and server-buffer-done gives us nil, return the new current buffer.
1994-03-03 19:23:59 +00:00
Richard M. Stallman
f0e7011766
(server-program): Add exec-directory to value.
1994-02-02 22:53:39 +00:00
Richard M. Stallman
3a0ce8496d
(server-visit-files): Restore current-buffer by hand,
...
not using save-excursion.
1993-08-09 05:56:29 +00:00
Richard M. Stallman
991298c3fc
(server-done): Let save-buffer make the backup,
...
so that make-backup-files remains effective.
1993-07-15 04:01:14 +00:00
Richard M. Stallman
01906bcac9
(server-process-filter): Use server-switch-buffer.
1993-06-15 23:11:38 +00:00
Richard M. Stallman
ec40ed9f4e
(server-window): New variable.
...
(server-switch-buffer): Use it.
1993-06-11 18:28:44 +00:00
Jim Blandy
1b7899a524
* server.el (server-switch-hook): New hook.
...
(server-process-filter): Call it.
1993-05-18 22:15:14 +00:00
Christopher Zaborsky
cc9875f9f5
Doc fix.
1992-11-03 21:08:55 +00:00
Roland McGrath
16c15321db
entered into RCS
1992-09-04 21:49:15 +00:00
Eric S. Raymond
6d74b528d0
*** empty log message ***
1992-07-22 03:58:44 +00:00