Mercurial > emacs
comparison lispref/commands.texi @ 90037:0fe073a08cef
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-65
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-634
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-639
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-640
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-641
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-59
- miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-60
Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 27 Oct 2004 05:42:04 +0000 |
parents | 0796fc36c2bd 26ee7f4433d0 |
children | e24e2e78deda |
comparison
equal
deleted
inserted
replaced
90036:af754c88f187 | 90037:0fe073a08cef |
---|---|
358 A key sequence (@pxref{Keymap Terminology}). This keeps reading events | 358 A key sequence (@pxref{Keymap Terminology}). This keeps reading events |
359 until a command (or undefined command) is found in the current key | 359 until a command (or undefined command) is found in the current key |
360 maps. The key sequence argument is represented as a string or vector. | 360 maps. The key sequence argument is represented as a string or vector. |
361 The cursor does not move into the echo area. Prompt. | 361 The cursor does not move into the echo area. Prompt. |
362 | 362 |
363 If the key sequence is a down-event, the following up-event is discarded, | |
364 but can be read via the @code{U} code character. | |
365 | |
363 This kind of input is used by commands such as @code{describe-key} and | 366 This kind of input is used by commands such as @code{describe-key} and |
364 @code{global-set-key}. | 367 @code{global-set-key}. |
365 | 368 |
366 @item K | 369 @item K |
367 A key sequence, whose definition you intend to change. This works like | 370 A key sequence, whose definition you intend to change. This works like |
413 @item S | 416 @item S |
414 An interned symbol whose name is read in the minibuffer. Any whitespace | 417 An interned symbol whose name is read in the minibuffer. Any whitespace |
415 character terminates the input. (Use @kbd{C-q} to include whitespace in | 418 character terminates the input. (Use @kbd{C-q} to include whitespace in |
416 the string.) Other characters that normally terminate a symbol (e.g., | 419 the string.) Other characters that normally terminate a symbol (e.g., |
417 parentheses and brackets) do not do so here. Prompt. | 420 parentheses and brackets) do not do so here. Prompt. |
421 | |
422 @item U | |
423 A key sequence or nil. May be used after a @code{k} or @code{K} | |
424 argument to get the up-event that was discarded in case the key | |
425 sequence read for that argument was a down-event. No I/O. | |
418 | 426 |
419 @item v | 427 @item v |
420 A variable declared to be a user option (i.e., satisfying the | 428 A variable declared to be a user option (i.e., satisfying the |
421 predicate @code{user-variable-p}). This reads the variable using | 429 predicate @code{user-variable-p}). This reads the variable using |
422 @code{read-variable}. @xref{Definition of read-variable}. Existing, | 430 @code{read-variable}. @xref{Definition of read-variable}. Existing, |
1499 @item (make-frame-visible (@var{frame})) | 1507 @item (make-frame-visible (@var{frame})) |
1500 This kind of event indicates that the user deiconified @var{frame} using | 1508 This kind of event indicates that the user deiconified @var{frame} using |
1501 the window manager. Its standard definition is @code{ignore}; since the | 1509 the window manager. Its standard definition is @code{ignore}; since the |
1502 frame has already been made visible, Emacs has no work to do. | 1510 frame has already been made visible, Emacs has no work to do. |
1503 | 1511 |
1504 @cindex @code{mouse-wheel} event | 1512 @cindex @code{wheel-up} event |
1505 @item (mouse-wheel @var{position} @var{delta}) | 1513 @cindex @code{wheel-down} event |
1506 This kind of event is generated by moving a wheel on a mouse (such as | 1514 @item (wheel-up @var{position}) |
1507 the MS Intellimouse). Its effect is typically a kind of scroll or zoom. | 1515 @item (wheel-down @var{position}) |
1508 | 1516 This kind of event is generated by moving a wheel on a mouse. Its |
1509 The element @var{delta} describes the amount and direction of the wheel | 1517 effect is typically a kind of scroll or zoom. |
1510 rotation. Its absolute value is the number of increments by which the | |
1511 wheel was rotated. A negative @var{delta} indicates that the wheel was | |
1512 rotated backwards, towards the user, and a positive @var{delta} | |
1513 indicates that the wheel was rotated forward, away from the user. | |
1514 | 1518 |
1515 The element @var{position} is a list describing the position of the | 1519 The element @var{position} is a list describing the position of the |
1516 event, in the same format as used in a mouse-click event. | 1520 event, in the same format as used in a mouse-click event. |
1517 | 1521 |
1518 This kind of event is generated only on some kinds of systems. | 1522 This kind of event is generated only on some kinds of systems. On |
1523 other systems, mouse-4 and mouse-5 may be used instead. For portable | |
1524 code, the variables @code{mouse-wheel-up-event} and | |
1525 @code{mouse-wheel-down-event} defined in @file{mwheel.el} can be used. | |
1519 | 1526 |
1520 @cindex @code{drag-n-drop} event | 1527 @cindex @code{drag-n-drop} event |
1521 @item (drag-n-drop @var{position} @var{files}) | 1528 @item (drag-n-drop @var{position} @var{files}) |
1522 This kind of event is generated when a group of files is | 1529 This kind of event is generated when a group of files is |
1523 selected in an application outside of Emacs, and then dragged and | 1530 selected in an application outside of Emacs, and then dragged and |