aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJuri Linkov2019-10-01 23:01:08 +0300
committerJuri Linkov2019-10-01 23:01:08 +0300
commit3f981a0a89bca47a207fb362485f07e7322bb145 (patch)
tree95001fa93b9693684108dd114da2a0232640e32e /doc
parent457a7edb4784869079eac2a47d2dc1738332c07a (diff)
downloademacs-3f981a0a89bca47a207fb362485f07e7322bb145.tar.gz
emacs-3f981a0a89bca47a207fb362485f07e7322bb145.zip
Remove unused code and reformat to 70 columns.feature/tabs
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/commands.texi38
1 files changed, 20 insertions, 18 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 541a97f8add..a351917b852 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -1348,8 +1348,8 @@ button. @xref{Repeat Events}.
1348@var{position} slot of a click event, you should typically use the 1348@var{position} slot of a click event, you should typically use the
1349functions documented in @ref{Accessing Mouse}. The explicit format of 1349functions documented in @ref{Accessing Mouse}. The explicit format of
1350the list depends on where the click occurred. For clicks in the text 1350the list depends on where the click occurred. For clicks in the text
1351area, mode line, header line, tab line, or in the fringe or marginal areas, the 1351area, mode line, header line, tab line, or in the fringe or marginal
1352mouse position list has the form 1352areas, the mouse position list has the form
1353 1353
1354@example 1354@example
1355(@var{window} @var{pos-or-area} (@var{x} . @var{y}) @var{timestamp} 1355(@var{window} @var{pos-or-area} (@var{x} . @var{y}) @var{timestamp}
@@ -1368,8 +1368,9 @@ The window in which the click occurred.
1368The buffer position of the character clicked on in the text area; or, 1368The buffer position of the character clicked on in the text area; or,
1369if the click was outside the text area, the window area where it 1369if the click was outside the text area, the window area where it
1370occurred. It is one of the symbols @code{mode-line}, 1370occurred. It is one of the symbols @code{mode-line},
1371@code{header-line}, @code{tab-line}, @code{vertical-line}, @code{left-margin}, 1371@code{header-line}, @code{tab-line}, @code{vertical-line},
1372@code{right-margin}, @code{left-fringe}, or @code{right-fringe}. 1372@code{left-margin}, @code{right-margin}, @code{left-fringe}, or
1373@code{right-fringe}.
1373 1374
1374In one special case, @var{pos-or-area} is a list containing a symbol 1375In one special case, @var{pos-or-area} is a list containing a symbol
1375(one of the symbols listed above) instead of just the symbol. This 1376(one of the symbols listed above) instead of just the symbol. This
@@ -1380,12 +1381,12 @@ by Emacs. @xref{Key Sequence Input}.
1380The relative pixel coordinates of the click. For clicks in the text 1381The relative pixel coordinates of the click. For clicks in the text
1381area of a window, the coordinate origin @code{(0 . 0)} is taken to be 1382area of a window, the coordinate origin @code{(0 . 0)} is taken to be
1382the top left corner of the text area. @xref{Window Sizes}. For 1383the top left corner of the text area. @xref{Window Sizes}. For
1383clicks in a mode line, header line or tab line, the coordinate origin is the top 1384clicks in a mode line, header line or tab line, the coordinate origin
1384left corner of the window itself. For fringes, margins, and the 1385is the top left corner of the window itself. For fringes, margins,
1385vertical border, @var{x} does not have meaningful data. For fringes 1386and the vertical border, @var{x} does not have meaningful data.
1386and margins, @var{y} is relative to the bottom edge of the header 1387For fringes and margins, @var{y} is relative to the bottom edge of the
1387line. In all cases, the @var{x} and @var{y} coordinates increase 1388header line. In all cases, the @var{x} and @var{y} coordinates
1388rightward and downward respectively. 1389increase rightward and downward respectively.
1389 1390
1390@item @var{timestamp} 1391@item @var{timestamp}
1391The time at which the event occurred, as an integer number of 1392The time at which the event occurred, as an integer number of
@@ -1407,18 +1408,18 @@ The position in the string where the click occurred.
1407@item @var{text-pos} 1408@item @var{text-pos}
1408For clicks on a marginal area or on a fringe, this is the buffer 1409For clicks on a marginal area or on a fringe, this is the buffer
1409position of the first visible character in the corresponding line in 1410position of the first visible character in the corresponding line in
1410the window. For clicks on the mode line, the header line or the tab line, this is 1411the window. For clicks on the mode line, the header line or the tab
1411@code{nil}. For other events, it is the buffer position closest to 1412line, this is @code{nil}. For other events, it is the buffer position
1412the click. 1413closest to the click.
1413 1414
1414@item @var{col}, @var{row} 1415@item @var{col}, @var{row}
1415These are the actual column and row coordinate numbers of the glyph 1416These are the actual column and row coordinate numbers of the glyph
1416under the @var{x}, @var{y} position. If @var{x} lies beyond the last 1417under the @var{x}, @var{y} position. If @var{x} lies beyond the last
1417column of actual text on its line, @var{col} is reported by adding 1418column of actual text on its line, @var{col} is reported by adding
1418fictional extra columns that have the default character width. Row 0 1419fictional extra columns that have the default character width.
1419is taken to be the header line if the window has one, or Row 1 1420Row 0 is taken to be the header line if the window has one, or Row 1
1420if the window also has the tab line, or the topmost 1421if the window also has the tab line, or the topmost row of
1421row of the text area otherwise. Column 0 is taken to be the leftmost 1422the text area otherwise. Column 0 is taken to be the leftmost
1422column of the text area for clicks on a window text area, or the 1423column of the text area for clicks on a window text area, or the
1423leftmost mode line or header line column for clicks there. For clicks 1424leftmost mode line or header line column for clicks there. For clicks
1424on fringes or vertical borders, these have no meaningful data. For 1425on fringes or vertical borders, these have no meaningful data. For
@@ -2095,7 +2096,8 @@ computed values.)
2095 2096
2096Note that @var{row} is counted from the top of the text area. If the 2097Note that @var{row} is counted from the top of the text area. If the
2097window given by @var{position} possesses a header line (@pxref{Header 2098window given by @var{position} possesses a header line (@pxref{Header
2098Lines}) or a tab line, they are @emph{not} included in the @var{row} count. 2099Lines}) or a tab line, they are @emph{not} included in the @var{row}
2100count.
2099@end defun 2101@end defun
2100 2102
2101@defun posn-actual-col-row position 2103@defun posn-actual-col-row position