annotate man/xemacs/cmdargs.texi @ 247:e70b3a057e12 r20-5b22

Import from CVS: tag r20-5b22
author cvs
date Mon, 13 Aug 2007 10:18:21 +0200
parents 376386a54a3c
children 5a79be0ef6a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 @node Command Switches, Basic, Exiting, Top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 @section Command Line Switches and Arguments
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 @cindex command line arguments
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 @cindex arguments (from shell)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 XEmacs supports command line arguments you can use to request
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 various actions when invoking Emacs. The commands are for compatibility
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 with other editors and for sophisticated activities. If you are using
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 XEmacs under the X window system, you can also use a number of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 standard Xt command line arguments. Command line arguments are not usually
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 needed for editing with Emacs; new users can skip this section.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 Many editors are designed to be started afresh each time you want to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 edit. You start the editor to edit one file; then exit the editor. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 next time you want to edit either another file or the same one, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 start the editor again. Under these circumstances, it makes sense to use a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 command line argument to say which file to edit.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 The recommended way to use XEmacs is to start it only once, just
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 after you log in, and do all your editing in the same Emacs process.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 Each time you want to edit a file, you visit it using the existing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 Emacs. Emacs creates a new buffer for each file, and (unless you kill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 some of the buffers) Emacs eventually has many files in it ready for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 editing. Usually you do not kill the Emacs process until you are about
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 to log out. Since you usually read files by typing commands to Emacs,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 command line arguments for specifying a file when Emacs is started are seldom
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 needed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 Emacs accepts command-line arguments that specify files to visit,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 functions to call, and other activities and operating modes. If you are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 running XEmacs under the X window system, a number of standard
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 Xt command line arguments are available as well.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 The following subsections list:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 @itemize @bullet
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 Command line arguments that you can always use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 Command line arguments that have to appear at the beginning of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 argument list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 @item
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 Command line arguments that are only relevant if you are running XEmacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 under X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 @end itemize
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 @subsection Command Line Arguments for Any Position
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 Command line arguments are processed in the order they appear on the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 command line; however, certain arguments (the ones in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 second table) must be at the front of the list if they are used.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 Here are the arguments allowed:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 @table @samp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 @item @var{file}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 Visit @var{file} using @code{find-file}. @xref{Visiting}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 @item +@var{linenum} @var{file}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 Visit @var{file} using @code{find-file}, then go to line number
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 @var{linenum} in it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 @item -load @var{file}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 @itemx -l @var{file}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 Load a file @var{file} of Lisp code with the function @code{load}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 @xref{Lisp Libraries}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 @item -funcall @var{function}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 @itemx -f @var{function}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 Call Lisp function @var{function} with no arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 @item -eval @var{function}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 Interpret the next argument as a Lisp expression, and evaluate it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 You must be very careful of the shell quoting here.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 @item -insert @var{file}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 @itemx -i @var{file}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 Insert the contents of @var{file} into the current buffer. This is like
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 what @kbd{M-x insert-buffer} does; @xref{Misc File Ops}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 @item -kill
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 Exit from Emacs without asking for confirmation.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 @item -version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 Prints version information. This implies @samp{-batch}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 % xemacs -version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 XEmacs 19.13 of Mon Aug 21 1995 on willow (usg-unix-v) [formerly Lucid Emacs]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 @item -help
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 Prints a summary of command-line options and then exits.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 @subsection Command Line Arguments (Beginning of Line Only)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 The following arguments are recognized only at the beginning of the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 command line. If more than one of them appears, they must appear in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 order in which they appear in this table.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 @table @samp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 @item -t @var{file}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 Use @var{file} instead of the terminal for input and output. This
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 implies the @samp{-nw} option, documented below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 @cindex batch mode
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 @item -batch
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 Run Emacs in @dfn{batch mode}, which means that the text being edited is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 not displayed and the standard Unix interrupt characters such as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 @kbd{C-z} and @kbd{C-c} continue to have their normal effect. Emacs in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 batch mode outputs to @code{stderr} only what would normally be printed
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 in the echo area under program control.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 Batch mode is used for running programs written in Emacs Lisp from shell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 scripts, makefiles, and so on. Normally the @samp{-l} switch or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 @samp{-f} switch will be used as well, to invoke a Lisp program to do
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 the batch processing.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 @samp{-batch} implies @samp{-q} (do not load an init file). It also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 causes Emacs to kill itself after all command switches have been
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 processed. In addition, auto-saving is not done except in buffers for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 which it has been explicitly requested.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 @item -nw
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 Start up XEmacs in TTY mode (using the TTY XEmacs was started from),
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 rather than trying to connect to an X display. Note that this happens
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 automatically if the @samp{DISPLAY} environment variable is not set.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 @item -debug-init
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 Enter the debugger if an error in the init file occurs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 @item -unmapped
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 Do not map the initial frame. This is useful if you want to start up
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 XEmacs as a server (e.g. for gnuserv screens or external client widgets).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 @item -no-init-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 @itemx -q
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 Do not load your Emacs init file @file{~/.emacs}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 @item -no-site-file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 Do not load the site-specific init file @file{lisp/site-start.el}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 @item -user @var{user}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 @itemx -u @var{user}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 Load @var{user}'s Emacs init file @file{~@var{user}/.emacs} instead of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 your own.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 @vindex command-line-args
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 Note that the init file can get access to the command line argument
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 values as the elements of a list in the variable
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 @code{command-line-args}. (The arguments in the second table above will
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 already have been processed and will not be in the list.) The init file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 can override the normal processing of the other arguments by setting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 this variable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 One way to use command switches is to visit many files automatically:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 xemacs *.c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 @noindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 passes each @code{.c} file as a separate argument to Emacs, so that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 Emacs visits each file (@pxref{Visiting}).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 Here is an advanced example that assumes you have a Lisp program file
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 called @file{hack-c-program.el} which, when loaded, performs some useful
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 operation on the current buffer, expected to be a C program.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 @example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 xemacs -batch foo.c -l hack-c-program -f save-buffer -kill > log
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 @end example
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 @noindent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 Here Emacs is told to visit @file{foo.c}, load @file{hack-c-program.el}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 (which makes changes in the visited file), save @file{foo.c} (note that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 @code{save-buffer} is the function that @kbd{C-x C-s} is bound to), and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 then exit to the shell from which the command was executed. @samp{-batch}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 guarantees there will be no problem redirecting output to @file{log},
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 because Emacs will not assume that it has a display terminal to work
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 with.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 @subsection Command Line Arguments (for XEmacs Under X)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 @vindex frame-title-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 @vindex frame-icon-title-format
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 If you are running XEmacs under X, a number of options are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 available to control color, border, and window title and icon name:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 @table @samp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 @item -title @var{title}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 @itemx -wn @var{title}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 @itemx -T @var{title}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 Use @var{title} as the window title. This sets the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 @code{frame-title-format} variable, which controls the title of the X
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 window corresponding to the selected frame. This is the same format as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 @code{mode-line-format}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 @item -iconname @var{title}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 @itemx -in @var{title}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 Use @var{title} as the icon name. This sets the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 @code{frame-icon-title-format} variable, which controls the title of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 the icon corresponding to the selected frame.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 @item -mc @var{color}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 Use @var{color} as the mouse color.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 @item -cr @var{color}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 Use @var{color} as the text-cursor foreground color.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 @end table
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 In addition, XEmacs allows you to use a number of standard Xt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 command line arguments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 @table @samp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 @item -background @var{color}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 @itemx -bg @var{color}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 Use @var{color} as the background color.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 @item -bordercolor @var{color}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 @itemx -bd @var{color}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 Use @var{color} as the border color.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 @item -borderwidth @var{width}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 @itemx -bw @var{width}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 Use @var{width} as the border width.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 @item -display @var{display}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 @itemx -d @var{display}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 When running under the X window system, create the window containing the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 Emacs frame on the display named @var{display}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 @item -foreground @var{color}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 @itemx -fg @var{color}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 Use @var{color} as the foreground color.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 @item -font @var{name}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 @itemx -fn @var{name}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 Use @var{name} as the default font.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 @item -geometry @var{spec}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 @itemx -geom @var{spec}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 @itemx -g @var{spec}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 Use the geometry (window size and/or position) specified by @var{spec}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 @item -iconic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 Start up iconified.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 @item -rv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 Bring up Emacs in reverse video.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 @item -name @var{name}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 Use the resource manager resources specified by @var{name}.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 The default is to use the name of the program (@code{argv[0]}) as
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 the resource manager name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 @item -xrm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 Read something into the resource database for this invocation of Emacs only.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 @end table