diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/programs.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/commands.texi | 23 |
4 files changed, 30 insertions, 5 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index b7853a7f118..329da9418f8 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2015-01-21 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * programs.texi (Custom C Indent): Fix a typo. (Bug#19647) | ||
| 4 | |||
| 1 | 2015-01-27 Ivan Shmakov <ivan@siamics.net> | 5 | 2015-01-27 Ivan Shmakov <ivan@siamics.net> |
| 2 | 6 | ||
| 3 | * files.texi (File Archives): Document "I" for tar-new-entry. | 7 | * files.texi (File Archives): Document "I" for tar-new-entry. |
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 8f6111dfa24..609392f6bb7 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -546,7 +546,7 @@ your selected @dfn{style} with the syntactic construct and adds this | |||
| 546 | onto the indentation of the @dfn{anchor statement}. | 546 | onto the indentation of the @dfn{anchor statement}. |
| 547 | 547 | ||
| 548 | @table @kbd | 548 | @table @kbd |
| 549 | @item C-c . @key{RET} @var{style} @key{RET} | 549 | @item C-c . @var{style} @key{RET} |
| 550 | Select a predefined style @var{style} (@code{c-set-style}). | 550 | Select a predefined style @var{style} (@code{c-set-style}). |
| 551 | @end table | 551 | @end table |
| 552 | 552 | ||
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 2bbe28eb16e..ef1d79af003 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2015-01-21 Daniel Koning <dk@danielkoning.com> (tiny change) | ||
| 2 | |||
| 3 | * commands.texi (Drag Events, Motion Events, Event Examples) | ||
| 4 | (Accessing Mouse): Describe actual range of values that mouse | ||
| 5 | position objects can have. | ||
| 6 | |||
| 1 | 2015-01-20 Eli Zaretskii <eliz@gnu.org> | 7 | 2015-01-20 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * display.texi (Manipulating Buttons): Explain more about the | 9 | * display.texi (Manipulating Buttons): Explain more about the |
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi index 36c74450ed4..6fdc8e2ec79 100644 --- a/doc/lispref/commands.texi +++ b/doc/lispref/commands.texi | |||
| @@ -1489,8 +1489,10 @@ prefix @samp{drag-}. For example, dragging the mouse with button 2 | |||
| 1489 | held down generates a @code{drag-mouse-2} event. The second and third | 1489 | held down generates a @code{drag-mouse-2} event. The second and third |
| 1490 | elements of the event give the starting and ending position of the | 1490 | elements of the event give the starting and ending position of the |
| 1491 | drag, as mouse position lists (@pxref{Click Events}). You can access | 1491 | drag, as mouse position lists (@pxref{Click Events}). You can access |
| 1492 | the second element of any mouse event in the same way, with no need to | 1492 | the second element of any mouse event in the same way. However, the |
| 1493 | distinguish drag events from others. | 1493 | drag event may end outside the boundaries of the frame that was |
| 1494 | initially selected. In that case, the third element's position list | ||
| 1495 | contains that frame in place of a window. | ||
| 1494 | 1496 | ||
| 1495 | The @samp{drag-} prefix follows the modifier key prefixes such as | 1497 | The @samp{drag-} prefix follows the modifier key prefixes such as |
| 1496 | @samp{C-} and @samp{M-}. | 1498 | @samp{C-} and @samp{M-}. |
| @@ -1635,7 +1637,10 @@ represented by lists that look like this: | |||
| 1635 | 1637 | ||
| 1636 | @noindent | 1638 | @noindent |
| 1637 | @var{position} is a mouse position list (@pxref{Click Events}), | 1639 | @var{position} is a mouse position list (@pxref{Click Events}), |
| 1638 | specifying the current position of the mouse cursor. | 1640 | specifying the current position of the mouse cursor. As with the |
| 1641 | end-position of a drag event, this position list may represent a | ||
| 1642 | location outside the boundaries of the initially selected frame, in | ||
| 1643 | which case the list contains that frame in place of a window. | ||
| 1639 | 1644 | ||
| 1640 | The special form @code{track-mouse} enables generation of motion | 1645 | The special form @code{track-mouse} enables generation of motion |
| 1641 | events within its body. Outside of @code{track-mouse} forms, Emacs | 1646 | events within its body. Outside of @code{track-mouse} forms, Emacs |
| @@ -1850,6 +1855,14 @@ into another window. That produces a pair of events like these: | |||
| 1850 | -453816)) | 1855 | -453816)) |
| 1851 | @end smallexample | 1856 | @end smallexample |
| 1852 | 1857 | ||
| 1858 | The frame with input focus might not take up the entire screen, and | ||
| 1859 | the user might move the mouse outside the scope of the frame. Inside | ||
| 1860 | the @code{track-mouse} special form, that produces an event like this: | ||
| 1861 | |||
| 1862 | @smallexample | ||
| 1863 | (mouse-movement (#<frame *ielm* 0x102849a30> nil (563 . 205) 532301936)) | ||
| 1864 | @end smallexample | ||
| 1865 | |||
| 1853 | To handle a SIGUSR1 signal, define an interactive function, and | 1866 | To handle a SIGUSR1 signal, define an interactive function, and |
| 1854 | bind it to the @code{signal usr1} event sequence: | 1867 | bind it to the @code{signal usr1} event sequence: |
| 1855 | 1868 | ||
| @@ -2014,7 +2027,9 @@ Events}); and @code{nil} otherwise. | |||
| 2014 | various parts of it: | 2027 | various parts of it: |
| 2015 | 2028 | ||
| 2016 | @defun posn-window position | 2029 | @defun posn-window position |
| 2017 | Return the window that @var{position} is in. | 2030 | Return the window that @var{position} is in. If @var{position} |
| 2031 | represents a location outside the frame where the event was initiated, | ||
| 2032 | return that frame instead. | ||
| 2018 | @end defun | 2033 | @end defun |
| 2019 | 2034 | ||
| 2020 | @defun posn-area position | 2035 | @defun posn-area position |