| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
(server-process-filter): Exit from recursive editing before processing
a new request.
|
| |
|
|
|
|
| |
`server-raise-frame'.
|
|
|
|
| |
(server-switch-buffer): Use it.
|
| |
|
| |
|
|
|
|
|
|
|
| |
(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-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.
|
|
|
|
| |
(server-start): Make the auth file unreadable by other users.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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).
|
|
|
|
|
|
| |
the frame is later used.
(server-select-display): New function.
(server-process-filter): Use it to detect unused temp frames.
|
|
|
|
|
|
| |
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-edit, server-unload-hook): server-start => server-mode.
(kill-emacs-hook): Cleanup upon exit.
|
| |
|
|
|
|
| |
evaluation of the argument.
|
| |
|
|
|
|
| |
(it isn't inherited from the server process).
|
| |
|
| |
|
|
|
|
| |
not a prefix key.
|
| |
|
| |
|
|
|
|
| |
Change development version from 21.3.50 to 22.0.50.
|
| |
|
| |
|
|
|
|
|
| |
by `condition-case' to guard the case when the pipe to PROC is
closed.
|
| |
|
|
|
|
|
| |
(server-socket-dir): New var to replace server-socket-name.
(server-start): Use them.
|
|
|
|
| |
socket name since /tmp is local to the host anyway.
|
| |
|
|
|
|
| |
before killing it to avoid killing current buffer's process.
|
| |
|
|
|
|
|
|
| |
(server-ensure-safe-dir): New fun.
(server-start): Use it.
(server-process-filter): Re-enable the -eval feature.
|
|
|
|
|
| |
(server-process-filter): Use (process-get 'previous-string) instead.
(server-sentinel): Remove code made superfluous.
|
|
|
|
|
| |
(server-mode): New.
(server-unload-hook): Call server-start.
|
|
|
|
|
| |
whether we are inside a minibuffer.
(server-process, server-kill-new-buffers): Doc fixes.
|
|
|
|
| |
Don't switch buffers if inside isearch or minibuffer.
|
|
|
|
|
|
| |
(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-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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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-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-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-goto-line-column): New function.
(server-visit-files): Use server-goto-line-column.
Offer to revert only if file has changed.
|
| |
|