Mercurial > hg > xemacs-beta
comparison man/lispref/os.texi @ 290:c9fe270a4101 r21-0b43
Import from CVS: tag r21-0b43
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:36:47 +0200 |
parents | 7df0dd720c89 |
children | 4b85ae5eabfb |
comparison
equal
deleted
inserted
replaced
289:6e6992ccc4b6 | 290:c9fe270a4101 |
---|---|
166 @file{.emacs} from your home directory. This file, if it exists, must | 166 @file{.emacs} from your home directory. This file, if it exists, must |
167 contain Lisp code. It is called your @dfn{init file}. The command line | 167 contain Lisp code. It is called your @dfn{init file}. The command line |
168 switches @samp{-q} and @samp{-u} affect the use of the init file; | 168 switches @samp{-q} and @samp{-u} affect the use of the init file; |
169 @samp{-q} says not to load an init file, and @samp{-u} says to load a | 169 @samp{-q} says not to load an init file, and @samp{-u} says to load a |
170 specified user's init file instead of yours. @xref{Entering XEmacs,,, | 170 specified user's init file instead of yours. @xref{Entering XEmacs,,, |
171 emacs, The XEmacs Reference Manual}. | 171 xemacs, The XEmacs User's Manual}. |
172 | 172 |
173 @cindex default init file | 173 @cindex default init file |
174 A site may have a @dfn{default init file}, which is the library named | 174 A site may have a @dfn{default init file}, which is the library named |
175 @file{default.el}. XEmacs finds the @file{default.el} file through the | 175 @file{default.el}. XEmacs finds the @file{default.el} file through the |
176 standard search path for libraries (@pxref{How Programs Do Loading}). | 176 standard search path for libraries (@pxref{How Programs Do Loading}). |
193 If there is a great deal of code in your @file{.emacs} file, you | 193 If there is a great deal of code in your @file{.emacs} file, you |
194 should move it into another file named @file{@var{something}.el}, | 194 should move it into another file named @file{@var{something}.el}, |
195 byte-compile it (@pxref{Byte Compilation}), and make your @file{.emacs} | 195 byte-compile it (@pxref{Byte Compilation}), and make your @file{.emacs} |
196 file load the other file using @code{load} (@pxref{Loading}). | 196 file load the other file using @code{load} (@pxref{Loading}). |
197 | 197 |
198 @xref{Init File Examples,,, emacs, The XEmacs Reference Manual}, for | 198 @xref{Init File Examples,,, xemacs, The XEmacs User's Manual}, for |
199 examples of how to make various commonly desired customizations in your | 199 examples of how to make various commonly desired customizations in your |
200 @file{.emacs} file. | 200 @file{.emacs} file. |
201 | 201 |
202 @defopt inhibit-default-init | 202 @defopt inhibit-default-init |
203 This variable prevents XEmacs from loading the default initialization | 203 This variable prevents XEmacs from loading the default initialization |
361 @code{command-line-args-left}. (The entire list of command-line | 361 @code{command-line-args-left}. (The entire list of command-line |
362 arguments is in @code{command-line-args}.) | 362 arguments is in @code{command-line-args}.) |
363 | 363 |
364 The command line arguments are parsed by the @code{command-line-1} | 364 The command line arguments are parsed by the @code{command-line-1} |
365 function in the @file{startup.el} file. See also @ref{Command | 365 function in the @file{startup.el} file. See also @ref{Command |
366 Switches, , Command Line Switches and Arguments, emacs, The XEmacs | 366 Switches, , Command Line Switches and Arguments, xemacs, The XEmacs |
367 Reference Manual}. | 367 User's Manual}. |
368 @end defvar | 368 @end defvar |
369 | 369 |
370 @defvar command-line-args | 370 @defvar command-line-args |
371 The value of this variable is the list of command line arguments passed | 371 The value of this variable is the list of command line arguments passed |
372 to XEmacs. | 372 to XEmacs. |
1384 inputting non-ASCII Latin-1 characters. | 1384 inputting non-ASCII Latin-1 characters. |
1385 | 1385 |
1386 @node Recording Input | 1386 @node Recording Input |
1387 @subsection Recording Input | 1387 @subsection Recording Input |
1388 | 1388 |
1389 @defun recent-keys | 1389 @defun recent-keys &optional number |
1390 This function returns a vector containing the last 100 input events | 1390 This function returns a vector containing recent input events from the |
1391 from the keyboard or mouse. All input events are included, whether or | 1391 keyboard or mouse. By default, 100 events are recorded, which is how |
1392 not they were used as parts of key sequences. Thus, you always get the | 1392 many @code{recent-keys} returns. |
1393 last 100 inputs, not counting keyboard macros. (Events from keyboard | 1393 |
1394 macros are excluded because they are less interesting for debugging; it | 1394 All input events are included, whether or not they were used as parts of |
1395 should be enough to see the events that invoked the macros.) | 1395 key sequences. Thus, you always get the last 100 inputs, not counting |
1396 keyboard macros. (Events from keyboard macros are excluded because they | |
1397 are less interesting for debugging; it should be enough to see the | |
1398 events that invoked the macros.) | |
1399 | |
1400 If @var{number} is specified, not more than @var{number} events will be | |
1401 returned. You may change the number of stored events using | |
1402 @code{set-recent-keys-ring-size}. | |
1403 @end defun | |
1404 | |
1405 @defun recent-keys-ring-size | |
1406 This function returns the number of recent events stored internally. | |
1407 This is also the maximum number of events @code{recent-keys} can | |
1408 return. By default, 100 events are stored. | |
1409 @end defun | |
1410 | |
1411 @defun set-recent-keys-ring-size size | |
1412 This function changes the number of events stored by XEmacs and returned | |
1413 by @code{recent-keys}. | |
1414 | |
1415 For example, @code{(set-recent-keys-ring-size 250)} will make XEmacs | |
1416 remember last 250 events and will make @code{recent-keys} return last | |
1417 250 events by default. | |
1396 @end defun | 1418 @end defun |
1397 | 1419 |
1398 @deffn Command open-dribble-file filename | 1420 @deffn Command open-dribble-file filename |
1399 @cindex dribble file | 1421 @cindex dribble file |
1400 This function opens a @dfn{dribble file} named @var{filename}. When a | 1422 This function opens a @dfn{dribble file} named @var{filename}. When a |