summaryrefslogtreecommitdiff
path: root/lisp/server.el
Commit message (Collapse)AuthorAgeFilesLines
* (server-process-filter): Cancel any pending isearch.Juanma Barranquero2007-03-211-0/+10
|
* (server-start): Mention LEAVE-DEAD arg in the doc string.Eli Zaretskii2007-01-271-1/+2
|
* (server-ensure-safe-dir): UIDs may be floats.Stefan Monnier2007-01-101-2/+2
|
* Remove spurious * in docstrings.Stefan Monnier2006-11-271-7/+17
| | | | | (server-process-filter): Exit from recursive editing before processing a new request.
* (server-visit-files): If `minibuffer-auto-raise' has been set to t, respect it.Juanma Barranquero2006-11-121-1/+2
|
* (server-visit-files): Bind `minibuffer-auto-raise' to the value ofJuanma Barranquero2006-11-111-1/+2
| | | | `server-raise-frame'.
* (server-raise-frame): New option.Juanma Barranquero2006-11-101-6/+12
| | | | (server-switch-buffer): Use it.
* (server-start): Save also the Emacs pid in the server authentication file.Juanma Barranquero2006-11-071-0/+1
|
* *** empty log message ***Juanma Barranquero2006-11-031-16/+16
|
* (server-auth-key): Remove. Replace by a process-property.Stefan Monnier2006-11-021-52/+51
| | | | | | | (server-start): Don't remove the file of the previous process, but instead clear out the place for the new file. (server-start): Set the :auth-key property. (server-process-filter): Use the :auth-key property.
* (server-visit-files): Use `when'.Juanma Barranquero2006-11-021-62/+59
| | | | | | (server-process-filter): When authentication fails, send error message to client. Wrap `process-send-region' in `ignore-errors' instead of `condition-case', and remove misleading comment.
* Try and fit within 80 columns.Stefan Monnier2006-11-011-23/+28
| | | | (server-start): Make the auth file unreadable by other users.
* Add support for TCP sockets.Juanma Barranquero2006-10-301-68/+141
| | | | | | | | | | | | (server-use-tcp, server-host, server-auth-dir): New options. (server-auth-key): New variable. (server-ensure-safe-dir): Create nonexistent parent dirs. Ignore Unix-style file modes on Windows. (server-start): Crete a TCP or Unix socket according to the value of `server-use-tcp'. For TCP sockets, create the id/auth file in `server-auth-dir' directory. (server-process-filter): Delete process if authentication fails (which never happens for Unix sockets).
* (server-select-display): Use a dummy buffer to detect whenStefan Monnier2006-10-301-14/+32
| | | | | | the frame is later used. (server-select-display): New function. (server-process-filter): Use it to detect unused temp frames.
* * server.el (server-select-display): Don't make the temp frameChong Yidong2006-07-061-10/+12
| | | | | | minibuffer-only, in case it's not a temp frame. (server-process-filter): Don't delete the temp frame if it's the only one we have on that display.
* * server.el (server-edit): No-op if no server buffers exist.Chong Yidong2006-06-111-5/+7
|
* (server-start): Only create a directory if needed.Stefan Monnier2006-05-161-5/+7
| | | | | (server-edit, server-unload-hook): server-start => server-mode. (kill-emacs-hook): Cleanup upon exit.
* (server-visit-files): Use add-to-history.Kim F. Storm2006-05-051-1/+1
|
* (server-process-filter): Handle errors duringAndreas Schwab2006-03-041-1/+5
| | | | evaluation of the argument.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (server-sentinel): Set query-on-exit flag to nil on new client processesRomain Francoise2005-10-241-0/+5
| | | | (it isn't inherited from the server process).
* Message format spec fixes (1)Deepak Goel2005-09-181-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* Bind "C-x #" in a way that works even if C-x is redefined to a command key,Eli Zaretskii2005-07-161-1/+1
| | | | not a prefix key.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Replace `string-to-int' by `string-to-number'.Juanma Barranquero2005-05-161-3/+3
|
* Change release version from 21.4 to 22.1 throughout.Kim F. Storm2005-02-091-2/+2
| | | | Change development version from 21.3.50 to 22.0.50.
* * server.el (server-process-filter): Suppress `error', too.Masatake YAMATO2004-12-301-1/+2
|
* (server-unload-hook): Set as a variable with add-hook.Richard M. Stallman2004-10-171-0/+2
|
* (server-process-filter): Wrap `process-send-region'Masatake YAMATO2004-10-081-1/+5
| | | | | by `condition-case' to guard the case when the pipe to PROC is closed.
* (server-process-filter): Delete temp frame.Stefan Monnier2004-03-191-2/+5
|
* (server-name): New var.Stefan Monnier2004-03-111-5/+9
| | | | | (server-socket-dir): New var to replace server-socket-name. (server-start): Use them.
* (server-socket-name): Don't use the hostname in theStefan Monnier2004-01-271-3/+2
| | | | socket name since /tmp is local to the host anyway.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (server-start): Check `server-process' is non-nilJohn Paul Wallington2003-07-251-1/+2
| | | | before killing it to avoid killing current buffer's process.
* (server-start): Use letf.Stefan Monnier2003-04-121-14/+10
|
* (server-socket-name): Use new safe location for socket.Stefan Monnier2003-04-121-10/+22
| | | | | | (server-ensure-safe-dir): New fun. (server-start): Use it. (server-process-filter): Re-enable the -eval feature.
* (server-previous-strings): Remove.Stefan Monnier2003-02-101-12/+5
| | | | | (server-process-filter): Use (process-get 'previous-string) instead. (server-sentinel): Remove code made superfluous.
* (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
|