aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/server.el
Commit message (Collapse)AuthorAgeFilesLines
* (server-window): Customize.Dave Love2003-01-151-12/+41
| | | | | (server-mode): New. (server-unload-hook): Call server-start.
* (server-process-filter): Use `minibufferp' to testJohn Paul Wallington2003-01-131-10/+10
| | | | | whether we are inside a minibuffer. (server-process, server-kill-new-buffers): Doc fixes.
* (server-process-filter): Comment out -eval.Richard M. Stallman2003-01-131-6/+8
| | | | Don't switch buffers if inside isearch or minibuffer.
* (server-sentinel): Kill buffers if applicable.Stefan Monnier2002-11-021-56/+64
| | | | | | (server-temp-file-p): Make arg optional. (server-done): Use it to simplify. (server-switch-buffer): If server-window is a function, use it.
* (server-switch-buffer): Say when no server buffers remain.Richard M. Stallman2002-10-291-1/+2
|
* (server-socket-name): Always use /tmp and non-qualified hostname.Stefan Monnier2002-09-271-5/+2
|
* (server-select-display): New function.Stefan Monnier2002-09-271-45/+81
| | | | | | | | (server-process-filter): Add support for `-display' and `-eval' args. (server-visit-files): Use save-current-buffer, push, and dolist. Add server-kill-buffer to kill-buffer-hook. (kill-buffer-hook): Don't modify globally. (server-switch-buffer): Be a bit more careful with multiple displays.
* Use built-in network primitives.Stefan Monnier2002-09-251-129/+116
| | | | | | | | | | | | | | | (server-program, server-previous-string): Remove. (server-previous-strings): New var. (server-socket-name): New var. (server-log): Minor change to the output format. (server-sentinel): Clean up global state when a client disconnects. (server-unquote-arg): New fun. (server-start): Use server-socket-name and make-network-process. (server-process-filter): Now talks to the clients directly. Normalize file name after unquoting and decoding. (server-buffer-done): Just close the connection. (server-switch-buffer): Handle the case where all windows are dedicated or minibuffers.
* (server-done): Fix harmlessly wrong arg to save-buffer.Stefan Monnier2002-09-181-31/+38
| | | | | | (server-switch-buffer): Only select a different window if next-buffer is non-nil. Don't switch in a dedicated window. If next-buffer is already displayed, reuse that window.
* (server-log): Add `client' arg.Stefan Monnier2002-09-181-37/+36
| | | | | | | | (server-start): Don't bother canceling the sentinel. (server-process-filter): Use replace-regexp-in-string and handle the new &n quoting. Use push. Use server-log's new arg. Don't output the C-x # message if `nowait'. (server-buffer-done): Use server-log's new arg.
* (server-process-filter): Simplify code.Richard M. Stallman2002-08-151-40/+42
| | | | | | (server-goto-line-column): New function. (server-visit-files): Use server-goto-line-column. Offer to revert only if file has changed.
* (server-unload-hook): New function.Dave Love2001-12-181-0/+5
|
* (server-process-filter): Run pore/post-comment-hookStefan Monnier2001-11-151-0/+2
| | | | before/after visiting the file.
* (server-edit, server-done): Doc fix.Richard M. Stallman2001-11-131-4/+6
|
* (server-buffer-done): Test of server-existing-buffer was backwards.Richard M. Stallman2001-11-111-4/+6
| | | | (server-existing-buffer): Doc fix.
* (server-switch-buffer): Use get-window-with-predicate.Gerd Moellmann2001-09-071-2/+3
|
* (server-visit-files): Fix variable name typo.Stefan Monnier2001-07-201-1/+1
|
* (server-visit-files): Handle the case the specifiedGerd Moellmann2001-07-171-7/+18
| | | | | | | | | | column number is <= 0. (command-line-1): Add support for +LINE:COLUMN command line argument. (server-process-filter, server-visit-files): Add support for +LINE:COLUMN style emacsclient calls.
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-151-1/+1
|
* (server-process, server-buffer-clients): Doc fix.Eli Zaretskii2001-06-101-2/+2
| | | | From Pavel Janik <[email protected]>.
* (server-visit-files): Set server-existing-bufferGerd Moellmann2001-04-091-13/+15
| | | | | | correctly. (server-visit-files): Run server-visit-hook after going to line 1 so that the hook can set point as it sees fit.
* (server-switch-buffer): Only switch window if the current one is dedicated.Stefan Monnier2001-02-221-2/+3
|
* (server-switch-buffer): Choose a window on a visibleGerd Moellmann2000-12-211-1/+1
| | | | frame.
* (server-buffer-done): Bury the buffer beforeGerd Moellmann2000-12-181-0/+1
| | | | killing it.
* (server-visit-files): Push files on file-name-history.Gerd Moellmann2000-12-071-1/+3
|
* (server-kill-new-buffers): New user option.Gerd Moellmann2000-08-211-17/+44
| | | | | | | | | (server-existing-buffer): New buffer-local variable. (server-visit-files): When using an existing buffer, set server-existing-buffer to t. (server-buffer-done): If server-kill-new-buffers is t, kill the buffer, unless it was already present before visiting it with Emacs server.
* (server-switch-buffer): Use some-window instead ofGerd Moellmann2000-07-031-4/+2
| | | | cycling through windows with next-window.
* (server-process-filter): If a client visits no buffers,Karl Heuer1999-08-161-6/+13
| | | | close it immediately before recording it.
* (server-start): Set coding system for the serverKenichi Handa1999-03-131-0/+10
| | | | | process to raw-text. (server-process-filter): Decode file names if necessary.
* (server-buffer-done): Bind server-kill-buffer-runningRichard M. Stallman1998-05-051-9/+20
| | | | | | | | | | 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.
* Customized.Richard M. Stallman1997-08-181-14/+28
|
* (server-kill-buffer): Prevent infinite recursion.Richard M. Stallman1997-05-311-2/+9
| | | | (server-kill-buffer-running): New variable.
* Comment change.Richard M. Stallman1997-05-271-0/+1
|
* (server-kill-buffer): Act only when there is a server process.Richard M. Stallman1997-05-141-1/+2
|
* (server-buffer-done): New arg FOR-KILLING.Richard M. Stallman1997-05-101-5/+11
| | | | (server-kill-buffer): New fn, to inform clients when buffer is killed.
* (server-done): If buffer visits no file, don't offer save.Richard M. Stallman1997-04-131-0/+1
|
* (server-process-filter): Let-bind `pos'.Richard M. Stallman1997-01-021-2/+2
|
* (server-start): Don't delete ~/.emacs-server.Richard M. Stallman1996-12-301-6/+12
| | | | | Instead, delete the names emacsserver really uses if compiled with SERVER_HOME_DIR.
* (server-process-filter): Quote with &, not \.Richard M. Stallman1996-09-021-3/+3
|
* (server-process-filter): Undo the quoting withRichard M. Stallman1996-09-021-1/+12
| | | | | backslashes that emacsclient now does for special characters. Delete some debugging code accidentally left in.
* (server-visit-files): New argument NOWAIT.Richard M. Stallman1996-08-281-16/+24
| | | | | | 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.
* (server-process-filter): Use command-line-normalize-file-name.Richard M. Stallman1996-02-281-5/+2
|
* (server-process-filter): Don't collapse // at start of file name.Richard M. Stallman1996-02-281-1/+2
|
* (server-process-filter): In file name, collapse multiple slashes to one.Richard M. Stallman1996-01-261-0/+6
|
* (server-process-filter): Pass proper format string to message.Karl Heuer1996-01-251-1/+1
|
* Update FSF's address.Erik Naggum1996-01-141-37/+38
|
* (server-log): Record the current time.Richard M. Stallman1995-11-101-2/+2
| | | | End with newline whenever STRING doesn't end with one.
* (server-start): Try both full hostname and shortenedRichard M. Stallman1995-10-081-3/+12
| | | | hostname when deleting the socket file.
* (server-process-filter): Ignore lines that don't startRichard M. Stallman1995-09-241-20/+21
| | | | with `Error:' or `Client:'.
* (server-buffer-done): Pause between client commands,Richard M. Stallman1995-08-101-4/+6
| | | | but not after the last one.