1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

247 Commits

Author SHA1 Message Date
Juanma Barranquero
f03ea9d918 (server-log-time-function): Doc fix.
(server-buffer): Fix typo in docstring.
2008-01-27 22:47:58 +00:00
Dan Nicolaescu
475b590773 * server.el (server-process-filter): Check for non-nil before calling
file-directory-p.
2008-01-27 15:37:26 +00:00
Stefan Monnier
28cbade418 (server-buffer): New const.
(server-log): New var.
(server-log): Use them.
(server-process-filter): (Try to) run the continuation in the same cwd
as the client's.
2008-01-26 21:54:44 +00:00
Juanma Barranquero
38b9f0f370 (server-process-filter): Don't force the authentication
string to be followed by "\n".
2008-01-25 15:43:05 +00:00
Juanma Barranquero
88fd26a1c7 (server-log-time-function): New function.
(server-log): Use it.
2008-01-21 12:06:59 +00:00
Stefan Monnier
656d4706ab (server-process-filter): Replace lineno and columnnno
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.
2008-01-16 16:21:08 +00:00
Stefan Monnier
f86228e36c (server-create-window-system-frame): Remove workaround for
a bug that has been fixed.
2008-01-03 21:56:36 +00:00
Stefan Monnier
c61a444841 (server-save-buffers-kill-terminal): Check the `proc' is indeed a process. 2007-12-23 22:46:07 +00:00
Stefan Monnier
ff91dc79ef (server-select-display): Fix important typo.
(server-process-filter): Turn a "" display into nil.
2007-12-10 03:51:25 +00:00
David Kastrup
bfb74e75a4 * server.el (server-process-filter): Use `command-line-args-left' 2007-11-23 23:59:19 +00:00
Juanma Barranquero
ed4a1ce4b5 Fix last change (synch from the EMACS_22_BASE branch). 2007-11-09 10:28:14 +00:00
Miles Bader
c12ecb0af9 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
2007-11-09 09:45:30 +00:00
Andreas Schwab
1d515b422c (server-start): Only register cleanup after server was
started.
2007-11-07 00:27:13 +00:00
Juanma Barranquero
a8e0c05381 (server-unload-function): Unbind server-edit' from C-x #'.
(server-unload-function): Remove variable.
2007-10-30 00:20:02 +00:00
Juanma Barranquero
08446d5eeb (server-unload-function): Rename from `server-unload-hook' and
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'.
2007-10-29 00:51:51 +00:00
Juanma Barranquero
e6fd13de4a (server-unload-function): Rename from `server-unload-hook' and
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'.
2007-10-29 00:44:52 +00:00
Juanma Barranquero
c48254fbbf (server-process-filter): Fix typo in docstring.
(server-log): Reflow docstrings.
(server-delete-client, server-kill-emacs-query-function): Doc fixes.
(server-goto-line-column): Use `when'.
2007-10-28 15:17:08 +00:00
Stefan Monnier
1a4a884cc5 (server-select-display): Nop if we do not support m-f-o-d.
(server-process-filter): Revert last change.
2007-10-17 16:22:48 +00:00
Juanma Barranquero
d76e204651 *** empty log message *** 2007-10-17 08:15:04 +00:00
Dan Nicolaescu
8a3a4fd35f (server-process-filter): Only set display if X11 is
supported.
2007-10-17 02:07:35 +00:00
Stefan Monnier
4419b7550f (server-create-tty-frame, server-create-window-system-frame):
Set frame-inherited-parameters.
2007-10-10 20:43:22 +00:00
Stefan Monnier
0acb191607 Add todo. 2007-10-09 04:22:36 +00:00
Glenn Morris
23b7c55689 Chris Moore <dooglus at gmail.com>
(server-kill-new-buffers): Doc fix.
2007-10-06 01:45:16 +00:00
Glenn Morris
f258b5254d Chris Moore <dooglus at gmail.com>
(server-kill-new-buffers): Doc fix.
2007-10-06 01:44:51 +00:00
Dan Nicolaescu
977ede64fe (server-delete-client): Only delete the terminal if it
is non-nil.
2007-09-28 16:55:00 +00:00
Stefan Monnier
e159b86943 (server-getenv-from): Remove. Use getenv-internal instead.
(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.
2007-09-21 07:10:07 +00:00
Stefan Monnier
44954c2f94 (server-running-p): New function. 2007-09-19 02:00:54 +00:00
Stefan Monnier
448f754fa8 (server-clients): Only keep procs, no properties any more.
(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.
2007-09-16 05:16:42 +00:00
Stefan Monnier
13ba37405b (server-with-environment): Simplify.
(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.
2007-09-16 04:53:39 +00:00
Dan Nicolaescu
e4019195fd * server.el (server-start, server-unload-hook): Undo previous
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.
2007-09-04 23:28:49 +00:00
Dan Nicolaescu
92cd6a7c40 * server.el (server-start, server-unload-hook):
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.
2007-09-04 15:44:11 +00:00
Stefan Monnier
ecaf73343a (server-process-filter): Don't display the splash screen.
It's annoying enough on the initial screen and becomes positively
obnoxious here.
2007-09-01 02:17:30 +00:00
Stefan Monnier
33c1b22ccb (server-process-filter): Don't set
term-environment-variable since it's not used any more.
2007-08-31 07:37:33 +00:00
Miles Bader
2ca773ca40 Merge from emacs--devo--0
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
2007-08-03 05:58:06 +00:00
Miles Bader
0896d93184 Merge from emacs--rel--22
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
2007-08-03 05:49:59 +00:00
Stefan Monnier
ee9272ffea (server-window): Add switch-to-buffer-other-frame option. 2007-07-31 13:14:33 +00:00
Miles Bader
9899d01a0c Merge from emacs--devo--0
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
2007-07-31 05:50:45 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
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
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Dan Nicolaescu
de87fb5978 * server.el (server-process-filter): Likewise.
(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.
2007-07-03 04:53:21 +00:00
Miles Bader
262d5ce7c2 Merge from emacs--devo--0
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
2007-06-16 22:33:42 +00:00
Chong Yidong
0eee7a1d18 (server-auth-dir): Use user-emacs-directory. 2007-06-13 00:05:04 +00:00
Juanma Barranquero
a38daa0ae7 (server-process-filter): Fix typo in docstring. 2007-06-12 08:21:13 +00:00
Juanma Barranquero
60b4b29868 (server-switch-buffer): Remove redundant check. 2007-06-11 00:23:06 +00:00
Miles Bader
3c28868aeb server.el: Don't change the default directory in the *scratch* buffer.
* 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>
2007-05-20 23:27:36 +00:00
Miles Bader
36ab861205 Rudimentary fix for environment variable handling.
* 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>
2007-05-16 07:12:33 +00:00
Karoly Lorentey
e18c709364 Merged from emacs@sv.gnu.org
Patches applied:

 * emacs@sv.gnu.org/emacs--devo--0--patch-660
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-661
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-662
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-663
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-664
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-665
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-666
   Fix read-only prompt problem in isearch

 * emacs@sv.gnu.org/emacs--devo--0--patch-667
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-668
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-669
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-670
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-671
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-672
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-673
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-206
   Merge from emacs--devo--0

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-207
   Merge from emacs--devo--0

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-208
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-600
2007-04-22 12:12:29 +00:00
Juanma Barranquero
82ba1a5a9a (server-process-filter): Cancel any pending isearch. 2007-03-21 12:02:32 +00:00
Karoly Lorentey
93afd0f1d4 Merged from emacs@sv.gnu.org
Patches applied:

 * emacs@sv.gnu.org/emacs--devo--0--patch-599
   Merge from erc--main--0

 * emacs@sv.gnu.org/emacs--devo--0--patch-600
   Merge from erc--main--0

 * emacs@sv.gnu.org/emacs--devo--0--patch-601
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-602
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-603
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-604
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-605
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-606
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-607
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-608
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-609
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-610
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-611
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-612
   Merge from gnus--rel--5.10

 * emacs@sv.gnu.org/emacs--devo--0--patch-613
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-614
   Make byte compiler correctly write circular constants

 * emacs@sv.gnu.org/emacs--devo--0--patch-615
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-616
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-617
   Update from CVS

 * emacs@sv.gnu.org/emacs--devo--0--patch-618
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-192
   Merge from emacs--devo--0

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-193
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-194
   Merge from emacs--devo--0

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-195
   Update from CVS

 * emacs@sv.gnu.org/gnus--rel--5.10--patch-196
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-594
2007-01-29 22:21:19 +00:00
Eli Zaretskii
bd410bb07b (server-start): Mention LEAVE-DEAD arg in the doc string. 2007-01-27 19:03:43 +00:00