aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2011-01-07 17:32:12 +0200
committerEli Zaretskii2011-01-07 17:32:12 +0200
commitc1f04bcf73cecd5c0ca31f0c60f071db1e92054e (patch)
tree8cbbdedf5edff5b77a87481ad484e8a5f4a78bab
parentd3fbe87ed2eb5f34a8ce378f8f5d43a312cd77b3 (diff)
downloademacs-c1f04bcf73cecd5c0ca31f0c60f071db1e92054e.tar.gz
emacs-c1f04bcf73cecd5c0ca31f0c60f071db1e92054e.zip
Fix description of emacsclientw.exe.
msdog.texi (Windows Startup): Correct inaccurate description of differences between emacsclient.exe and emacsclientw.exe.
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/msdog.texi32
2 files changed, 23 insertions, 14 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index a374272135f..829f61efb38 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12011-01-07 Eli Zaretskii <eliz@gnu.org>
2
3 * msdog.texi (Windows Startup): Correct inaccurate description of
4 differences between emacsclient.exe and emacsclientw.exe.
5
12010-12-30 Chong Yidong <cyd@stupidchicken.com> 62010-12-30 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * rmail.texi (Rmail Display): Edit for grammar and conciseness. 8 * rmail.texi (Rmail Display): Edit for grammar and conciseness.
diff --git a/doc/emacs/msdog.texi b/doc/emacs/msdog.texi
index 514ef956dc3..caa1bbccd19 100644
--- a/doc/emacs/msdog.texi
+++ b/doc/emacs/msdog.texi
@@ -90,20 +90,24 @@ Via the Emacs client program, @file{emacsclient.exe} or
90programs, and to reuse a running Emacs process for serving editing 90programs, and to reuse a running Emacs process for serving editing
91jobs required by other programs. @xref{Emacs Server}. The difference 91jobs required by other programs. @xref{Emacs Server}. The difference
92between @file{emacsclient.exe} and @file{emacsclientw.exe} is that the 92between @file{emacsclient.exe} and @file{emacsclientw.exe} is that the
93former waits for Emacs to signal that the editing job is finished, 93former is a console program, while the latter is a Windows GUI
94while the latter does not wait. Which one of them to use in each case 94program. Both programs wait for Emacs to signal that the editing job
95depends on the expectations of the program that needs editing 95is finished, before they exit and return control to the program that
96services. If the program will use the edited files, it needs to wait 96invoked them. Which one of them to use in each case depends on the
97for Emacs, so you should use @file{emacsclient.exe}. By contrast, if 97expectations of the program that needs editing services. If that
98the results of editing are not needed by the invoking program, you 98program is itself a console (text-mode) program, you should use
99will be better off using @file{emacsclientw.exe}. A notable situation 99@file{emacsclient.exe}, so that any of its messages and prompts appear
100where you would want @file{emacsclientw.exe} is when you right-click 100in the same command window as those of the invoking program. By
101on a file in the Windows Explorer and select ``Open With'' from the 101contrast, if the invoking program is a GUI program, you will be better
102pop-up menu. Use the @samp{--alternate-editor=} or @samp{-a} options 102off using @file{emacsclientw.exe}, because @file{emacsclient.exe} will
103if Emacs might not be running (or not running as a server) when 103pop up a command window if it is invoked from a GUI program. A
104@command{emacsclient} is invoked---that will always give you an 104notable situation where you would want @file{emacsclientw.exe} is when
105editor. When invoked via @command{emacsclient}, Emacs will start in 105you right-click on a file in the Windows Explorer and select ``Open
106the current directory of the program that invoked 106With'' from the pop-up menu. Use the @samp{--alternate-editor=} or
107@samp{-a} options if Emacs might not be running (or not running as a
108server) when @command{emacsclient} is invoked---that will always give
109you an editor. When invoked via @command{emacsclient}, Emacs will
110start in the current directory of the program that invoked
107@command{emacsclient}. 111@command{emacsclient}.
108@end enumerate 112@end enumerate
109 113