diff options
| author | Eli Zaretskii | 2011-01-07 17:32:12 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-01-07 17:32:12 +0200 |
| commit | c1f04bcf73cecd5c0ca31f0c60f071db1e92054e (patch) | |
| tree | 8cbbdedf5edff5b77a87481ad484e8a5f4a78bab | |
| parent | d3fbe87ed2eb5f34a8ce378f8f5d43a312cd77b3 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/msdog.texi | 32 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2010-12-30 Chong Yidong <cyd@stupidchicken.com> | 6 | 2010-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 | |||
| 90 | programs, and to reuse a running Emacs process for serving editing | 90 | programs, and to reuse a running Emacs process for serving editing |
| 91 | jobs required by other programs. @xref{Emacs Server}. The difference | 91 | jobs required by other programs. @xref{Emacs Server}. The difference |
| 92 | between @file{emacsclient.exe} and @file{emacsclientw.exe} is that the | 92 | between @file{emacsclient.exe} and @file{emacsclientw.exe} is that the |
| 93 | former waits for Emacs to signal that the editing job is finished, | 93 | former is a console program, while the latter is a Windows GUI |
| 94 | while the latter does not wait. Which one of them to use in each case | 94 | program. Both programs wait for Emacs to signal that the editing job |
| 95 | depends on the expectations of the program that needs editing | 95 | is finished, before they exit and return control to the program that |
| 96 | services. If the program will use the edited files, it needs to wait | 96 | invoked them. Which one of them to use in each case depends on the |
| 97 | for Emacs, so you should use @file{emacsclient.exe}. By contrast, if | 97 | expectations of the program that needs editing services. If that |
| 98 | the results of editing are not needed by the invoking program, you | 98 | program is itself a console (text-mode) program, you should use |
| 99 | will be better off using @file{emacsclientw.exe}. A notable situation | 99 | @file{emacsclient.exe}, so that any of its messages and prompts appear |
| 100 | where you would want @file{emacsclientw.exe} is when you right-click | 100 | in the same command window as those of the invoking program. By |
| 101 | on a file in the Windows Explorer and select ``Open With'' from the | 101 | contrast, if the invoking program is a GUI program, you will be better |
| 102 | pop-up menu. Use the @samp{--alternate-editor=} or @samp{-a} options | 102 | off using @file{emacsclientw.exe}, because @file{emacsclient.exe} will |
| 103 | if Emacs might not be running (or not running as a server) when | 103 | pop up a command window if it is invoked from a GUI program. A |
| 104 | @command{emacsclient} is invoked---that will always give you an | 104 | notable situation where you would want @file{emacsclientw.exe} is when |
| 105 | editor. When invoked via @command{emacsclient}, Emacs will start in | 105 | you right-click on a file in the Windows Explorer and select ``Open |
| 106 | the current directory of the program that invoked | 106 | With'' 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 | ||
| 108 | server) when @command{emacsclient} is invoked---that will always give | ||
| 109 | you an editor. When invoked via @command{emacsclient}, Emacs will | ||
| 110 | start in the current directory of the program that invoked | ||
| 107 | @command{emacsclient}. | 111 | @command{emacsclient}. |
| 108 | @end enumerate | 112 | @end enumerate |
| 109 | 113 | ||