summaryrefslogtreecommitdiff
path: root/lisp/server.el
Commit message (Collapse)AuthorAgeFilesLines
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (server-start): Also don't get confused by CRs since weStefan Monnier2008-04-231-2/+3
| | | | don't quote them.
* (server-switch-buffer): Also consider clients in theAndreas Schwab2008-04-201-2/+4
| | | | selected frame.
* Undo part of the multi-tty change, which is only needed if server.el isStefan Monnier2008-04-051-6/+2
| | | | | | preloaded, and broke server-running-p. (server-socket-dir): Initialize in the defvar, as before. (server-start): Remove initialization of server-socket-dir.
* (server-log-time-function): Doc fix.Juanma Barranquero2008-01-271-4/+4
| | | | (server-buffer): Fix typo in docstring.
* * server.el (server-process-filter): Check for non-nil before callingDan Nicolaescu2008-01-271-1/+2
| | | | file-directory-p.
* (server-buffer): New const.Stefan Monnier2008-01-261-15/+31
| | | | | | | (server-log): New var. (server-log): Use them. (server-process-filter): (Try to) run the continuation in the same cwd as the client's.
* (server-process-filter): Don't force the authenticationJuanma Barranquero2008-01-251-1/+1
| | | | string to be followed by "\n".
* (server-log-time-function): New function.Juanma Barranquero2008-01-211-4/+7
| | | | (server-log): Use it.
* (server-process-filter): Replace lineno and columnnnoStefan Monnier2008-01-161-37/+34
| | | | | | | which defaulted to 1&0 with filepos which defaults to nil. (server-goto-line-column): Don't move if filepos is nil. (server-visit-files): Slight restructure to consolidate two calls to server-goto-line-column into just one.
* (server-create-window-system-frame): Remove workaround forStefan Monnier2008-01-031-5/+1
| | | | a bug that has been fixed.
* (server-save-buffers-kill-terminal): Check the `proc' is indeed a process.Stefan Monnier2007-12-231-9/+13
|
* (server-select-display): Fix important typo.Stefan Monnier2007-12-101-4/+4
| | | | (server-process-filter): Turn a "" display into nil.
* * server.el (server-process-filter): Use `command-line-args-left'David Kastrup2007-11-231-38/+32
|
* Fix last change (synch from the EMACS_22_BASE branch).Juanma Barranquero2007-11-091-4/+0
|
* Merge from emacs--rel--22Miles Bader2007-11-091-0/+4
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
| * (server-unload-function): Unbind `server-edit' from `C-x #'.Juanma Barranquero2007-10-301-1/+1
| | | | | | | | (server-unload-function): Remove variable.
| * (server-unload-function): Rename from `server-unload-hook' andJuanma Barranquero2007-10-291-5/+9
| | | | | | | | | | | | | | adapt to new `unload-feature' functionality. Remove hook from `kill-buffer-hook' buffer-locally. (server-unload-hook): Remove. (server-unload-function): New var; replaces `server-unload-hook'.
| * Chris Moore <dooglus at gmail.com>Glenn Morris2007-10-061-3/+3
| | | | | | | | (server-kill-new-buffers): Doc fix.
* | (server-start): Only register cleanup after server wasAndreas Schwab2007-11-071-1/+1
| | | | | | | | started.
* | (server-unload-function): Rename from `server-unload-hook' andJuanma Barranquero2007-10-291-7/+8
| | | | | | | | | | | | | | adapt to new `unload-feature' functionality. Remove hook from `kill-buffer-hook' buffer-locally. (server-unload-hook): Remove. (server-unload-function): New var; replaces `server-unload-hook'.
* | (server-process-filter): Fix typo in docstring.Juanma Barranquero2007-10-281-17/+15
| | | | | | | | | | | | (server-log): Reflow docstrings. (server-delete-client, server-kill-emacs-query-function): Doc fixes. (server-goto-line-column): Use `when'.
* | (server-select-display): Nop if we do not support m-f-o-d.Stefan Monnier2007-10-171-6/+5
| | | | | | | | (server-process-filter): Revert last change.
* | *** empty log message ***Juanma Barranquero2007-10-171-5/+5
| |
* | (server-process-filter): Only set display if X11 isDan Nicolaescu2007-10-171-2/+6
| | | | | | | | supported.
* | (server-create-tty-frame, server-create-window-system-frame):Stefan Monnier2007-10-101-3/+15
| | | | | | | | Set frame-inherited-parameters.
* | Add todo.Stefan Monnier2007-10-091-0/+7
| |
* | Chris Moore <dooglus at gmail.com>Glenn Morris2007-10-061-3/+3
| | | | | | | | (server-kill-new-buffers): Doc fix.
* | (server-delete-client): Only delete the terminal if itDan Nicolaescu2007-09-281-1/+2
| | | | | | | | is non-nil.
* | (server-getenv-from): Remove. Use getenv-internal instead.Stefan Monnier2007-09-211-23/+6
| | | | | | | | | | | | (server-create-tty-frame): Don't set unused `tty' property. Set `display' instead of display-environment-variable. (server-create-window-system-frame): No display-environment-variable.
* | (server-running-p): New function.Stefan Monnier2007-09-191-1/+17
| |
* | (server-clients): Only keep procs, no properties any more.Stefan Monnier2007-09-161-87/+46
| | | | | | | | | | | | | | | | | | | | | | | | (server-client): Remove. (server-client-get, server-client-set): Remove, replace all callers by process-get and process-put resp. (server-clients-with, server-add-client, server-delete-client) (server-create-tty-frame, server-create-window-system-frame) (server-process-filter, server-execute, server-visit-files) (server-buffer-done, server-kill-buffer-query-function) (server-kill-emacs-query-function, server-switch-buffer) (server-save-buffers-kill-terminal): Update accordingly.
* | (server-with-environment): Simplify.Stefan Monnier2007-09-161-211/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (server-select-display, server-unselect-display): Re-add functions that seem to have been lost in the multi-tty merge. (server-eval-and-print, server-create-tty-frame) (server-create-window-system-frame, server-goto-toplevel) (server-execute, server-return-error): New functions extracted from server-process-filter. (server-execute-continuation): New functions. (server-process-filter): Restructure so that all arguments are analysed first and then acted upon in a subsequent stage This way server-goto-toplevel can be executed later, when we know if it's necessary. Remove the "-version" and "-version-good" support.
* | * server.el (server-start, server-unload-hook): Undo previousDan Nicolaescu2007-09-041-2/+2
| | | | | | | | | | | | | | | | | | change. * xt-mouse.el: Undo previous change. * term.c (Vsuspend_tty_functions, Vresume_tty_functions) (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change.
* | * server.el (server-start, server-unload-hook):Dan Nicolaescu2007-09-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | suspend-tty-functions has been renamed to suspend-tty-hook. * xt-mouse.el: Likewise. resume-tty-functions has been renamed to resume-tty-hook. * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. (Vresume_tty_hook): Rename from Vresume_tty_functions. (syms_of_term): Rename suspend-tty-functions to suspend-tty-hook and resume-tty-function to resume-tty-hook. (Fsuspend_tty, Fresume_tty): Use new names.
* | (server-process-filter): Don't display the splash screen.Stefan Monnier2007-09-011-14/+0
| | | | | | | | | | It's annoying enough on the initial screen and becomes positively obnoxious here.
* | (server-process-filter): Don't setStefan Monnier2007-08-311-4/+0
| | | | | | | | term-environment-variable since it's not used any more.
* | Merge from emacs--devo--0Miles Bader2007-08-031-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 843-845) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 84-87) - Update from CVS - Change capitalization of VC backend names for new backends Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-30
| * \ Merge from emacs--rel--22Miles Bader2007-08-031-0/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 84-87) - Update from CVS - Change capitalization of VC backend names for new backends 2007-08-02 Richard M. Stallman <rms@gnu.org> * lisp/mail/rmailsum.el (rmail-make-summary-line): Find end of msg number to update deleted flag. * lisp/cus-edit.el (customize-apropos, customize-apropos-options) (customize-apropos-faces, customize-apropos-groups): Improve prompt. * lisp/menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item. * lisp/startup.el (fancy-splash-head, startup-echo-area-message): Change message text. * lisp/emulation/tpu-edt.el (next-line-internal): Setting deleted. All callers use line-move. * lisp/progmodes/compile.el (compilation-find-buffer): Return current buffer immediately if suitable. (compile, compilation-buffer-name, compilation-start): Doc fixes. 2007-07-31 Daiki Ueno <ueno@unixuser.org> * lisp/faces.el (face-normalize-spec): New function. (frame-set-background-mode): Normalize face-spec before calling face-spec-match-p. 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca> * lisp/server.el (server-window): Add switch-to-buffer-other-frame option. 2007-08-03 Richard M. Stallman <rms@gnu.org> * src/fileio.c (Fvisited_file_modtime): Use make_time. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-844
| | * (server-window): Add switch-to-buffer-other-frame option.Stefan Monnier2007-07-311-0/+1
| | |
* | | Merge from emacs--devo--0Miles Bader2007-07-311-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 824-838) - Update from CVS - Merge from emacs--rel--22 - Remove lisp/erc/erc-nicklist.el - Update some .arch-inventory files - Fix void function definition error in cus-edit.el - Restore lisp/emacs-lisp/cl-loaddefs.el * emacs--rel--22 (patch 70-83) - Update from CVS - Remove lisp/erc/erc-nicklist.el - Update some .arch-inventory files - Indicate that emacs--devo--0--patch-834 does not need to be applied - Merge from gnus--rel--5.10 - Restore lisp/emacs-lisp/cl-loaddefs.el * gnus--rel--5.10 (patch 239-241) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-28
| * | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <rgm@gnu.org> * Relicense all FSF files to GPLv3 or later. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
| | * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| | |
* | | * server.el (server-process-filter): Likewise.Dan Nicolaescu2007-07-031-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (server-process-filter): Likewise. Also set COLORFGBG and COLORTERM. * frame.el (frame-initialize, make-frame): Likewise. * faces.el (tty-set-up-initial-frame-faces): Likewise. * env.el (read-envvar-name): Don't consider the environment frame param. (setenv): Set display-environment-variable and term-environment-variable. * frame.c (Qterm_environment_variable, Qdisplay_environment_variable): New variables. (syms_of_frame): Intern and staticpro them. * frame.h: Declare them here. * callproc.c (child_setup): Use the display-environment-variable and term-environment-variable frame params. (getenv_internal): Likewise. (set_initial_environment): Initialise Vprocess_environment. * frames.texi (Basic Parameters): Add display-environment-variable and term-environment-variable.
* | | Merge from emacs--devo--0Miles Bader2007-06-161-3/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 793-802) - Update from CVS - Remove RCS keywords - Merge from emacs--rel--22 * emacs--rel--22 (patch 42-50) - Update from CVS - Merge from gnus--rel--5.10 - Gnus ChangeLog tweaks * gnus--rel--5.10 (patch 229-232) - Merge from emacs--devo--0, emacs--rel--22 - ChangeLog tweak - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-23
| * | (server-auth-dir): Use user-emacs-directory.Chong Yidong2007-06-131-1/+1
| | |
| * | (server-switch-buffer): Remove redundant check.Juanma Barranquero2007-06-111-2/+1
| |/
* | (server-process-filter): Fix typo in docstring.Juanma Barranquero2007-06-121-1/+1
| |
* | server.el: Don't change the default directory in the *scratch* buffer.Miles Bader2007-05-201-2/+0
| | | | | | | | | | | | | | | | * lisp/server.el (server-process-filter): Don't change default-directory in *scratch*. Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-11 Creator: Karoly Lorentey <karoly@lorentey.hu>
* | Rudimentary fix for environment variable handling.Miles Bader2007-05-161-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/env.el (getenv): Restore David Kastrup's fix. (environment): Add optional frame parameter. * lisp/mule-cmds.el (set-locale-environment): Fix getenv call. * lisp/term/rxvt.el (rxvt-set-background-mode): Ditto. * lisp/x-win.el (x-initialize-window-system, terminal-init-xterm): Ditto. * lisp/server.el (server-with-environment): Restore the original environment. Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-6 Creator: Karoly Lorentey <karoly@lorentey.hu>