aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2015-01-28 01:03:46 -0300
committerFabián Ezequiel Gallina2015-01-28 01:03:46 -0300
commit33ab7ee0edcb3608e4a3d5deebc2b72c180dbfe4 (patch)
tree946ccc8bdc1f41a2c4066e6fcef4bfd04a9d693a /doc
parent85ca47671ccbffe87d6ccad17039b49d6b676d61 (diff)
parent8ee825c35b62768e28fe825163dea90d3ab46022 (diff)
downloademacs-33ab7ee0edcb3608e4a3d5deebc2b72c180dbfe4.tar.gz
emacs-33ab7ee0edcb3608e4a3d5deebc2b72c180dbfe4.zip
Merge from origin/emacs-24
8ee825c doc/emacs/programs.texi (Custom C Indent): Fix a typo. (Bug#19647) 88ba49f Fix coding.c subscript error 3ea1b31 Prevent artist-mode from creating runaway timers (Bug#6130).
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/programs.texi2
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/commands.texi23
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 @@
12015-01-21 Eli Zaretskii <eliz@gnu.org>
2
3 * programs.texi (Custom C Indent): Fix a typo. (Bug#19647)
4
12015-01-27 Ivan Shmakov <ivan@siamics.net> 52015-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
546onto the indentation of the @dfn{anchor statement}. 546onto 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}
550Select a predefined style @var{style} (@code{c-set-style}). 550Select 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 @@
12015-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
12015-01-20 Eli Zaretskii <eliz@gnu.org> 72015-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
1489held down generates a @code{drag-mouse-2} event. The second and third 1489held down generates a @code{drag-mouse-2} event. The second and third
1490elements of the event give the starting and ending position of the 1490elements of the event give the starting and ending position of the
1491drag, as mouse position lists (@pxref{Click Events}). You can access 1491drag, as mouse position lists (@pxref{Click Events}). You can access
1492the second element of any mouse event in the same way, with no need to 1492the second element of any mouse event in the same way. However, the
1493distinguish drag events from others. 1493drag event may end outside the boundaries of the frame that was
1494initially selected. In that case, the third element's position list
1495contains that frame in place of a window.
1494 1496
1495The @samp{drag-} prefix follows the modifier key prefixes such as 1497The @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}),
1638specifying the current position of the mouse cursor. 1640specifying the current position of the mouse cursor. As with the
1641end-position of a drag event, this position list may represent a
1642location outside the boundaries of the initially selected frame, in
1643which case the list contains that frame in place of a window.
1639 1644
1640The special form @code{track-mouse} enables generation of motion 1645The special form @code{track-mouse} enables generation of motion
1641events within its body. Outside of @code{track-mouse} forms, Emacs 1646events 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
1858The frame with input focus might not take up the entire screen, and
1859the user might move the mouse outside the scope of the frame. Inside
1860the @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
1853To handle a SIGUSR1 signal, define an interactive function, and 1866To handle a SIGUSR1 signal, define an interactive function, and
1854bind it to the @code{signal usr1} event sequence: 1867bind it to the @code{signal usr1} event sequence:
1855 1868
@@ -2014,7 +2027,9 @@ Events}); and @code{nil} otherwise.
2014various parts of it: 2027various parts of it:
2015 2028
2016@defun posn-window position 2029@defun posn-window position
2017Return the window that @var{position} is in. 2030Return the window that @var{position} is in. If @var{position}
2031represents a location outside the frame where the event was initiated,
2032return that frame instead.
2018@end defun 2033@end defun
2019 2034
2020@defun posn-area position 2035@defun posn-area position