aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-29 14:36:23 +0200
committerLars Ingebrigtsen2016-04-29 14:37:56 +0200
commite4c26271f2c2fe08f8490e25c63a436ab2a804ca (patch)
tree1ef18917f1c4b0ce31a4c87bda49ced3dd579243
parentfafdfcb1fa629d659bb97986f8e748d75b97cad6 (diff)
downloademacs-e4c26271f2c2fe08f8490e25c63a436ab2a804ca.tar.gz
emacs-e4c26271f2c2fe08f8490e25c63a436ab2a804ca.zip
Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"
* doc/emacs/*.texi: Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]". These are case sensitive, and the keys are lower case (bug#14554).
-rw-r--r--doc/emacs/buffers.texi4
-rw-r--r--doc/emacs/building.texi46
-rw-r--r--doc/emacs/calendar.texi20
-rw-r--r--doc/emacs/dired.texi4
-rw-r--r--doc/emacs/fixit.texi2
-rw-r--r--doc/emacs/frames.texi134
-rw-r--r--doc/emacs/help.texi8
-rw-r--r--doc/emacs/killing.texi26
-rw-r--r--doc/emacs/macos.texi6
-rw-r--r--doc/emacs/maintaining.texi8
-rw-r--r--doc/emacs/mark.texi4
-rw-r--r--doc/emacs/mini.texi6
-rw-r--r--doc/emacs/misc.texi18
-rw-r--r--doc/emacs/msdos-xtra.texi4
-rw-r--r--doc/emacs/mule.texi4
-rw-r--r--doc/emacs/programs.texi4
-rw-r--r--doc/emacs/rmail.texi4
-rw-r--r--doc/emacs/search.texi8
-rw-r--r--doc/emacs/text.texi8
-rw-r--r--doc/emacs/windows.texi14
-rw-r--r--doc/lispref/display.texi4
-rw-r--r--doc/lispref/text.texi42
-rw-r--r--doc/misc/ebrowse.texi10
-rw-r--r--doc/misc/efaq.texi4
-rw-r--r--doc/misc/idlwave.texi14
-rw-r--r--doc/misc/info.texi16
-rw-r--r--doc/misc/mh-e.texi44
-rw-r--r--doc/misc/sem-user.texi4
-rw-r--r--doc/misc/speedbar.texi28
-rw-r--r--doc/misc/viper.texi14
-rw-r--r--doc/misc/widget.texi6
-rw-r--r--doc/misc/woman.texi8
32 files changed, 263 insertions, 263 deletions
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi
index 1efd1d98d7b..2eb837f1510 100644
--- a/doc/emacs/buffers.texi
+++ b/doc/emacs/buffers.texi
@@ -699,10 +699,10 @@ C-b}. To customize this buffer list, use the @code{bs} Custom group
699@cindex mode, MSB 699@cindex mode, MSB
700@cindex MSB mode 700@cindex MSB mode
701@findex mouse-buffer-menu 701@findex mouse-buffer-menu
702@kindex C-Down-Mouse-1 702@kindex C-Down-mouse-1
703 MSB global minor mode (``MSB'' stands for ``mouse select buffer'') 703 MSB global minor mode (``MSB'' stands for ``mouse select buffer'')
704provides a different and customizable mouse buffer menu which you may 704provides a different and customizable mouse buffer menu which you may
705prefer. It replaces the bindings of @code{mouse-buffer-menu}, 705prefer. It replaces the bindings of @code{mouse-buffer-menu},
706normally on @kbd{C-Down-Mouse-1} and @kbd{C-@key{F10}}, and the menu 706normally on @kbd{C-Down-mouse-1} and @kbd{C-@key{F10}}, and the menu
707bar buffer menu. You can customize the menu in the @code{msb} Custom 707bar buffer menu. You can customize the menu in the @code{msb} Custom
708group. 708group.
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 03fa0ed83b2..a416734d40e 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -929,23 +929,23 @@ still in the right places.
929@cindex fringes, for debugging 929@cindex fringes, for debugging
930 930
931@table @asis 931@table @asis
932@item @kbd{Mouse-1} (in fringe) 932@item @kbd{mouse-1} (in fringe)
933Set or clear a breakpoint on that line. 933Set or clear a breakpoint on that line.
934 934
935@item @kbd{C-Mouse-1} (in fringe) 935@item @kbd{C-mouse-1} (in fringe)
936Enable or disable a breakpoint on that line. 936Enable or disable a breakpoint on that line.
937 937
938@item @kbd{Mouse-3} (in fringe) 938@item @kbd{mouse-3} (in fringe)
939Continue execution to that line. 939Continue execution to that line.
940 940
941@item @kbd{C-Mouse-3} (in fringe) 941@item @kbd{C-mouse-3} (in fringe)
942Jump to that line. 942Jump to that line.
943@end table 943@end table
944 944
945 On a graphical display, you can click @kbd{Mouse-1} in the fringe of 945 On a graphical display, you can click @kbd{mouse-1} in the fringe of
946a source buffer, to set a breakpoint on that line (@pxref{Fringes}). 946a source buffer, to set a breakpoint on that line (@pxref{Fringes}).
947A red dot appears in the fringe, where you clicked. If a breakpoint 947A red dot appears in the fringe, where you clicked. If a breakpoint
948already exists there, the click removes it. A @kbd{C-Mouse-1} click 948already exists there, the click removes it. A @kbd{C-mouse-1} click
949enables or disables an existing breakpoint; a breakpoint that is 949enables or disables an existing breakpoint; a breakpoint that is
950disabled, but not unset, is indicated by a gray dot. 950disabled, but not unset, is indicated by a gray dot.
951 951
@@ -957,10 +957,10 @@ of the window. Disabled breakpoints are indicated with @samp{b}.
957 A solid arrow in the left fringe of a source buffer indicates the 957 A solid arrow in the left fringe of a source buffer indicates the
958line of the innermost frame where the debugged program has stopped. A 958line of the innermost frame where the debugged program has stopped. A
959hollow arrow indicates the current execution line of a higher-level 959hollow arrow indicates the current execution line of a higher-level
960frame. If you drag the arrow in the fringe with @kbd{Mouse-1}, that 960frame. If you drag the arrow in the fringe with @kbd{mouse-1}, that
961causes execution to advance to the line where you release the button. 961causes execution to advance to the line where you release the button.
962Alternatively, you can click @kbd{Mouse-3} in the fringe to advance to 962Alternatively, you can click @kbd{mouse-3} in the fringe to advance to
963that line. You can click @kbd{C-Mouse-3} in the fringe to jump to 963that line. You can click @kbd{C-mouse-3} in the fringe to jump to
964that line without executing the intermediate lines. This command 964that line without executing the intermediate lines. This command
965allows you to go backwards, which can be useful for running through 965allows you to go backwards, which can be useful for running through
966code that has already executed, in order to examine its execution in 966code that has already executed, in order to examine its execution in
@@ -994,15 +994,15 @@ Delete the current breakpoint (@code{gdb-delete-breakpoint}).
994Visit the source line for the current breakpoint 994Visit the source line for the current breakpoint
995(@code{gdb-goto-breakpoint}). 995(@code{gdb-goto-breakpoint}).
996 996
997@item Mouse-2 997@item mouse-2
998@kindex Mouse-2 @r{(GDB Breakpoints buffer)} 998@kindex mouse-2 @r{(GDB Breakpoints buffer)}
999Visit the source line for the breakpoint you click on. 999Visit the source line for the breakpoint you click on.
1000@end table 1000@end table
1001 1001
1002@vindex gdb-show-threads-by-default 1002@vindex gdb-show-threads-by-default
1003 When @code{gdb-many-windows} is non-@code{nil}, the GDB Breakpoints 1003 When @code{gdb-many-windows} is non-@code{nil}, the GDB Breakpoints
1004buffer shares its window with the GDB Threads buffer. To switch from 1004buffer shares its window with the GDB Threads buffer. To switch from
1005one to the other click with @kbd{Mouse-1} on the relevant button in 1005one to the other click with @kbd{mouse-1} on the relevant button in
1006the header line. If @code{gdb-show-threads-by-default} is 1006the header line. If @code{gdb-show-threads-by-default} is
1007non-@code{nil}, the GDB Threads buffer is the one shown by default. 1007non-@code{nil}, the GDB Threads buffer is the one shown by default.
1008 1008
@@ -1014,7 +1014,7 @@ non-@code{nil}, the GDB Threads buffer is the one shown by default.
1014debugged program. @xref{Threads, Threads, Debugging programs with 1014debugged program. @xref{Threads, Threads, Debugging programs with
1015multiple threads, gdb, The GNU debugger}. To select a thread, move 1015multiple threads, gdb, The GNU debugger}. To select a thread, move
1016point there and press @key{RET} (@code{gdb-select-thread}), or click on 1016point there and press @key{RET} (@code{gdb-select-thread}), or click on
1017it with @kbd{Mouse-2}. This also displays the associated source 1017it with @kbd{mouse-2}. This also displays the associated source
1018buffer, and updates the contents of the other GDB buffers. 1018buffer, and updates the contents of the other GDB buffers.
1019 1019
1020 You can customize variables under @code{gdb-buffers} group to select 1020 You can customize variables under @code{gdb-buffers} group to select
@@ -1095,7 +1095,7 @@ debugger}.
1095arrow in the fringe. On text terminals, or when fringes are disabled, 1095arrow in the fringe. On text terminals, or when fringes are disabled,
1096the selected stack frame is displayed in reverse contrast. To select 1096the selected stack frame is displayed in reverse contrast. To select
1097a stack frame, move point in its line and type @key{RET} 1097a stack frame, move point in its line and type @key{RET}
1098(@code{gdb-frames-select}), or click @kbd{Mouse-2} on it. Doing so 1098(@code{gdb-frames-select}), or click @kbd{mouse-2} on it. Doing so
1099also updates the Locals buffer 1099also updates the Locals buffer
1100@ifnottex 1100@ifnottex
1101(@pxref{Other GDB Buffers}). 1101(@pxref{Other GDB Buffers}).
@@ -1112,19 +1112,19 @@ also updates the Locals buffer
1112This buffer displays the values of local variables of the current 1112This buffer displays the values of local variables of the current
1113frame for simple data types (@pxref{Frame Info, Frame Info, 1113frame for simple data types (@pxref{Frame Info, Frame Info,
1114Information on a frame, gdb, The GNU debugger}). Press @key{RET} or 1114Information on a frame, gdb, The GNU debugger}). Press @key{RET} or
1115click @kbd{Mouse-2} on the value if you want to edit it. 1115click @kbd{mouse-2} on the value if you want to edit it.
1116 1116
1117Arrays and structures display their type only. With GDB 6.4 or later, 1117Arrays and structures display their type only. With GDB 6.4 or later,
1118you can examine the value of the local variable at point by typing 1118you can examine the value of the local variable at point by typing
1119@key{RET}, or with a @kbd{Mouse-2} click. With earlier versions of 1119@key{RET}, or with a @kbd{mouse-2} click. With earlier versions of
1120GDB, use @key{RET} or @kbd{Mouse-2} on the type description 1120GDB, use @key{RET} or @kbd{mouse-2} on the type description
1121(@samp{[struct/union]} or @samp{[array]}). @xref{Watch Expressions}. 1121(@samp{[struct/union]} or @samp{[array]}). @xref{Watch Expressions}.
1122 1122
1123@item Registers Buffer 1123@item Registers Buffer
1124@findex toggle-gdb-all-registers 1124@findex toggle-gdb-all-registers
1125This buffer displays the values held by the registers 1125This buffer displays the values held by the registers
1126(@pxref{Registers,,, gdb, The GNU debugger}). Press @key{RET} or 1126(@pxref{Registers,,, gdb, The GNU debugger}). Press @key{RET} or
1127click @kbd{Mouse-2} on a register if you want to edit its value. With 1127click @kbd{mouse-2} on a register if you want to edit its value. With
1128GDB 6.4 or later, recently changed register values display with 1128GDB 6.4 or later, recently changed register values display with
1129@code{font-lock-warning-face}. 1129@code{font-lock-warning-face}.
1130 1130
@@ -1137,17 +1137,17 @@ the fringe or margin.
1137@item Memory Buffer 1137@item Memory Buffer
1138The memory buffer lets you examine sections of program memory 1138The memory buffer lets you examine sections of program memory
1139(@pxref{Memory, Memory, Examining memory, gdb, The GNU debugger}). 1139(@pxref{Memory, Memory, Examining memory, gdb, The GNU debugger}).
1140Click @kbd{Mouse-1} on the appropriate part of the header line to 1140Click @kbd{mouse-1} on the appropriate part of the header line to
1141change the starting address or number of data items that the buffer 1141change the starting address or number of data items that the buffer
1142displays. Alternatively, use @kbd{S} or @kbd{N} respectively. Click 1142displays. Alternatively, use @kbd{S} or @kbd{N} respectively. Click
1143@kbd{Mouse-3} on the header line to select the display format or unit 1143@kbd{mouse-3} on the header line to select the display format or unit
1144size for these data items. 1144size for these data items.
1145@end table 1145@end table
1146 1146
1147When @code{gdb-many-windows} is non-@code{nil}, the locals buffer 1147When @code{gdb-many-windows} is non-@code{nil}, the locals buffer
1148shares its window with the registers buffer, just like breakpoints and 1148shares its window with the registers buffer, just like breakpoints and
1149threads buffers. To switch from one to the other, click with 1149threads buffers. To switch from one to the other, click with
1150@kbd{Mouse-1} on the relevant button in the header line. 1150@kbd{mouse-1} on the relevant button in the header line.
1151 1151
1152@node Watch Expressions 1152@node Watch Expressions
1153@subsubsection Watch Expressions 1153@subsubsection Watch Expressions
@@ -1171,7 +1171,7 @@ name and type otherwise. Root expressions also display the frame
1171address as a tooltip to help identify the frame in which they were 1171address as a tooltip to help identify the frame in which they were
1172defined. 1172defined.
1173 1173
1174 To expand or contract a complex data type, click @kbd{Mouse-2} or 1174 To expand or contract a complex data type, click @kbd{mouse-2} or
1175press @key{SPC} on the tag to the left of the expression. Emacs asks 1175press @key{SPC} on the tag to the left of the expression. Emacs asks
1176for confirmation before expanding the expression if its number of 1176for confirmation before expanding the expression if its number of
1177immediate children exceeds the value of the variable 1177immediate children exceeds the value of the variable
@@ -1186,7 +1186,7 @@ expression in the speedbar and type @kbd{D} (@code{gdb-var-delete}).
1186@findex gdb-edit-value 1186@findex gdb-edit-value
1187 To edit a variable with a simple data type, or a simple element of a 1187 To edit a variable with a simple data type, or a simple element of a
1188complex data type, move point there in the speedbar and type @key{RET} 1188complex data type, move point there in the speedbar and type @key{RET}
1189(@code{gdb-edit-value}). Or you can click @kbd{Mouse-2} on a value to 1189(@code{gdb-edit-value}). Or you can click @kbd{mouse-2} on a value to
1190edit it. Either way, this reads the new value using the minibuffer. 1190edit it. Either way, this reads the new value using the minibuffer.
1191 1191
1192@vindex gdb-show-changed-values 1192@vindex gdb-show-changed-values
diff --git a/doc/emacs/calendar.texi b/doc/emacs/calendar.texi
index 0fc18fcbbcf..60d323be840 100644
--- a/doc/emacs/calendar.texi
+++ b/doc/emacs/calendar.texi
@@ -19,8 +19,8 @@ prompts you for the month and year to be the center of the three-month
19calendar. The calendar uses its own buffer, whose major mode is 19calendar. The calendar uses its own buffer, whose major mode is
20Calendar mode. 20Calendar mode.
21 21
22 @kbd{Mouse-3} in the calendar brings up a menu of operations on a 22 @kbd{mouse-3} in the calendar brings up a menu of operations on a
23particular date; @kbd{Mouse-2} brings up a menu of commonly used 23particular date; @kbd{mouse-2} brings up a menu of commonly used
24calendar features that are independent of any particular date. To exit 24calendar features that are independent of any particular date. To exit
25the calendar, type @kbd{q}. 25the calendar, type @kbd{q}.
26 26
@@ -460,7 +460,7 @@ to.
460and can display them. You can add your own holidays to the default list. 460and can display them. You can add your own holidays to the default list.
461 461
462@table @kbd 462@table @kbd
463@item Mouse-3 Holidays 463@item mouse-3 Holidays
464@itemx h 464@itemx h
465Display holidays for the selected date 465Display holidays for the selected date
466(@code{calendar-cursor-holidays}). 466(@code{calendar-cursor-holidays}).
@@ -483,7 +483,7 @@ List holidays in another window for a specified range of years.
483@vindex calendar-view-holidays-initially-flag 483@vindex calendar-view-holidays-initially-flag
484 To see if any holidays fall on a given date, position point on that 484 To see if any holidays fall on a given date, position point on that
485date in the calendar window and use the @kbd{h} command. Alternatively, 485date in the calendar window and use the @kbd{h} command. Alternatively,
486click on that date with @kbd{Mouse-3} and then choose @kbd{Holidays} 486click on that date with @kbd{mouse-3} and then choose @kbd{Holidays}
487from the menu that appears. Either way, this displays the holidays for 487from the menu that appears. Either way, this displays the holidays for
488that date, in the echo area if they fit there, otherwise in a separate 488that date, in the echo area if they fit there, otherwise in a separate
489window. 489window.
@@ -548,7 +548,7 @@ practice}, not historical fact. For example Veteran's Day began in
548times of sunrise and sunset for any date. 548times of sunrise and sunset for any date.
549 549
550@table @kbd 550@table @kbd
551@item Mouse-3 Sunrise/sunset 551@item mouse-3 Sunrise/sunset
552@itemx S 552@itemx S
553Display times of sunrise and sunset for the selected date 553Display times of sunrise and sunset for the selected date
554(@code{calendar-sunrise-sunset}). 554(@code{calendar-sunrise-sunset}).
@@ -565,7 +565,7 @@ Display times of sunrise and sunset for the selected month.
565@findex sunrise-sunset 565@findex sunrise-sunset
566 Within the calendar, to display the @emph{local times} of sunrise and 566 Within the calendar, to display the @emph{local times} of sunrise and
567sunset in the echo area, move point to the date you want, and type 567sunset in the echo area, move point to the date you want, and type
568@kbd{S}. Alternatively, click @kbd{Mouse-3} on the date, then choose 568@kbd{S}. Alternatively, click @kbd{mouse-3} on the date, then choose
569@samp{Sunrise/sunset} from the menu that appears. The command @kbd{M-x 569@samp{Sunrise/sunset} from the menu that appears. The command @kbd{M-x
570sunrise-sunset} is available outside the calendar to display this 570sunrise-sunset} is available outside the calendar to display this
571information for today's date or a specified date. To specify a date 571information for today's date or a specified date. To specify a date
@@ -777,7 +777,7 @@ in various other calendar systems:
777@table @kbd 777@table @kbd
778@kindex p @r{(Calendar mode)} 778@kindex p @r{(Calendar mode)}
779@findex calendar-print-other-dates 779@findex calendar-print-other-dates
780@item Mouse-3 Other calendars 780@item mouse-3 Other calendars
781@itemx p o 781@itemx p o
782Display the selected date in various other calendars. 782Display the selected date in various other calendars.
783(@code{calendar-print-other-dates}). 783(@code{calendar-print-other-dates}).
@@ -831,7 +831,7 @@ Display Mayan date for selected day (@code{calendar-mayan-print-date}).
831appropriate command starting with @kbd{p} from the table above. The 831appropriate command starting with @kbd{p} from the table above. The
832prefix @kbd{p} is a mnemonic for ``print'', since Emacs ``prints'' the 832prefix @kbd{p} is a mnemonic for ``print'', since Emacs ``prints'' the
833equivalent date in the echo area. @kbd{p o} displays the 833equivalent date in the echo area. @kbd{p o} displays the
834date in all forms known to Emacs. You can also use @kbd{Mouse-3} and 834date in all forms known to Emacs. You can also use @kbd{mouse-3} and
835then choose @kbd{Other calendars} from the menu that appears. This 835then choose @kbd{Other calendars} from the menu that appears. This
836displays the equivalent forms of the date in all the calendars Emacs 836displays the equivalent forms of the date in all the calendars Emacs
837understands, in the form of a menu. (Choosing an alternative from 837understands, in the form of a menu. (Choosing an alternative from
@@ -1020,7 +1020,7 @@ it. You can also view today's events outside of Calendar mode. In the
1020following, key bindings refer to the Calendar buffer. 1020following, key bindings refer to the Calendar buffer.
1021 1021
1022@table @kbd 1022@table @kbd
1023@item Mouse-3 Diary 1023@item mouse-3 Diary
1024@itemx d 1024@itemx d
1025Display all diary entries for the selected date 1025Display all diary entries for the selected date
1026(@code{diary-view-entries}). 1026(@code{diary-view-entries}).
@@ -1058,7 +1058,7 @@ entries for that many successive days. Thus, @kbd{2 d} displays all the
1058entries for the selected date and for the following day. 1058entries for the selected date and for the following day.
1059 1059
1060 Another way to display the diary entries for a date is to click 1060 Another way to display the diary entries for a date is to click
1061@kbd{Mouse-3} on the date, and then choose @kbd{Diary entries} from 1061@kbd{mouse-3} on the date, and then choose @kbd{Diary entries} from
1062the menu that appears. If the variable 1062the menu that appears. If the variable
1063@code{calendar-view-diary-initially-flag} is non-@code{nil}, creating the 1063@code{calendar-view-diary-initially-flag} is non-@code{nil}, creating the
1064calendar lists the diary entries for the current date (provided the 1064calendar lists the diary entries for the current date (provided the
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
index d2de6795c6b..68c6813c242 100644
--- a/doc/emacs/dired.texi
+++ b/doc/emacs/dired.texi
@@ -353,8 +353,8 @@ file. @xref{Windows}.
353Visit the file described on the current line, and display the buffer in 353Visit the file described on the current line, and display the buffer in
354another window, but do not select that window (@code{dired-display-file}). 354another window, but do not select that window (@code{dired-display-file}).
355 355
356@item Mouse-1 356@item mouse-1
357@itemx Mouse-2 357@itemx mouse-2
358@findex dired-mouse-find-file-other-window 358@findex dired-mouse-find-file-other-window
359Visit the file whose name you clicked on 359Visit the file whose name you clicked on
360(@code{dired-mouse-find-file-other-window}). This uses another window 360(@code{dired-mouse-find-file-other-window}). This uses another window
diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi
index b398a7dbfb8..584efc68116 100644
--- a/doc/emacs/fixit.texi
+++ b/doc/emacs/fixit.texi
@@ -408,7 +408,7 @@ buffers, add @code{flyspell-mode} to @code{text-mode-hook}.
408@findex flyspell-auto-correct-word 408@findex flyspell-auto-correct-word
409@findex flyspell-correct-word-before-point 409@findex flyspell-correct-word-before-point
410 When Flyspell mode highlights a word as misspelled, you can click on 410 When Flyspell mode highlights a word as misspelled, you can click on
411it with @kbd{Mouse-2} (@code{flyspell-correct-word}) to display a menu 411it with @kbd{mouse-2} (@code{flyspell-correct-word}) to display a menu
412of possible corrections and actions. In addition, @kbd{C-.} or 412of possible corrections and actions. In addition, @kbd{C-.} or
413@kbd{@key{ESC}-@key{TAB}} (@code{flyspell-auto-correct-word}) will 413@kbd{@key{ESC}-@key{TAB}} (@code{flyspell-auto-correct-word}) will
414propose various successive corrections for the word at point, and 414propose various successive corrections for the word at point, and
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 383ae7fd6ee..23ccd6a8f41 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -70,22 +70,22 @@ for doing so on MS-DOS). Menus are supported on all text terminals.
70@cindex mouse buttons (what they do) 70@cindex mouse buttons (what they do)
71@cindex mouse, selecting text using 71@cindex mouse, selecting text using
72 72
73@kindex Mouse-1 73@kindex mouse-1
74@kindex Mouse-2 74@kindex mouse-2
75@kindex Mouse-3 75@kindex mouse-3
76@table @kbd 76@table @kbd
77@item Mouse-1 77@item mouse-1
78Move point to where you click (@code{mouse-set-point}). 78Move point to where you click (@code{mouse-set-point}).
79 79
80@item Drag-Mouse-1 80@item Drag-mouse-1
81Activate the region around the text selected by dragging, and put the 81Activate the region around the text selected by dragging, and put the
82text in the primary selection (@code{mouse-set-region}). 82text in the primary selection (@code{mouse-set-region}).
83 83
84@item Mouse-2 84@item mouse-2
85Move point to where you click, and insert the contents of the primary 85Move point to where you click, and insert the contents of the primary
86selection there (@code{mouse-yank-primary}). 86selection there (@code{mouse-yank-primary}).
87 87
88@item Mouse-3 88@item mouse-3
89If the region is active, move the nearer end of the region to the 89If the region is active, move the nearer end of the region to the
90click position; otherwise, set mark at the current value of point and 90click position; otherwise, set mark at the current value of point and
91point at the click position. Save the resulting region in the kill 91point at the click position. Save the resulting region in the kill
@@ -94,7 +94,7 @@ ring; on a second click, kill it (@code{mouse-save-then-kill}).
94 94
95@findex mouse-set-point 95@findex mouse-set-point
96 The most basic mouse command is @code{mouse-set-point}, which is 96 The most basic mouse command is @code{mouse-set-point}, which is
97invoked by clicking with the left mouse button, @kbd{Mouse-1}, in the 97invoked by clicking with the left mouse button, @kbd{mouse-1}, in the
98text area of a window. This moves point to the position where you 98text area of a window. This moves point to the position where you
99clicked. If that window was not the selected window, it becomes the 99clicked. If that window was not the selected window, it becomes the
100selected window. 100selected window.
@@ -110,7 +110,7 @@ the window and sets the cursor position.
110 110
111@cindex mouse, dragging 111@cindex mouse, dragging
112@findex mouse-set-region 112@findex mouse-set-region
113 Holding down @kbd{Mouse-1} and dragging the mouse over a stretch 113 Holding down @kbd{mouse-1} and dragging the mouse over a stretch
114of text activates the region around that text 114of text activates the region around that text
115(@code{mouse-set-region}), placing the mark where you started holding 115(@code{mouse-set-region}), placing the mark where you started holding
116down the mouse button, and point where you release it (@pxref{Mark}). 116down the mouse button, and point where you release it (@pxref{Mark}).
@@ -132,49 +132,49 @@ on how far away from the window edge the mouse has gone; the variable
132 132
133@findex mouse-yank-primary 133@findex mouse-yank-primary
134@findex mouse-yank-at-click 134@findex mouse-yank-at-click
135 Clicking with the middle mouse button, @kbd{Mouse-2}, moves point to 135 Clicking with the middle mouse button, @kbd{mouse-2}, moves point to
136the position where you clicked and inserts the contents of the primary 136the position where you clicked and inserts the contents of the primary
137selection (@code{mouse-yank-primary}). @xref{Primary Selection}. 137selection (@code{mouse-yank-primary}). @xref{Primary Selection}.
138This behavior is consistent with other X applications. Alternatively, 138This behavior is consistent with other X applications. Alternatively,
139you can rebind @kbd{Mouse-2} to @code{mouse-yank-at-click}, which 139you can rebind @kbd{mouse-2} to @code{mouse-yank-at-click}, which
140performs a yank at the position you click. 140performs a yank at the position you click.
141 141
142@vindex mouse-yank-at-point 142@vindex mouse-yank-at-point
143 If you change the variable @code{mouse-yank-at-point} to a 143 If you change the variable @code{mouse-yank-at-point} to a
144non-@code{nil} value, @kbd{Mouse-2} does not move point; it inserts 144non-@code{nil} value, @kbd{mouse-2} does not move point; it inserts
145the text at point, regardless of where you clicked or even which of 145the text at point, regardless of where you clicked or even which of
146the frame's windows you clicked on. This variable affects both 146the frame's windows you clicked on. This variable affects both
147@code{mouse-yank-primary} and @code{mouse-yank-at-click}. 147@code{mouse-yank-primary} and @code{mouse-yank-at-click}.
148 148
149@findex mouse-save-then-kill 149@findex mouse-save-then-kill
150 Clicking with the right mouse button, @kbd{Mouse-3}, runs the 150 Clicking with the right mouse button, @kbd{mouse-3}, runs the
151command @code{mouse-save-then-kill}. This performs several actions 151command @code{mouse-save-then-kill}. This performs several actions
152depending on where you click and the status of the region: 152depending on where you click and the status of the region:
153 153
154@itemize @bullet 154@itemize @bullet
155@item 155@item
156If no region is active, clicking @kbd{Mouse-3} activates the region, 156If no region is active, clicking @kbd{mouse-3} activates the region,
157placing the mark where point was and point at the clicked position. 157placing the mark where point was and point at the clicked position.
158 158
159@item 159@item
160If a region is active, clicking @kbd{Mouse-3} adjusts the nearer end 160If a region is active, clicking @kbd{mouse-3} adjusts the nearer end
161of the region by moving it to the clicked position. The adjusted 161of the region by moving it to the clicked position. The adjusted
162region's text is copied to the kill ring; if the text in the original 162region's text is copied to the kill ring; if the text in the original
163region was already on the kill ring, it replaces it there. 163region was already on the kill ring, it replaces it there.
164 164
165@item 165@item
166If you originally specified the region using a double or triple 166If you originally specified the region using a double or triple
167@kbd{Mouse-1}, so that the region is defined to consist of entire 167@kbd{mouse-1}, so that the region is defined to consist of entire
168words or lines (@pxref{Word and Line Mouse}), then adjusting the 168words or lines (@pxref{Word and Line Mouse}), then adjusting the
169region with @kbd{Mouse-3} also proceeds by entire words or lines. 169region with @kbd{mouse-3} also proceeds by entire words or lines.
170 170
171@item 171@item
172If you use @kbd{Mouse-3} a second time consecutively, at the same 172If you use @kbd{mouse-3} a second time consecutively, at the same
173place, that kills the region already selected. Thus, the simplest way 173place, that kills the region already selected. Thus, the simplest way
174to kill text with the mouse is to click @kbd{Mouse-1} at one end, then 174to kill text with the mouse is to click @kbd{mouse-1} at one end, then
175click @kbd{Mouse-3} twice at the other end. To copy the text into the 175click @kbd{mouse-3} twice at the other end. To copy the text into the
176kill ring without deleting it from the buffer, press @kbd{Mouse-3} 176kill ring without deleting it from the buffer, press @kbd{mouse-3}
177just once---or just drag across the text with @kbd{Mouse-1}. Then you 177just once---or just drag across the text with @kbd{mouse-1}. Then you
178can copy it elsewhere by yanking it. 178can copy it elsewhere by yanking it.
179@end itemize 179@end itemize
180 180
@@ -209,12 +209,12 @@ speed is linked to how fast you move the wheel.
209@node Word and Line Mouse 209@node Word and Line Mouse
210@section Mouse Commands for Words and Lines 210@section Mouse Commands for Words and Lines
211 211
212 These variants of @kbd{Mouse-1} select entire words or lines at a 212 These variants of @kbd{mouse-1} select entire words or lines at a
213time. Emacs activates the region around the selected text, which is 213time. Emacs activates the region around the selected text, which is
214also copied to the kill ring. 214also copied to the kill ring.
215 215
216@table @kbd 216@table @kbd
217@item Double-Mouse-1 217@item Double-mouse-1
218Select the text around the word which you click on. 218Select the text around the word which you click on.
219 219
220Double-clicking on a character with symbol syntax (such as 220Double-clicking on a character with symbol syntax (such as
@@ -226,20 +226,20 @@ ends. Double-clicking on a character with string-delimiter syntax
226constant (Emacs uses heuristics to figure out whether that character 226constant (Emacs uses heuristics to figure out whether that character
227is the beginning or the end of it). 227is the beginning or the end of it).
228 228
229@item Double-Drag-Mouse-1 229@item Double-Drag-mouse-1
230Select the text you drag across, in the form of whole words. 230Select the text you drag across, in the form of whole words.
231 231
232@item Triple-Mouse-1 232@item Triple-mouse-1
233Select the line you click on. 233Select the line you click on.
234 234
235@item Triple-Drag-Mouse-1 235@item Triple-Drag-mouse-1
236Select the text you drag across, in the form of whole lines. 236Select the text you drag across, in the form of whole lines.
237@end table 237@end table
238 238
239@node Mouse References 239@node Mouse References
240@section Following References with the Mouse 240@section Following References with the Mouse
241@kindex Mouse-1 @r{(on buttons)} 241@kindex mouse-1 @r{(on buttons)}
242@kindex Mouse-2 @r{(on buttons)} 242@kindex mouse-2 @r{(on buttons)}
243@cindex hyperlinks 243@cindex hyperlinks
244@cindex links 244@cindex links
245@cindex text buttons 245@cindex text buttons
@@ -256,14 +256,14 @@ cursor changes and the button lights up. If you change the variable
256highlighting. 256highlighting.
257 257
258 You can activate a button by moving point to it and typing 258 You can activate a button by moving point to it and typing
259@key{RET}, or by clicking either @kbd{Mouse-1} or @kbd{Mouse-2} on the 259@key{RET}, or by clicking either @kbd{mouse-1} or @kbd{mouse-2} on the
260button. For example, in a Dired buffer, each file name is a button; 260button. For example, in a Dired buffer, each file name is a button;
261activating it causes Emacs to visit that file (@pxref{Dired}). In a 261activating it causes Emacs to visit that file (@pxref{Dired}). In a
262@file{*Compilation*} buffer, each error message is a button, and 262@file{*Compilation*} buffer, each error message is a button, and
263activating it visits the source code for that error 263activating it visits the source code for that error
264(@pxref{Compilation}). 264(@pxref{Compilation}).
265 265
266 Although clicking @kbd{Mouse-1} on a button usually activates the 266 Although clicking @kbd{mouse-1} on a button usually activates the
267button, if you hold the mouse button down for a period of time before 267button, if you hold the mouse button down for a period of time before
268releasing it (specifically, for more than 450 milliseconds), then 268releasing it (specifically, for more than 450 milliseconds), then
269Emacs moves point where you clicked, without activating the button. 269Emacs moves point where you clicked, without activating the button.
@@ -271,20 +271,20 @@ In this way, you can use the mouse to move point over a button without
271activating it. Dragging the mouse over or onto a button has its usual 271activating it. Dragging the mouse over or onto a button has its usual
272behavior of setting the region, and does not activate the button. 272behavior of setting the region, and does not activate the button.
273 273
274 You can change how @kbd{Mouse-1} applies to buttons by customizing 274 You can change how @kbd{mouse-1} applies to buttons by customizing
275the variable @code{mouse-1-click-follows-link}. If the value is a 275the variable @code{mouse-1-click-follows-link}. If the value is a
276positive integer, that determines how long you need to hold the mouse 276positive integer, that determines how long you need to hold the mouse
277button down for, in milliseconds, to cancel button activation; the 277button down for, in milliseconds, to cancel button activation; the
278default is 450, as described in the previous paragraph. If the value 278default is 450, as described in the previous paragraph. If the value
279is @code{nil}, @kbd{Mouse-1} just sets point where you clicked, and 279is @code{nil}, @kbd{mouse-1} just sets point where you clicked, and
280does not activate buttons. If the value is @code{double}, double 280does not activate buttons. If the value is @code{double}, double
281clicks activate buttons but single clicks just set point. 281clicks activate buttons but single clicks just set point.
282 282
283@vindex mouse-1-click-in-non-selected-windows 283@vindex mouse-1-click-in-non-selected-windows
284 Normally, @kbd{Mouse-1} on a button activates the button even if it 284 Normally, @kbd{mouse-1} on a button activates the button even if it
285is in a non-selected window. If you change the variable 285is in a non-selected window. If you change the variable
286@code{mouse-1-click-in-non-selected-windows} to @code{nil}, 286@code{mouse-1-click-in-non-selected-windows} to @code{nil},
287@kbd{Mouse-1} on a button in an unselected window moves point to the 287@kbd{mouse-1} on a button in an unselected window moves point to the
288clicked position and selects that window, without activating the 288clicked position and selects that window, without activating the
289button. 289button.
290 290
@@ -295,21 +295,21 @@ button.
295bring up menus. 295bring up menus.
296 296
297@table @kbd 297@table @kbd
298@item C-Mouse-1 298@item C-mouse-1
299@kindex C-Mouse-1 299@kindex C-mouse-1
300This menu is for selecting a buffer. 300This menu is for selecting a buffer.
301 301
302The MSB (``mouse select buffer'') global minor mode makes this 302The MSB (``mouse select buffer'') global minor mode makes this
303menu smarter and more customizable. @xref{Buffer Menus}. 303menu smarter and more customizable. @xref{Buffer Menus}.
304 304
305@item C-Mouse-2 305@item C-mouse-2
306@kindex C-Mouse-2 306@kindex C-mouse-2
307This menu contains entries for examining faces and other text 307This menu contains entries for examining faces and other text
308properties, and well as for setting them (the latter is mainly useful 308properties, and well as for setting them (the latter is mainly useful
309when editing enriched text; @pxref{Enriched Text}). 309when editing enriched text; @pxref{Enriched Text}).
310 310
311@item C-Mouse-3 311@item C-mouse-3
312@kindex C-Mouse-3 312@kindex C-mouse-3
313This menu is mode-specific. For most modes if Menu-bar mode is on, 313This menu is mode-specific. For most modes if Menu-bar mode is on,
314this menu has the same items as all the mode-specific menu-bar menus 314this menu has the same items as all the mode-specific menu-bar menus
315put together. Some modes may specify a different menu for this 315put together. Some modes may specify a different menu for this
@@ -318,15 +318,15 @@ which would be present in the menu bar---not just the mode-specific
318ones---so that you can access them without having to display the menu 318ones---so that you can access them without having to display the menu
319bar. 319bar.
320 320
321@item S-Mouse-1 321@item S-mouse-1
322This menu is for changing the default face within the window's buffer. 322This menu is for changing the default face within the window's buffer.
323@xref{Text Scale}. 323@xref{Text Scale}.
324@end table 324@end table
325 325
326 Some graphical applications use @kbd{Mouse-3} for a mode-specific 326 Some graphical applications use @kbd{mouse-3} for a mode-specific
327menu. If you prefer @kbd{Mouse-3} in Emacs to bring up such a menu 327menu. If you prefer @kbd{mouse-3} in Emacs to bring up such a menu
328instead of running the @code{mouse-save-then-kill} command, rebind 328instead of running the @code{mouse-save-then-kill} command, rebind
329@kbd{Mouse-3} by adding the following line to your init file 329@kbd{mouse-3} by adding the following line to your init file
330(@pxref{Init Rebinding}): 330(@pxref{Init Rebinding}):
331 331
332@c FIXME: `mouse-popup-menubar-stuff' is obsolete since 23.1. 332@c FIXME: `mouse-popup-menubar-stuff' is obsolete since 23.1.
@@ -349,32 +349,32 @@ the special bindings will be displayed (@pxref{Tooltips}). This
349section's commands do not apply in those areas. 349section's commands do not apply in those areas.
350 350
351@table @kbd 351@table @kbd
352@item Mouse-1 352@item mouse-1
353@kindex Mouse-1 @r{(mode line)} 353@kindex mouse-1 @r{(mode line)}
354@kbd{Mouse-1} on a mode line selects the window it belongs to. By 354@kbd{mouse-1} on a mode line selects the window it belongs to. By
355dragging @kbd{Mouse-1} on the mode line, you can move it, thus 355dragging @kbd{mouse-1} on the mode line, you can move it, thus
356changing the height of the windows above and below. Changing heights 356changing the height of the windows above and below. Changing heights
357with the mouse in this way never deletes windows, it just refuses to 357with the mouse in this way never deletes windows, it just refuses to
358make any window smaller than the minimum height. 358make any window smaller than the minimum height.
359 359
360@item Mouse-2 360@item mouse-2
361@kindex Mouse-2 @r{(mode line)} 361@kindex mouse-2 @r{(mode line)}
362@kbd{Mouse-2} on a mode line expands that window to fill its frame. 362@kbd{mouse-2} on a mode line expands that window to fill its frame.
363 363
364@item Mouse-3 364@item mouse-3
365@kindex Mouse-3 @r{(mode line)} 365@kindex mouse-3 @r{(mode line)}
366@kbd{Mouse-3} on a mode line deletes the window it belongs to. If the 366@kbd{mouse-3} on a mode line deletes the window it belongs to. If the
367frame has only one window, it does nothing. 367frame has only one window, it does nothing.
368 368
369@item C-Mouse-2 369@item C-mouse-2
370@kindex C-mouse-2 @r{(mode line)} 370@kindex C-mouse-2 @r{(mode line)}
371@kbd{C-Mouse-2} on a mode line splits that window, producing two 371@kbd{C-mouse-2} on a mode line splits that window, producing two
372side-by-side windows with the boundary running through the click 372side-by-side windows with the boundary running through the click
373position (@pxref{Split Window}). 373position (@pxref{Split Window}).
374@end table 374@end table
375 375
376@kindex Mouse-1 @r{(scroll bar)} 376@kindex mouse-1 @r{(scroll bar)}
377 Furthermore, by clicking and dragging @kbd{Mouse-1} on the divider 377 Furthermore, by clicking and dragging @kbd{mouse-1} on the divider
378between two side-by-side mode lines, you can move the vertical 378between two side-by-side mode lines, you can move the vertical
379boundary to the left or right. 379boundary to the left or right.
380 380
@@ -919,17 +919,17 @@ those are drawn by the toolkit and not directly by Emacs.
919@cindex Vertical Scroll Bar 919@cindex Vertical Scroll Bar
920 920
921 On graphical displays, there is a @dfn{vertical scroll bar} on the 921 On graphical displays, there is a @dfn{vertical scroll bar} on the
922side of each Emacs window. Clicking @kbd{Mouse-1} on the scroll bar's 922side of each Emacs window. Clicking @kbd{mouse-1} on the scroll bar's
923up and down buttons scrolls the window by one line at a time. Clicking 923up and down buttons scrolls the window by one line at a time. Clicking
924@kbd{Mouse-1} above or below the scroll bar's inner box scrolls the 924@kbd{mouse-1} above or below the scroll bar's inner box scrolls the
925window by nearly the entire height of the window, like @kbd{M-v} and 925window by nearly the entire height of the window, like @kbd{M-v} and
926@kbd{C-v} respectively (@pxref{Moving Point}). Dragging the inner box 926@kbd{C-v} respectively (@pxref{Moving Point}). Dragging the inner box
927scrolls continuously. 927scrolls continuously.
928 928
929 If Emacs is compiled on the X Window System without X toolkit 929 If Emacs is compiled on the X Window System without X toolkit
930support, the scroll bar behaves differently. Clicking @kbd{Mouse-1} 930support, the scroll bar behaves differently. Clicking @kbd{mouse-1}
931anywhere on the scroll bar scrolls forward like @kbd{C-v}, while 931anywhere on the scroll bar scrolls forward like @kbd{C-v}, while
932@kbd{Mouse-3} scrolls backward like @kbd{M-v}. Clicking @kbd{Mouse-2} 932@kbd{mouse-3} scrolls backward like @kbd{M-v}. Clicking @kbd{mouse-2}
933in the scroll bar lets you drag the inner box up and down. 933in the scroll bar lets you drag the inner box up and down.
934 934
935@findex scroll-bar-mode 935@findex scroll-bar-mode
@@ -975,8 +975,8 @@ when the entire buffer is visible.
975@cindex Horizontal Scroll Bar mode 975@cindex Horizontal Scroll Bar mode
976 On graphical displays with toolkit support, Emacs may also supply a 976 On graphical displays with toolkit support, Emacs may also supply a
977@dfn{horizontal scroll bar} on the bottom of each window. Clicking 977@dfn{horizontal scroll bar} on the bottom of each window. Clicking
978@kbd{Mouse-1} on the that scroll bar's left and right buttons scrolls 978@kbd{mouse-1} on the that scroll bar's left and right buttons scrolls
979the window horizontally by one column at a time. Clicking @kbd{Mouse-1} 979the window horizontally by one column at a time. Clicking @kbd{mouse-1}
980on the left or right of the scroll bar's inner box scrolls the window by 980on the left or right of the scroll bar's inner box scrolls the window by
981four columns. Dragging the inner box scrolls the window continuously. 981four columns. Dragging the inner box scrolls the window continuously.
982 982
@@ -1066,11 +1066,11 @@ argument is positive, off if the argument is not positive. To control
1066the use of menu bars at startup, customize the variable 1066the use of menu bars at startup, customize the variable
1067@code{menu-bar-mode}. 1067@code{menu-bar-mode}.
1068 1068
1069@kindex C-Mouse-3 @r{(when menu bar is disabled)} 1069@kindex C-mouse-3 @r{(when menu bar is disabled)}
1070 Expert users often turn off the menu bar, especially on text 1070 Expert users often turn off the menu bar, especially on text
1071terminals, where this makes one additional line available for text. 1071terminals, where this makes one additional line available for text.
1072If the menu bar is off, you can still pop up a menu of its contents 1072If the menu bar is off, you can still pop up a menu of its contents
1073with @kbd{C-Mouse-3} on a display which supports pop-up menus. 1073with @kbd{C-mouse-3} on a display which supports pop-up menus.
1074@xref{Menu Mouse Clicks}. 1074@xref{Menu Mouse Clicks}.
1075 1075
1076 @xref{Menu Bar}, for information on how to invoke commands with the 1076 @xref{Menu Bar}, for information on how to invoke commands with the
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi
index 172d058f857..4b7b7fc6315 100644
--- a/doc/emacs/help.texi
+++ b/doc/emacs/help.texi
@@ -343,7 +343,7 @@ invoke it with. In our example, it would say that you can invoke
343 343
344 For more information about a function definition, variable or symbol 344 For more information about a function definition, variable or symbol
345property listed in an apropos buffer, you can click on it with 345property listed in an apropos buffer, you can click on it with
346@kbd{Mouse-1} or @kbd{Mouse-2}, or move there and type @key{RET}. 346@kbd{mouse-1} or @kbd{mouse-2}, or move there and type @key{RET}.
347 347
348 When you specify more than one word in the apropos pattern, a name 348 When you specify more than one word in the apropos pattern, a name
349must contain at least two of the words in order to match. Thus, if 349must contain at least two of the words in order to match. Thus, if
@@ -404,8 +404,8 @@ Follow a cross reference at point (@code{help-follow}).
404Move point forward to the next hyperlink (@code{forward-button}). 404Move point forward to the next hyperlink (@code{forward-button}).
405@item S-@key{TAB} 405@item S-@key{TAB}
406Move point back to the previous hyperlink (@code{backward-button}). 406Move point back to the previous hyperlink (@code{backward-button}).
407@item Mouse-1 407@item mouse-1
408@itemx Mouse-2 408@itemx mouse-2
409Follow a hyperlink that you click on. 409Follow a hyperlink that you click on.
410@item C-c C-c 410@item C-c C-c
411Show all documentation about the symbol at point 411Show all documentation about the symbol at point
@@ -427,7 +427,7 @@ Go back to the previous help topic (@code{help-go-back}).
427appears in the documentation in the help buffer, it is normally an 427appears in the documentation in the help buffer, it is normally an
428underlined @dfn{hyperlink}. To view the associated documentation, 428underlined @dfn{hyperlink}. To view the associated documentation,
429move point there and type @key{RET} (@code{help-follow}), or click on 429move point there and type @key{RET} (@code{help-follow}), or click on
430the hyperlink with @kbd{Mouse-1} or @kbd{Mouse-2}. Doing so replaces 430the hyperlink with @kbd{mouse-1} or @kbd{mouse-2}. Doing so replaces
431the contents of the help buffer; to retrace your steps, type @kbd{C-c 431the contents of the help buffer; to retrace your steps, type @kbd{C-c
432C-b} (@code{help-go-back}). While retracing your steps, you can go 432C-b} (@code{help-go-back}). While retracing your steps, you can go
433forward by using @kbd{C-c C-b} (@code{help-go-forward}). 433forward by using @kbd{C-c C-b} (@code{help-go-forward}).
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi
index dd3671c95f1..107adb99ec4 100644
--- a/doc/emacs/killing.texi
+++ b/doc/emacs/killing.texi
@@ -587,9 +587,9 @@ you can access it using the following Emacs commands:
587 587
588@table @kbd 588@table @kbd
589@findex mouse-set-secondary 589@findex mouse-set-secondary
590@kindex M-Drag-Mouse-1 590@kindex M-Drag-mouse-1
591@cindex secondary-selection face 591@cindex secondary-selection face
592@item M-Drag-Mouse-1 592@item M-Drag-mouse-1
593Set the secondary selection, with one end at the place where you press 593Set the secondary selection, with one end at the place where you press
594down the button, and the other end at the place where you release it 594down the button, and the other end at the place where you release it
595(@code{mouse-set-secondary}). The selected text is highlighted, using 595(@code{mouse-set-secondary}). The selected text is highlighted, using
@@ -600,31 +600,31 @@ window, just like @code{mouse-set-region} (@pxref{Mouse Commands}).
600This command does not alter the kill ring. 600This command does not alter the kill ring.
601 601
602@findex mouse-start-secondary 602@findex mouse-start-secondary
603@kindex M-Mouse-1 603@kindex M-mouse-1
604@item M-Mouse-1 604@item M-mouse-1
605Set one endpoint for the @dfn{secondary selection} 605Set one endpoint for the @dfn{secondary selection}
606(@code{mouse-start-secondary}). 606(@code{mouse-start-secondary}).
607 607
608@findex mouse-secondary-save-then-kill 608@findex mouse-secondary-save-then-kill
609@kindex M-Mouse-3 609@kindex M-mouse-3
610@item M-Mouse-3 610@item M-mouse-3
611Set the secondary selection, with one end at the position clicked and 611Set the secondary selection, with one end at the position clicked and
612the other at the position specified with @kbd{M-Mouse-1} 612the other at the position specified with @kbd{M-mouse-1}
613(@code{mouse-secondary-save-then-kill}). This also puts the selected 613(@code{mouse-secondary-save-then-kill}). This also puts the selected
614text in the kill ring. A second @kbd{M-Mouse-3} at the same place 614text in the kill ring. A second @kbd{M-mouse-3} at the same place
615kills the secondary selection just made. 615kills the secondary selection just made.
616 616
617@findex mouse-yank-secondary 617@findex mouse-yank-secondary
618@kindex M-Mouse-2 618@kindex M-mouse-2
619@item M-Mouse-2 619@item M-mouse-2
620Insert the secondary selection where you click, placing point at the 620Insert the secondary selection where you click, placing point at the
621end of the yanked text (@code{mouse-yank-secondary}). 621end of the yanked text (@code{mouse-yank-secondary}).
622@end table 622@end table
623 623
624Double or triple clicking of @kbd{M-Mouse-1} operates on words and 624Double or triple clicking of @kbd{M-mouse-1} operates on words and
625lines, much like @kbd{Mouse-1}. 625lines, much like @kbd{mouse-1}.
626 626
627If @code{mouse-yank-at-point} is non-@code{nil}, @kbd{M-Mouse-2} yanks 627If @code{mouse-yank-at-point} is non-@code{nil}, @kbd{M-mouse-2} yanks
628at point. Then it does not matter precisely where you click, or even 628at point. Then it does not matter precisely where you click, or even
629which of the frame's windows you click on. @xref{Mouse Commands}. 629which of the frame's windows you click on. @xref{Mouse Commands}.
630 630
diff --git a/doc/emacs/macos.texi b/doc/emacs/macos.texi
index 71d2e99950c..b0597dc2499 100644
--- a/doc/emacs/macos.texi
+++ b/doc/emacs/macos.texi
@@ -51,9 +51,9 @@ modifier keys; a value to @code{left} means be the same key as
51@code{ns-alternate-modifier}; a value of @code{none} tells Emacs to 51@code{ns-alternate-modifier}; a value of @code{none} tells Emacs to
52ignore them. 52ignore them.
53 53
54 @kbd{S-Mouse-1} adjusts the region to the click position, 54 @kbd{S-mouse-1} adjusts the region to the click position,
55just like @kbd{Mouse-3} (@code{mouse-save-then-kill}); it does not pop 55just like @kbd{mouse-3} (@code{mouse-save-then-kill}); it does not pop
56up a menu for changing the default face, as @kbd{S-Mouse-1} normally 56up a menu for changing the default face, as @kbd{S-mouse-1} normally
57does (@pxref{Text Scale}). This change makes Emacs behave more like 57does (@pxref{Text Scale}). This change makes Emacs behave more like
58other Mac / GNUstep applications. 58other Mac / GNUstep applications.
59 59
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 168f26dee76..1037bd1fdd7 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -432,7 +432,7 @@ to the master repository.
432 432
433 On a graphical display, you can move the mouse over this mode line 433 On a graphical display, you can move the mouse over this mode line
434indicator to pop up a tool-tip, which displays a more verbose 434indicator to pop up a tool-tip, which displays a more verbose
435description of the version control status. Pressing @kbd{Mouse-1} 435description of the version control status. Pressing @kbd{mouse-1}
436over the indicator pops up a menu of VC commands, identical to 436over the indicator pops up a menu of VC commands, identical to
437@samp{Tools / Version Control} on the menu bar. 437@samp{Tools / Version Control} on the menu bar.
438 438
@@ -1335,7 +1335,7 @@ their single-buffer counterparts (@pxref{Search}).
1335@cindex stashes in version control 1335@cindex stashes in version control
1336@cindex shelves in version control 1336@cindex shelves in version control
1337 The above commands are also available via the menu bar, and via a 1337 The above commands are also available via the menu bar, and via a
1338context menu invoked by @kbd{Mouse-2}. Furthermore, some VC backends 1338context menu invoked by @kbd{mouse-2}. Furthermore, some VC backends
1339use the menu to provide extra backend-specific commands. For example, 1339use the menu to provide extra backend-specific commands. For example,
1340Git and Bazaar allow you to manipulate @dfn{stashes} and @dfn{shelves} 1340Git and Bazaar allow you to manipulate @dfn{stashes} and @dfn{shelves}
1341(where are a way to temporarily put aside uncommitted changes, and 1341(where are a way to temporarily put aside uncommitted changes, and
@@ -1813,7 +1813,7 @@ object-oriented language, or if there's a function and a variable by
1813the same name), the command shows the candidate definitions in a 1813the same name), the command shows the candidate definitions in a
1814@file{*xref*} buffer, together with the files in which these 1814@file{*xref*} buffer, together with the files in which these
1815definitions are found. Selecting one of these candidates by typing 1815definitions are found. Selecting one of these candidates by typing
1816@kbd{@key{RET}} or clicking @kbd{Mouse-2} will pop a buffer showing 1816@kbd{@key{RET}} or clicking @kbd{mouse-2} will pop a buffer showing
1817the corresponding definition. 1817the corresponding definition.
1818 1818
1819 When entering the identifier argument to @kbd{M-.}, the usual 1819 When entering the identifier argument to @kbd{M-.}, the usual
@@ -1865,7 +1865,7 @@ the special XREF mode:
1865 1865
1866@table @kbd 1866@table @kbd
1867@item @key{RET} 1867@item @key{RET}
1868@itemx Mouse-2 1868@itemx mouse-2
1869Display the reference on the current line and bury the @file{*xref*} 1869Display the reference on the current line and bury the @file{*xref*}
1870buffer. 1870buffer.
1871@item n 1871@item n
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi
index dd47532e7ed..fdba0a47461 100644
--- a/doc/emacs/mark.texi
+++ b/doc/emacs/mark.texi
@@ -69,9 +69,9 @@ The same.
69@item C-x C-x 69@item C-x C-x
70Set the mark at point, and activate it; then move point where the mark 70Set the mark at point, and activate it; then move point where the mark
71used to be (@code{exchange-point-and-mark}). 71used to be (@code{exchange-point-and-mark}).
72@item Drag-Mouse-1 72@item Drag-mouse-1
73Set point and the mark around the text you drag across. 73Set point and the mark around the text you drag across.
74@item Mouse-3 74@item mouse-3
75Set the mark at point, then move point to where you click 75Set the mark at point, then move point to where you click
76(@code{mouse-save-then-kill}). 76(@code{mouse-save-then-kill}).
77@item @samp{Shifted cursor motion keys} 77@item @samp{Shifted cursor motion keys}
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi
index 6ab716d909a..be4206cb60c 100644
--- a/doc/emacs/mini.texi
+++ b/doc/emacs/mini.texi
@@ -219,7 +219,7 @@ set the variable @code{enable-recursive-minibuffers} to @code{t}.
219 219
220@findex minibuffer-inactive-mode 220@findex minibuffer-inactive-mode
221 When not active, the minibuffer is in @code{minibuffer-inactive-mode}, 221 When not active, the minibuffer is in @code{minibuffer-inactive-mode},
222and clicking @kbd{Mouse-1} there shows the @file{*Messages*} buffer. 222and clicking @kbd{mouse-1} there shows the @file{*Messages*} buffer.
223If you use a dedicated frame for minibuffers, Emacs also recognizes 223If you use a dedicated frame for minibuffers, Emacs also recognizes
224certain keys there, for example @kbd{n} to make a new frame. 224certain keys there, for example @kbd{n} to make a new frame.
225 225
@@ -337,8 +337,8 @@ used with the completion list:
337 337
338@table @kbd 338@table @kbd
339@findex mouse-choose-completion 339@findex mouse-choose-completion
340@item Mouse-1 340@item mouse-1
341@itemx Mouse-2 341@itemx mouse-2
342Clicking mouse button 1 or 2 on a completion alternative chooses it 342Clicking mouse button 1 or 2 on a completion alternative chooses it
343(@code{mouse-choose-completion}). 343(@code{mouse-choose-completion}).
344 344
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 20f2d66c74a..5786bc40709 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -1217,7 +1217,7 @@ submit the copy as input with @key{RET}. If you wish, you can edit
1217the copy before resubmitting it. If you use this command on an output 1217the copy before resubmitting it. If you use this command on an output
1218line, it copies that line to the end of the buffer. 1218line, it copies that line to the end of the buffer.
1219 1219
1220@item Mouse-2 1220@item mouse-2
1221If @code{comint-use-prompt-regexp} is @code{nil} (the default), copy 1221If @code{comint-use-prompt-regexp} is @code{nil} (the default), copy
1222the old input command that you click on, inserting the copy at the end 1222the old input command that you click on, inserting the copy at the end
1223of the buffer (@code{comint-insert-input}). If 1223of the buffer (@code{comint-insert-input}). If
@@ -1226,7 +1226,7 @@ not over old input, just yank as usual.
1226@end table 1226@end table
1227 1227
1228 Moving to a previous input and then copying it with @kbd{C-c 1228 Moving to a previous input and then copying it with @kbd{C-c
1229@key{RET}} or @kbd{Mouse-2} produces the same results---the same 1229@key{RET}} or @kbd{mouse-2} produces the same results---the same
1230buffer contents---that you would get by using @kbd{M-p} enough times 1230buffer contents---that you would get by using @kbd{M-p} enough times
1231to fetch that previous input from the history list. However, @kbd{C-c 1231to fetch that previous input from the history list. However, @kbd{C-c
1232@key{RET}} copies the text from the buffer, which can be different 1232@key{RET}} copies the text from the buffer, which can be different
@@ -2135,7 +2135,7 @@ You can also type @kbd{M-x pr-interface @key{RET}}; this creates a
2135@file{*Printing Interface*} buffer, similar to a customization buffer, 2135@file{*Printing Interface*} buffer, similar to a customization buffer,
2136where you can set the printing options. After selecting what and how 2136where you can set the printing options. After selecting what and how
2137to print, you start the print job using the @samp{Print} button (click 2137to print, you start the print job using the @samp{Print} button (click
2138@kbd{Mouse-2} on it, or move point over it and type @key{RET}). For 2138@kbd{mouse-2} on it, or move point over it and type @key{RET}). For
2139further information on the various options, use the @samp{Interface 2139further information on the various options, use the @samp{Interface
2140Help} button. 2140Help} button.
2141 2141
@@ -2644,8 +2644,8 @@ typing @kbd{M-x goto-address-mode}. When this buffer-local minor mode
2644is enabled, it finds all the URLs in the buffer, highlights them, and 2644is enabled, it finds all the URLs in the buffer, highlights them, and
2645turns them into clickable buttons. You can follow the URL by typing 2645turns them into clickable buttons. You can follow the URL by typing
2646@kbd{C-c @key{RET}} (@code{goto-address-at-point}) while point is on 2646@kbd{C-c @key{RET}} (@code{goto-address-at-point}) while point is on
2647its text; or by clicking with @kbd{Mouse-2}, or by clicking 2647its text; or by clicking with @kbd{mouse-2}, or by clicking
2648@kbd{Mouse-1} quickly (@pxref{Mouse References}). Following a URL is 2648@kbd{mouse-1} quickly (@pxref{Mouse References}). Following a URL is
2649done by calling @code{browse-url} as a subroutine 2649done by calling @code{browse-url} as a subroutine
2650(@pxref{Browse-URL}). 2650(@pxref{Browse-URL}).
2651 2651
@@ -2718,12 +2718,12 @@ point (@code{dired-at-point}).
2718@code{ffap-dired-other-frame}, analogous to @code{dired-other-frame}. 2718@code{ffap-dired-other-frame}, analogous to @code{dired-other-frame}.
2719@item M-x ffap-next 2719@item M-x ffap-next
2720Search buffer for next file name or URL, then find that file or URL. 2720Search buffer for next file name or URL, then find that file or URL.
2721@item S-Mouse-3 2721@item S-mouse-3
2722@kindex S-Mouse-3 @r{(FFAP)} 2722@kindex S-mouse-3 @r{(FFAP)}
2723@code{ffap-at-mouse} finds the file guessed from text around the position 2723@code{ffap-at-mouse} finds the file guessed from text around the position
2724of a mouse click. 2724of a mouse click.
2725@item C-S-Mouse-3 2725@item C-S-mouse-3
2726@kindex C-S-Mouse-3 @r{(FFAP)} 2726@kindex C-S-mouse-3 @r{(FFAP)}
2727Display a menu of files and URLs mentioned in current buffer, then 2727Display a menu of files and URLs mentioned in current buffer, then
2728find the one you select (@code{ffap-menu}). 2728find the one you select (@code{ffap-menu}).
2729@end table 2729@end table
diff --git a/doc/emacs/msdos-xtra.texi b/doc/emacs/msdos-xtra.texi
index 45edd6cb7f9..89c14d23914 100644
--- a/doc/emacs/msdos-xtra.texi
+++ b/doc/emacs/msdos-xtra.texi
@@ -122,8 +122,8 @@ and the menu bar
122(@pxref{Menu Bar}). 122(@pxref{Menu Bar}).
123@end ifnottex 123@end ifnottex
124 Scroll bars don't work in MS-DOS Emacs. PC mice usually have only 124 Scroll bars don't work in MS-DOS Emacs. PC mice usually have only
125two buttons; these act as @kbd{Mouse-1} and @kbd{Mouse-2}, but if you 125two buttons; these act as @kbd{mouse-1} and @kbd{mouse-2}, but if you
126press both of them together, that has the effect of @kbd{Mouse-3}. If 126press both of them together, that has the effect of @kbd{mouse-3}. If
127the mouse does have 3 buttons, Emacs detects that at startup, and all 127the mouse does have 3 buttons, Emacs detects that at startup, and all
128the 3 buttons function normally, as on X. 128the 3 buttons function normally, as on X.
129 129
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index a0b1d626a7b..e735343cc75 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -499,7 +499,7 @@ the alternative. Typing a number selects the associated alternative
499of the current row and uses it as input. 499of the current row and uses it as input.
500 500
501 @key{TAB} in these Chinese input methods displays a buffer showing 501 @key{TAB} in these Chinese input methods displays a buffer showing
502all the possible characters at once; then clicking @kbd{Mouse-2} on 502all the possible characters at once; then clicking @kbd{mouse-2} on
503one of them selects that alternative. The keys @kbd{C-f}, @kbd{C-b}, 503one of them selects that alternative. The keys @kbd{C-f}, @kbd{C-b},
504@kbd{C-n}, @kbd{C-p}, and digits continue to work as usual, but they 504@kbd{C-n}, @kbd{C-p}, and digits continue to work as usual, but they
505do the highlighting in the buffer showing the possible characters, 505do the highlighting in the buffer showing the possible characters,
@@ -1036,7 +1036,7 @@ decoding it using coding system @var{right} instead.
1036the current buffer (i.e., the coding system to use when saving or 1036the current buffer (i.e., the coding system to use when saving or
1037reverting the file). You specify which coding system using the 1037reverting the file). You specify which coding system using the
1038minibuffer. You can also invoke this command by clicking with 1038minibuffer. You can also invoke this command by clicking with
1039@kbd{Mouse-3} on the coding system indicator in the mode line 1039@kbd{mouse-3} on the coding system indicator in the mode line
1040(@pxref{Mode Line}). 1040(@pxref{Mode Line}).
1041 1041
1042 If you specify a coding system that cannot handle all the characters 1042 If you specify a coding system that cannot handle all the characters
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 780e00ca681..0c79d9c3de1 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -1305,7 +1305,7 @@ count as blocks.
1305@kindex C-c @@ C-M-s 1305@kindex C-c @@ C-M-s
1306@kindex C-c @@ C-r 1306@kindex C-c @@ C-r
1307@kindex C-c @@ C-l 1307@kindex C-c @@ C-l
1308@kindex S-Mouse-2 1308@kindex S-mouse-2
1309@table @kbd 1309@table @kbd
1310@item C-c @@ C-h 1310@item C-c @@ C-h
1311Hide the current block (@code{hs-hide-block}). 1311Hide the current block (@code{hs-hide-block}).
@@ -1313,7 +1313,7 @@ Hide the current block (@code{hs-hide-block}).
1313Show the current block (@code{hs-show-block}). 1313Show the current block (@code{hs-show-block}).
1314@item C-c @@ C-c 1314@item C-c @@ C-c
1315Either hide or show the current block (@code{hs-toggle-hiding}). 1315Either hide or show the current block (@code{hs-toggle-hiding}).
1316@item S-Mouse-2 1316@item S-mouse-2
1317Toggle hiding for the block you click on (@code{hs-mouse-toggle-hiding}). 1317Toggle hiding for the block you click on (@code{hs-mouse-toggle-hiding}).
1318@item C-c @@ C-M-h 1318@item C-c @@ C-M-h
1319Hide all top-level blocks (@code{hs-hide-all}). 1319Hide all top-level blocks (@code{hs-hide-all}).
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi
index ef9894d6f26..a8cf5e4a512 100644
--- a/doc/emacs/rmail.texi
+++ b/doc/emacs/rmail.texi
@@ -1252,8 +1252,8 @@ Address mode:
1252@end example 1252@end example
1253 1253
1254@noindent 1254@noindent
1255Then you can browse these URLs by clicking on them with @kbd{Mouse-2} 1255Then you can browse these URLs by clicking on them with @kbd{mouse-2}
1256(or @kbd{Mouse-1} quickly) or by moving to one and typing @kbd{C-c 1256(or @kbd{mouse-1} quickly) or by moving to one and typing @kbd{C-c
1257@key{RET}}. @xref{Goto Address mode, Activating URLs, Activating URLs}. 1257@key{RET}}. @xref{Goto Address mode, Activating URLs, Activating URLs}.
1258 1258
1259@node Rmail Coding 1259@node Rmail Coding
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index 459e8446937..7958a4a2bfa 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -203,10 +203,10 @@ saved in the search ring is specified by the variable
203@cindex incremental search, edit search string 203@cindex incremental search, edit search string
204@cindex interactively edit search string 204@cindex interactively edit search string
205@kindex M-e @r{(Incremental search)} 205@kindex M-e @r{(Incremental search)}
206@kindex Mouse-1 @r{in the minibuffer (Incremental Search)} 206@kindex mouse-1 @r{in the minibuffer (Incremental Search)}
207 To edit the current search string in the minibuffer without 207 To edit the current search string in the minibuffer without
208replacing it with items from the search ring, type @kbd{M-e} or click 208replacing it with items from the search ring, type @kbd{M-e} or click
209@kbd{Mouse-1} in the minibuffer. Type @key{RET}, @kbd{C-s} or 209@kbd{mouse-1} in the minibuffer. Type @key{RET}, @kbd{C-s} or
210@kbd{C-r} to finish editing the string and search for it. Type 210@kbd{C-r} to finish editing the string and search for it. Type
211@kbd{C-f} or @kbd{@key{RIGHT}} to add to the search string characters 211@kbd{C-f} or @kbd{@key{RIGHT}} to add to the search string characters
212following point from the buffer from which you started the search. 212following point from the buffer from which you started the search.
@@ -234,7 +234,7 @@ end of a line, it appends the next line. With a prefix argument
234 234
235@kindex C-y @r{(Incremental search)} 235@kindex C-y @r{(Incremental search)}
236@kindex M-y @r{(Incremental search)} 236@kindex M-y @r{(Incremental search)}
237@kindex Mouse-2 @r{in the minibuffer (Incremental search)} 237@kindex mouse-2 @r{in the minibuffer (Incremental search)}
238@findex isearch-yank-kill 238@findex isearch-yank-kill
239@findex isearch-yank-pop 239@findex isearch-yank-pop
240@findex isearch-yank-x-selection 240@findex isearch-yank-x-selection
@@ -242,7 +242,7 @@ end of a line, it appends the next line. With a prefix argument
242appends the current kill to the search string. @kbd{M-y} 242appends the current kill to the search string. @kbd{M-y}
243(@code{isearch-yank-pop}), if called after @kbd{C-y}, replaces that 243(@code{isearch-yank-pop}), if called after @kbd{C-y}, replaces that
244appended text with an earlier kill, similar to the usual @kbd{M-y} 244appended text with an earlier kill, similar to the usual @kbd{M-y}
245(@code{yank-pop}) command (@pxref{Yanking}). Clicking @kbd{Mouse-2} 245(@code{yank-pop}) command (@pxref{Yanking}). Clicking @kbd{mouse-2}
246in the echo area appends the current X selection (@pxref{Primary 246in the echo area appends the current X selection (@pxref{Primary
247Selection}) to the search string (@code{isearch-yank-x-selection}). 247Selection}) to the search string (@code{isearch-yank-x-selection}).
248 248
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi
index 41abb42fb5d..e19925025d7 100644
--- a/doc/emacs/text.texi
+++ b/doc/emacs/text.texi
@@ -1255,7 +1255,7 @@ C-x} exits two folds and leaves the text and subheadings exposed.
1255folds, and for showing and hiding text: 1255folds, and for showing and hiding text:
1256 1256
1257@table @asis 1257@table @asis
1258@item @kbd{C-M-Mouse-1} zooms in on the heading clicked on 1258@item @kbd{C-M-mouse-1} zooms in on the heading clicked on
1259@itemize @w{} 1259@itemize @w{}
1260@item 1260@item
1261single click: expose body. 1261single click: expose body.
@@ -1266,7 +1266,7 @@ triple click: expose body and subheadings.
1266@item 1266@item
1267quad click: expose entire subtree. 1267quad click: expose entire subtree.
1268@end itemize 1268@end itemize
1269@item @kbd{C-M-Mouse-2} exposes text under the heading clicked on 1269@item @kbd{C-M-mouse-2} exposes text under the heading clicked on
1270@itemize @w{} 1270@itemize @w{}
1271@item 1271@item
1272single click: expose body. 1272single click: expose body.
@@ -1277,7 +1277,7 @@ triple click: expose body and subheadings.
1277@item 1277@item
1278quad click: expose entire subtree. 1278quad click: expose entire subtree.
1279@end itemize 1279@end itemize
1280@item @kbd{C-M-Mouse-3} hides text under the heading clicked on or exits fold 1280@item @kbd{C-M-mouse-3} hides text under the heading clicked on or exits fold
1281@itemize @w{} 1281@itemize @w{}
1282@item 1282@item
1283single click: hide subtree. 1283single click: hide subtree.
@@ -2156,7 +2156,7 @@ want to set the justification style to @code{unfilled}
2156 2156
2157 The easiest way to alter properties is with the @samp{Text 2157 The easiest way to alter properties is with the @samp{Text
2158Properties} menu. You can get to this menu from the @samp{Edit} menu 2158Properties} menu. You can get to this menu from the @samp{Edit} menu
2159in the menu bar (@pxref{Menu Bar}), or with @kbd{C-Mouse-2} 2159in the menu bar (@pxref{Menu Bar}), or with @kbd{C-mouse-2}
2160(@pxref{Menu Mouse Clicks}). Some of the commands in the @samp{Text 2160(@pxref{Menu Mouse Clicks}). Some of the commands in the @samp{Text
2161Properties} menu are listed below (you can also invoke them with 2161Properties} menu are listed below (you can also invoke them with
2162@kbd{M-x}): 2162@kbd{M-x}):
diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi
index 702963f75c5..bb8b68bf5f4 100644
--- a/doc/emacs/windows.texi
+++ b/doc/emacs/windows.texi
@@ -71,7 +71,7 @@ Split the selected window into two windows, one above the other
71@item C-x 3 71@item C-x 3
72Split the selected window into two windows, positioned side by side 72Split the selected window into two windows, positioned side by side
73(@code{split-window-right}). 73(@code{split-window-right}).
74@item C-Mouse-2 74@item C-mouse-2
75In the mode line of a window, split that window. 75In the mode line of a window, split that window.
76@end table 76@end table
77 77
@@ -129,12 +129,12 @@ truncation glyphs, the margins, and the scroll bar.
129 On text terminals, side-by-side windows are separated by a vertical 129 On text terminals, side-by-side windows are separated by a vertical
130divider which is drawn using the @code{vertical-border} face. 130divider which is drawn using the @code{vertical-border} face.
131 131
132@kindex C-Mouse-2 @r{(mode line)} 132@kindex C-mouse-2 @r{(mode line)}
133@kindex C-Mouse-2 @r{(scroll bar)} 133@kindex C-mouse-2 @r{(scroll bar)}
134 If you click @kbd{C-Mouse-2} in the mode line of a window, that 134 If you click @kbd{C-mouse-2} in the mode line of a window, that
135splits the window, putting a vertical divider where you click. 135splits the window, putting a vertical divider where you click.
136Depending on how Emacs is compiled, you can also split a window by 136Depending on how Emacs is compiled, you can also split a window by
137clicking @kbd{C-Mouse-2} in the scroll bar, which puts a horizontal 137clicking @kbd{C-mouse-2} in the scroll bar, which puts a horizontal
138divider where you click (this feature does not work when Emacs uses 138divider where you click (this feature does not work when Emacs uses
139GTK+ scroll bars). 139GTK+ scroll bars).
140 140
@@ -158,8 +158,8 @@ this option is @code{nil}.
158Select another window (@code{other-window}). 158Select another window (@code{other-window}).
159@item C-M-v 159@item C-M-v
160Scroll the next window (@code{scroll-other-window}). 160Scroll the next window (@code{scroll-other-window}).
161@item Mouse-1 161@item mouse-1
162@kbd{Mouse-1}, in the text area of a window, selects the window and 162@kbd{mouse-1}, in the text area of a window, selects the window and
163moves point to the position clicked. Clicking in the mode line 163moves point to the position clicked. Clicking in the mode line
164selects the window without moving point in it. 164selects the window without moving point in it.
165@end table 165@end table
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 3cd1d4edf1c..260778806d4 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -5983,7 +5983,7 @@ A string displayed by the Emacs tool-tip help system; by default,
5983 5983
5984@item follow-link 5984@item follow-link
5985@kindex follow-link @r{(button property)} 5985@kindex follow-link @r{(button property)}
5986The follow-link property, defining how a @key{Mouse-1} click behaves 5986The follow-link property, defining how a @key{mouse-1} click behaves
5987on this button, @xref{Clickable Text}. 5987on this button, @xref{Clickable Text}.
5988 5988
5989@item button 5989@item button
@@ -6170,7 +6170,7 @@ additionally available in the keymap stored in
6170@code{button-buffer-map} as a parent keymap for its keymap. 6170@code{button-buffer-map} as a parent keymap for its keymap.
6171 6171
6172If the button has a non-@code{nil} @code{follow-link} property, and 6172If the button has a non-@code{nil} @code{follow-link} property, and
6173@code{mouse-1-click-follows-link} is set, a quick @key{Mouse-1} click 6173@code{mouse-1-click-follows-link} is set, a quick @key{mouse-1} click
6174will also activate the @code{push-button} command. 6174will also activate the @code{push-button} command.
6175@xref{Clickable Text}. 6175@xref{Clickable Text}.
6176 6176
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 991b47d20b4..0323678b8f2 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -3784,7 +3784,7 @@ properties. For simplicity, we will refer to the clickable text as a
3784 3784
3785 Implementing a link involves three separate steps: (1) indicating 3785 Implementing a link involves three separate steps: (1) indicating
3786clickability when the mouse moves over the link; (2) making @key{RET} 3786clickability when the mouse moves over the link; (2) making @key{RET}
3787or @kbd{Mouse-2} on that link do something; and (3) setting up a 3787or @kbd{mouse-2} on that link do something; and (3) setting up a
3788@code{follow-link} condition so that the link obeys 3788@code{follow-link} condition so that the link obeys
3789@code{mouse-1-click-follows-link}. 3789@code{mouse-1-click-follows-link}.
3790 3790
@@ -3806,10 +3806,10 @@ names are clickable:
3806 help-echo "mouse-2: visit this file in other window"))) 3806 help-echo "mouse-2: visit this file in other window")))
3807@end smallexample 3807@end smallexample
3808 3808
3809 To make the link clickable, bind @key{RET} and @kbd{Mouse-2} to 3809 To make the link clickable, bind @key{RET} and @kbd{mouse-2} to
3810commands that perform the desired action. Each command should check 3810commands that perform the desired action. Each command should check
3811to see whether it was called on a link, and act accordingly. For 3811to see whether it was called on a link, and act accordingly. For
3812instance, Dired's major mode keymap binds @kbd{Mouse-2} to the 3812instance, Dired's major mode keymap binds @kbd{mouse-2} to the
3813following command: 3813following command:
3814 3814
3815@smallexample 3815@smallexample
@@ -3852,12 +3852,12 @@ bind it within the link text, using the @code{keymap} text property
3852@noindent 3852@noindent
3853With this method, you can easily define different commands for 3853With this method, you can easily define different commands for
3854different links. Furthermore, the global definition of @key{RET} and 3854different links. Furthermore, the global definition of @key{RET} and
3855@kbd{Mouse-2} remain available for the rest of the text in the buffer. 3855@kbd{mouse-2} remain available for the rest of the text in the buffer.
3856 3856
3857@vindex mouse-1-click-follows-link 3857@vindex mouse-1-click-follows-link
3858 The basic Emacs command for clicking on links is @kbd{Mouse-2}. 3858 The basic Emacs command for clicking on links is @kbd{mouse-2}.
3859However, for compatibility with other graphical applications, Emacs 3859However, for compatibility with other graphical applications, Emacs
3860also recognizes @kbd{Mouse-1} clicks on links, provided the user 3860also recognizes @kbd{mouse-1} clicks on links, provided the user
3861clicks on the link quickly without moving the mouse. This behavior is 3861clicks on the link quickly without moving the mouse. This behavior is
3862controlled by the user option @code{mouse-1-click-follows-link}. 3862controlled by the user option @code{mouse-1-click-follows-link}.
3863@xref{Mouse References,,, emacs, The GNU Emacs Manual}. 3863@xref{Mouse References,,, emacs, The GNU Emacs Manual}.
@@ -3871,9 +3871,9 @@ mode keymap or a local keymap specified via the @code{keymap} text
3871property). The value of the @code{follow-link} property, or the 3871property). The value of the @code{follow-link} property, or the
3872binding for the @code{follow-link} event, acts as a condition for 3872binding for the @code{follow-link} event, acts as a condition for
3873the link action. This condition tells Emacs two things: the 3873the link action. This condition tells Emacs two things: the
3874circumstances under which a @kbd{Mouse-1} click should be regarded as 3874circumstances under which a @kbd{mouse-1} click should be regarded as
3875occurring inside the link, and how to compute an action code 3875occurring inside the link, and how to compute an action code
3876that says what to translate the @kbd{Mouse-1} click into. The link 3876that says what to translate the @kbd{mouse-1} click into. The link
3877action condition can be one of the following: 3877action condition can be one of the following:
3878 3878
3879@table @asis 3879@table @asis
@@ -3882,7 +3882,7 @@ If the condition is the symbol @code{mouse-face}, a position is inside
3882a link if there is a non-@code{nil} @code{mouse-face} property at that 3882a link if there is a non-@code{nil} @code{mouse-face} property at that
3883position. The action code is always @code{t}. 3883position. The action code is always @code{t}.
3884 3884
3885For example, here is how Info mode handles @key{Mouse-1}: 3885For example, here is how Info mode handles @key{mouse-1}:
3886 3886
3887@smallexample 3887@smallexample
3888(define-key Info-mode-map [follow-link] 'mouse-face) 3888(define-key Info-mode-map [follow-link] 'mouse-face)
@@ -3894,7 +3894,7 @@ is inside a link if @code{(@var{func} @var{pos})} evaluates to
3894non-@code{nil}. The value returned by @var{func} serves as the action 3894non-@code{nil}. The value returned by @var{func} serves as the action
3895code. 3895code.
3896 3896
3897For example, here is how pcvs enables @kbd{Mouse-1} to follow links on 3897For example, here is how pcvs enables @kbd{mouse-1} to follow links on
3898file names only: 3898file names only:
3899 3899
3900@smallexample 3900@smallexample
@@ -3912,27 +3912,27 @@ to the entire buffer).
3912@end table 3912@end table
3913 3913
3914@noindent 3914@noindent
3915The action code tells @kbd{Mouse-1} how to follow the link: 3915The action code tells @kbd{mouse-1} how to follow the link:
3916 3916
3917@table @asis 3917@table @asis
3918@item a string or vector 3918@item a string or vector
3919If the action code is a string or vector, the @kbd{Mouse-1} event is 3919If the action code is a string or vector, the @kbd{mouse-1} event is
3920translated into the first element of the string or vector; i.e., the 3920translated into the first element of the string or vector; i.e., the
3921action of the @kbd{Mouse-1} click is the local or global binding of 3921action of the @kbd{mouse-1} click is the local or global binding of
3922that character or symbol. Thus, if the action code is @code{"foo"}, 3922that character or symbol. Thus, if the action code is @code{"foo"},
3923@kbd{Mouse-1} translates into @kbd{f}. If it is @code{[foo]}, 3923@kbd{mouse-1} translates into @kbd{f}. If it is @code{[foo]},
3924@kbd{Mouse-1} translates into @key{foo}. 3924@kbd{mouse-1} translates into @key{foo}.
3925 3925
3926@item anything else 3926@item anything else
3927For any other non-@code{nil} action code, the @kbd{Mouse-1} event is 3927For any other non-@code{nil} action code, the @kbd{mouse-1} event is
3928translated into a @kbd{Mouse-2} event at the same position. 3928translated into a @kbd{mouse-2} event at the same position.
3929@end table 3929@end table
3930 3930
3931 To define @kbd{Mouse-1} to activate a button defined with 3931 To define @kbd{mouse-1} to activate a button defined with
3932@code{define-button-type}, give the button a @code{follow-link} 3932@code{define-button-type}, give the button a @code{follow-link}
3933property. The property value should be a link action condition, as 3933property. The property value should be a link action condition, as
3934described above. @xref{Buttons}. For example, here is how Help mode 3934described above. @xref{Buttons}. For example, here is how Help mode
3935handles @kbd{Mouse-1}: 3935handles @kbd{mouse-1}:
3936 3936
3937@smallexample 3937@smallexample
3938(define-button-type 'help-xref 3938(define-button-type 'help-xref
@@ -3940,11 +3940,11 @@ handles @kbd{Mouse-1}:
3940 'action #'help-button-action) 3940 'action #'help-button-action)
3941@end smallexample 3941@end smallexample
3942 3942
3943 To define @kbd{Mouse-1} on a widget defined with 3943 To define @kbd{mouse-1} on a widget defined with
3944@code{define-widget}, give the widget a @code{:follow-link} property. 3944@code{define-widget}, give the widget a @code{:follow-link} property.
3945The property value should be a link action condition, as described 3945The property value should be a link action condition, as described
3946above. For example, here is how the @code{link} widget specifies that 3946above. For example, here is how the @code{link} widget specifies that
3947a @key{Mouse-1} click shall be translated to @key{RET}: 3947a @key{mouse-1} click shall be translated to @key{RET}:
3948 3948
3949@smallexample 3949@smallexample
3950(define-widget 'link 'item 3950(define-widget 'link 'item
diff --git a/doc/misc/ebrowse.texi b/doc/misc/ebrowse.texi
index 28fa42b33ef..816cb562555 100644
--- a/doc/misc/ebrowse.texi
+++ b/doc/misc/ebrowse.texi
@@ -421,9 +421,9 @@ regions in the buffer. Please notice the help strings in the echo area
421when the mouse moves over a sensitive region. 421when the mouse moves over a sensitive region.
422 422
423@cindex context menu 423@cindex context menu
424A click with @kbd{Mouse-3} on a mouse-sensitive region opens a context 424A click with @kbd{mouse-3} on a mouse-sensitive region opens a context
425menu. In addition to this, each buffer also has a buffer-specific menu 425menu. In addition to this, each buffer also has a buffer-specific menu
426that is opened with a click with @kbd{Mouse-3} somewhere in the buffer 426that is opened with a click with @kbd{mouse-3} somewhere in the buffer
427where no highlight is displayed. 427where no highlight is displayed.
428 428
429 429
@@ -488,7 +488,7 @@ editing.
488@end table 488@end table
489 489
490The same functionality is available from the menu opened with 490The same functionality is available from the menu opened with
491@kbd{Mouse-3} on the class name. 491@kbd{mouse-3} on the class name.
492 492
493 493
494 494
@@ -551,7 +551,7 @@ Display a list of types.
551@end table 551@end table
552 552
553These lists are also available from the class' context menu invoked with 553These lists are also available from the class' context menu invoked with
554@kbd{Mouse-3} on the class name. 554@kbd{mouse-3} on the class name.
555 555
556 556
557 557
@@ -898,7 +898,7 @@ You can install a hook function to perform actions after a member or
898class declaration or definition has been found, or when it is not found. 898class declaration or definition has been found, or when it is not found.
899 899
900All the commands described above can also be found in the context menu 900All the commands described above can also be found in the context menu
901displayed when clicking @kbd{Mouse-2} on a member name. 901displayed when clicking @kbd{mouse-2} on a member name.
902 902
903 903
904 904
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 1fa46492080..fd4fd4f3798 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -2408,7 +2408,7 @@ error messages, inserts them into a special buffer called
2408the source. Type @kbd{C-x `} to step through the offending lines one by 2408the source. Type @kbd{C-x `} to step through the offending lines one by
2409one (starting with Emacs 22, you can also use @kbd{M-g M-p} and 2409one (starting with Emacs 22, you can also use @kbd{M-g M-p} and
2410@kbd{M-g M-n} to go to the previous and next matches directly). Click 2410@kbd{M-g M-n} to go to the previous and next matches directly). Click
2411@kbd{Mouse-2} or press @key{RET} on a message text in the 2411@kbd{mouse-2} or press @key{RET} on a message text in the
2412@file{*compilation*} buffer to go to the line whose number is mentioned 2412@file{*compilation*} buffer to go to the line whose number is mentioned
2413in that message. 2413in that message.
2414 2414
@@ -3888,7 +3888,7 @@ is how to make @kbd{H-M-RIGHT} move forward a word:
3888Not all modifiers are permitted in all situations. @key{Hyper}, 3888Not all modifiers are permitted in all situations. @key{Hyper},
3889@key{Super}, and @key{Alt} are not available on Unix character 3889@key{Super}, and @key{Alt} are not available on Unix character
3890terminals. Non-@acronym{ASCII} keys and mouse events (e.g., @kbd{C-=} and 3890terminals. Non-@acronym{ASCII} keys and mouse events (e.g., @kbd{C-=} and
3891@kbd{Mouse-1}) also fall under this category. 3891@kbd{mouse-1}) also fall under this category.
3892 3892
3893@end itemize 3893@end itemize
3894 3894
diff --git a/doc/misc/idlwave.texi b/doc/misc/idlwave.texi
index 64b1585c5ce..26c81d65948 100644
--- a/doc/misc/idlwave.texi
+++ b/doc/misc/idlwave.texi
@@ -1281,7 +1281,7 @@ the routine documentation header and/or routine source.
1281@kindex M-? 1281@kindex M-?
1282In any IDL program (or, as with most IDLWAVE commands, in the IDL 1282In any IDL program (or, as with most IDLWAVE commands, in the IDL
1283Shell), press @kbd{M-?} (@code{idlwave-context-help}), or click with 1283Shell), press @kbd{M-?} (@code{idlwave-context-help}), or click with
1284@kbd{S-Mouse-3} to access context sensitive online help. The following 1284@kbd{S-mouse-3} to access context sensitive online help. The following
1285locations are recognized context for help: 1285locations are recognized context for help:
1286 1286
1287@cindex Context, for online help 1287@cindex Context, for online help
@@ -1327,11 +1327,11 @@ which online help can be accessed.
1327@itemize @bullet 1327@itemize @bullet
1328@item 1328@item
1329Online help for routines and keywords can be accessed through the 1329Online help for routines and keywords can be accessed through the
1330Routine Info display. Click with @kbd{Mouse-3} on an item to see the 1330Routine Info display. Click with @kbd{mouse-3} on an item to see the
1331corresponding help (@pxref{Routine Info}). 1331corresponding help (@pxref{Routine Info}).
1332@item 1332@item
1333When using completion and Emacs pops up a @file{*Completions*} buffer 1333When using completion and Emacs pops up a @file{*Completions*} buffer
1334with possible completions, clicking with @kbd{Mouse-3} on a completion 1334with possible completions, clicking with @kbd{mouse-3} on a completion
1335item invokes help on that item (@pxref{Completion}). Items for which 1335item invokes help on that item (@pxref{Completion}). Items for which
1336help is available in the online system documentation (vs. just the 1336help is available in the online system documentation (vs. just the
1337program source itself) will be emphasized (e.g., colored blue). 1337program source itself) will be emphasized (e.g., colored blue).
@@ -1577,7 +1577,7 @@ search for a procedure matching a regexp.
1577If the list of completions is too long to fit in the 1577If the list of completions is too long to fit in the
1578@file{*Completions*} window, the window can be scrolled by pressing 1578@file{*Completions*} window, the window can be scrolled by pressing
1579@kbd{M-@key{TAB}} repeatedly. Online help (if installed) for each 1579@kbd{M-@key{TAB}} repeatedly. Online help (if installed) for each
1580possible completion is available by clicking with @kbd{Mouse-3} on the 1580possible completion is available by clicking with @kbd{mouse-3} on the
1581item. Items for which system online help (from the IDL manual) is 1581item. Items for which system online help (from the IDL manual) is
1582available will be emphasized (e.g., colored blue). For other items, the 1582available will be emphasized (e.g., colored blue). For other items, the
1583corresponding source code or DocLib header will be used as the help 1583corresponding source code or DocLib header will be used as the help
@@ -2811,7 +2811,7 @@ you add or remove some on the command line) using @kbd{C-c C-d C-l}.
2811 2811
2812In recent IDLWAVE versions, the breakpoint line is highlighted when the 2812In recent IDLWAVE versions, the breakpoint line is highlighted when the
2813mouse is moved over it, and a tooltip pops up describing the break 2813mouse is moved over it, and a tooltip pops up describing the break
2814details. @kbd{Mouse-3} on the breakpoint line pops up a menu of 2814details. @kbd{mouse-3} on the breakpoint line pops up a menu of
2815breakpoint actions, including clearing, disabling, and adding or 2815breakpoint actions, including clearing, disabling, and adding or
2816changing break conditions or ``after'' break count. 2816changing break conditions or ``after'' break count.
2817 2817
@@ -3151,7 +3151,7 @@ print, only an initial portion of long arrays will be printed, up to
3151 3151
3152For added speed and convenience, there are mouse bindings which allow 3152For added speed and convenience, there are mouse bindings which allow
3153you to click on expressions and examine their values. Use 3153you to click on expressions and examine their values. Use
3154@kbd{S-Mouse-2} to print an expression and @kbd{C-M-Mouse-2} to invoke 3154@kbd{S-mouse-2} to print an expression and @kbd{C-M-mouse-2} to invoke
3155help (i.e., you need to hold down @key{META} and @key{CONTROL} while 3155help (i.e., you need to hold down @key{META} and @key{CONTROL} while
3156clicking with the middle mouse button). If you simply click, the 3156clicking with the middle mouse button). If you simply click, the
3157nearest expression will be selected in the same manner as described 3157nearest expression will be selected in the same manner as described
@@ -3219,7 +3219,7 @@ mouse examine command, and two macros for generating your own examine
3219key and mouse bindings. 3219key and mouse bindings.
3220 3220
3221The most powerful and flexible mouse examine command of all is 3221The most powerful and flexible mouse examine command of all is
3222available on @kbd{C-S-Mouse-2}. Just as for all the other mouse 3222available on @kbd{C-S-mouse-2}. Just as for all the other mouse
3223examine commands, it permits click or drag expression selection, but 3223examine commands, it permits click or drag expression selection, but
3224instead of sending hard-coded commands to the shell, it pops-up a 3224instead of sending hard-coded commands to the shell, it pops-up a
3225customizable selection list of examine functions to choose among, 3225customizable selection list of examine functions to choose among,
diff --git a/doc/misc/info.texi b/doc/misc/info.texi
index 135c443c075..0a8100fec46 100644
--- a/doc/misc/info.texi
+++ b/doc/misc/info.texi
@@ -671,7 +671,7 @@ the @key{Shift} key and then press @key{TAB}).
671that subtopic's node. 671that subtopic's node.
672 672
673@cindex mouse support in Info mode 673@cindex mouse support in Info mode
674@kindex Mouse-2 @r{(Info mode)} 674@kindex mouse-2 @r{(Info mode)}
675 If your terminal supports a mouse, you have yet another way of going 675 If your terminal supports a mouse, you have yet another way of going
676to a subtopic. Move your mouse pointer to the subtopic line, 676to a subtopic. Move your mouse pointer to the subtopic line,
677somewhere between the beginning @samp{*} and the colon @samp{:} which 677somewhere between the beginning @samp{*} and the colon @samp{:} which
@@ -679,22 +679,22 @@ ends the subtopic's brief name. You will see the subtopic's name
679change its appearance (usually, its background color will change), and 679change its appearance (usually, its background color will change), and
680the shape of the mouse pointer will change if your platform supports 680the shape of the mouse pointer will change if your platform supports
681that. After a while, if you leave the mouse on that spot, a small 681that. After a while, if you leave the mouse on that spot, a small
682window will pop up, saying ``Mouse-2: go to that node,'' or the same 682window will pop up, saying ``mouse-2: go to that node,'' or the same
683message may appear at the bottom of the screen. 683message may appear at the bottom of the screen.
684 684
685 @kbd{Mouse-2} is the second button of your mouse counting from the 685 @kbd{mouse-2} is the second button of your mouse counting from the
686left---the middle button on a 3-button mouse. (On a 2-button mouse, 686left---the middle button on a 3-button mouse. (On a 2-button mouse,
687you may have to press both buttons together to ``press the middle 687you may have to press both buttons together to ``press the middle
688button''.) The message tells you pressing @kbd{Mouse-2} with the 688button''.) The message tells you pressing @kbd{mouse-2} with the
689current position of the mouse pointer (on subtopic in the menu) will 689current position of the mouse pointer (on subtopic in the menu) will
690go to that subtopic. 690go to that subtopic.
691 691
692@findex Info-mouse-follow-nearest-node 692@findex Info-mouse-follow-nearest-node
693 More generally, @kbd{Mouse-2} in an Info buffer finds the nearest 693 More generally, @kbd{mouse-2} in an Info buffer finds the nearest
694link to another node and goes there. For example, near a cross 694link to another node and goes there. For example, near a cross
695reference it acts like @kbd{f}, in a menu it acts like @kbd{m}, on the 695reference it acts like @kbd{f}, in a menu it acts like @kbd{m}, on the
696node's header line it acts like @kbd{n}, @kbd{p}, or @kbd{u}, etc. At 696node's header line it acts like @kbd{n}, @kbd{p}, or @kbd{u}, etc. At
697end of the node's text @kbd{Mouse-2} moves to the next node, or up if 697end of the node's text @kbd{mouse-2} moves to the next node, or up if
698there's no next node. 698there's no next node.
699 699
700@format 700@format
@@ -719,7 +719,7 @@ to the subnode that the @kbd{u} command brought you from. (Some Info
719readers may put you at the @emph{front} of the node instead---to get 719readers may put you at the @emph{front} of the node instead---to get
720back to where you were reading, you have to type some @key{SPC}s.) 720back to where you were reading, you have to type some @key{SPC}s.)
721 721
722 Another way to go Up is to click @kbd{Mouse-2} on the @samp{Up} 722 Another way to go Up is to click @kbd{mouse-2} on the @samp{Up}
723pointer shown in the header line (provided that you have a mouse). 723pointer shown in the header line (provided that you have a mouse).
724 724
725@format 725@format
@@ -740,7 +740,7 @@ in Emacs. Do @kbd{M-x visible-mode} to show or hide it.)
740@findex Info-follow-reference 740@findex Info-follow-reference
741 You can follow a cross reference by moving the cursor to it and 741 You can follow a cross reference by moving the cursor to it and
742press @key{RET}, just as in a menu. In Emacs, you can also click 742press @key{RET}, just as in a menu. In Emacs, you can also click
743@kbd{Mouse-1} on a cross reference to follow it; you can see that the 743@kbd{mouse-1} on a cross reference to follow it; you can see that the
744cross reference is mouse-sensitive by moving the mouse pointer to the 744cross reference is mouse-sensitive by moving the mouse pointer to the
745reference and watching how the underlying text and the mouse pointer 745reference and watching how the underlying text and the mouse pointer
746change in response. 746change in response.
diff --git a/doc/misc/mh-e.texi b/doc/misc/mh-e.texi
index d1fd8f76118..c48e4a40ea9 100644
--- a/doc/misc/mh-e.texi
+++ b/doc/misc/mh-e.texi
@@ -1566,7 +1566,7 @@ M-x mh-rmail @key{RET} bob @key{RET}}). @xref{Folders}.}.
1566@findex display-time 1566@findex display-time
1567@vindex read-mail-command 1567@vindex read-mail-command
1568 1568
1569There are some commands that need to read mail, such as @kbd{Mouse-2} 1569There are some commands that need to read mail, such as @kbd{mouse-2}
1570over the @samp{Mail} button that @code{display-time} adds to the mode 1570over the @samp{Mail} button that @code{display-time} adds to the mode
1571line. You can configure Emacs to have these commands use MH-E by 1571line. You can configure Emacs to have these commands use MH-E by
1572setting the option @code{read-mail-command} to @samp{mh-rmail}. 1572setting the option @code{read-mail-command} to @samp{mh-rmail}.
@@ -1835,9 +1835,9 @@ minibuffer (@code{mh-prefix-help}).
1835Unpack message created with @command{uudecode} or @command{shar} 1835Unpack message created with @command{uudecode} or @command{shar}
1836(@code{mh-store-msg}). 1836(@code{mh-store-msg}).
1837@c ------------------------- 1837@c -------------------------
1838@kindex Mouse-2 1838@kindex mouse-2
1839@findex mh-show-mouse 1839@findex mh-show-mouse
1840@item Mouse-2 1840@item mouse-2
1841Move point to mouse event and show message (@code{mh-show-mouse}). 1841Move point to mouse event and show message (@code{mh-show-mouse}).
1842@end table 1842@end table
1843 1843
@@ -1845,12 +1845,12 @@ Within the MH-Show buffer, the following command is defined.
1845 1845
1846@table @kbd 1846@table @kbd
1847@kindex @key{RET} 1847@kindex @key{RET}
1848@kindex Mouse-1 1848@kindex mouse-1
1849@kindex Mouse-2 1849@kindex mouse-2
1850@findex mh-press-button 1850@findex mh-press-button
1851@item @key{RET} 1851@item @key{RET}
1852@itemx Mouse-1 1852@itemx mouse-1
1853@itemx Mouse-2 1853@itemx mouse-2
1854View contents of button (@code{mh-press-button}). 1854View contents of button (@code{mh-press-button}).
1855@end table 1855@end table
1856 1856
@@ -2022,10 +2022,10 @@ detail in the following sections.
2022@kindex @key{BS} 2022@kindex @key{BS}
2023@kindex @key{RET} 2023@kindex @key{RET}
2024@kindex @key{SPC} 2024@kindex @key{SPC}
2025@kindex Mouse-2 2025@kindex mouse-2
2026 2026
2027The command @key{RET} (@code{mh-show}) displays the message that the 2027The command @key{RET} (@code{mh-show}) displays the message that the
2028cursor is on while @kbd{Mouse-2} (@code{mh-show-mouse}) displays the 2028cursor is on while @kbd{mouse-2} (@code{mh-show-mouse}) displays the
2029message that the mouse cursor is on. If the message is already 2029message that the mouse cursor is on. If the message is already
2030displayed, it scrolls to the beginning of the message. Use @key{SPC} 2030displayed, it scrolls to the beginning of the message. Use @key{SPC}
2031(@code{mh-page-msg}) and @key{BS} (@code{mh-previous-page}) to move 2031(@code{mh-page-msg}) and @key{BS} (@code{mh-previous-page}) to move
@@ -2201,13 +2201,13 @@ highlighting of citations entirely, choose @samp{None}.
2201@cindex links, following 2201@cindex links, following
2202@findex goto-address-at-point 2202@findex goto-address-at-point
2203@kindex C-c @key{RET} 2203@kindex C-c @key{RET}
2204@kindex Mouse-2 2204@kindex mouse-2
2205@vindex goto-address-highlight-p 2205@vindex goto-address-highlight-p
2206 2206
2207Email addresses and URLs in the message are highlighted if the option 2207Email addresses and URLs in the message are highlighted if the option
2208@code{goto-address-highlight-p} is on, which it is by default. To view 2208@code{goto-address-highlight-p} is on, which it is by default. To view
2209the web page for a highlighted URL or to send a message using a 2209the web page for a highlighted URL or to send a message using a
2210highlighted email address, use @kbd{Mouse-2} or @kbd{C-c @key{RET}} 2210highlighted email address, use @kbd{mouse-2} or @kbd{C-c @key{RET}}
2211(@code{goto-address-at-point}). @xref{Sending Mail}, to see how to 2211(@code{goto-address-at-point}). @xref{Sending Mail}, to see how to
2212configure Emacs to send the message using MH-E. 2212configure Emacs to send the message using MH-E.
2213 2213
@@ -2337,11 +2337,11 @@ Attachments in MH-E are indicated by @dfn{buttons} like this:
2337@kindex @key{RET} 2337@kindex @key{RET}
2338@kindex K @key{TAB} 2338@kindex K @key{TAB}
2339@kindex K S-@key{TAB} 2339@kindex K S-@key{TAB}
2340@kindex Mouse-1 2340@kindex mouse-1
2341@kindex Mouse-2 2341@kindex mouse-2
2342 2342
2343To view the contents of the button, use either @kbd{Mouse-1} or 2343To view the contents of the button, use either @kbd{mouse-1} or
2344@kbd{Mouse-2} on the button or @key{RET} (@code{mh-press-button}) when 2344@kbd{mouse-2} on the button or @key{RET} (@code{mh-press-button}) when
2345the cursor is over the button. This command is a toggle so if you use 2345the cursor is over the button. This command is a toggle so if you use
2346it again on the same attachment, it is hidden. If Emacs does not know 2346it again on the same attachment, it is hidden. If Emacs does not know
2347how to display the attachment, then Emacs offers to save the 2347how to display the attachment, then Emacs offers to save the
@@ -2561,11 +2561,11 @@ includes the results of a quick poll of MH-E users from 2005-12-23.
2561@table @asis 2561@table @asis
2562@cindex browser, @samp{w3m} 2562@cindex browser, @samp{w3m}
2563@cindex @samp{w3m} 2563@cindex @samp{w3m}
2564@kindex Mouse-2 2564@kindex mouse-2
2565@item @samp{w3m} 7 2565@item @samp{w3m} 7
2566The @samp{w3m} browser requires an external program. It's quick, 2566The @samp{w3m} browser requires an external program. It's quick,
2567produces pretty nice output, and best of all, it's the only browser 2567produces pretty nice output, and best of all, it's the only browser
2568that highlights links. These can be clicked with @kbd{Mouse-2} to view 2568that highlights links. These can be clicked with @kbd{mouse-2} to view
2569the content of the link in @samp{w3m}. The @samp{w3m} browser handles 2569the content of the link in @samp{w3m}. The @samp{w3m} browser handles
2570tables well and actually respects the table's width parameter (which 2570tables well and actually respects the table's width parameter (which
2571can cause text to wrap if the author didn't anticipate that the page 2571can cause text to wrap if the author didn't anticipate that the page
@@ -2650,7 +2650,7 @@ documentation for the Gnus command @kbd{W h} (see section
2650@cindex @file{.emacs} 2650@cindex @file{.emacs}
2651@cindex files, @file{.emacs} 2651@cindex files, @file{.emacs}
2652@findex browse-url-at-mouse 2652@findex browse-url-at-mouse
2653@kindex S-Mouse-2 2653@kindex S-mouse-2
2654 2654
2655A useful key binding that you can add to @file{~/.emacs} is the 2655A useful key binding that you can add to @file{~/.emacs} is the
2656following which displays an HTML link or textual URL in an external 2656following which displays an HTML link or textual URL in an external
@@ -6261,7 +6261,7 @@ containing the value for the field is given.
6261@findex mh-visit-folder 6261@findex mh-visit-folder
6262@kindex F v 6262@kindex F v
6263@kindex M-x speedbar 6263@kindex M-x speedbar
6264@kindex Mouse-2 6264@kindex mouse-2
6265 6265
6266You can also use the speedbar 6266You can also use the speedbar
6267@ifnothtml 6267@ifnothtml
@@ -6275,7 +6275,7 @@ Speedbar Frames} in @cite{The GNU Emacs Manual})
6275to view your folders. To bring up the speedbar, run @kbd{M-x speedbar 6275to view your folders. To bring up the speedbar, run @kbd{M-x speedbar
6276@key{RET}}. You will see a new frame appear with all of your MH 6276@key{RET}}. You will see a new frame appear with all of your MH
6277folders. Folders with unseen messages appear in boldface. Click on a 6277folders. Folders with unseen messages appear in boldface. Click on a
6278folder name with @kbd{Mouse-2} to visit that folder in a similar 6278folder name with @kbd{mouse-2} to visit that folder in a similar
6279fashion to the command @kbd{F v} (@code{mh-visit-folder}) 6279fashion to the command @kbd{F v} (@code{mh-visit-folder})
6280(@pxref{Folders}). Click on the @samp{+} icon to expand and view the 6280(@pxref{Folders}). Click on the @samp{+} icon to expand and view the
6281sub-folders of that folder. 6281sub-folders of that folder.
@@ -6310,9 +6310,9 @@ count before the next automatic update (@code{mh-speed-refresh}).
6310 6310
6311@findex delete-frame 6311@findex delete-frame
6312@kindex C-x 5 0 6312@kindex C-x 5 0
6313@kindex Mouse-3 6313@kindex mouse-3
6314 6314
6315You can click on @kbd{Mouse-3} to bring up a context menu that 6315You can click on @kbd{mouse-3} to bring up a context menu that
6316contains these items. Dismiss the speedbar with @kbd{C-x 5 0} 6316contains these items. Dismiss the speedbar with @kbd{C-x 5 0}
6317(@code{delete-frame}). 6317(@code{delete-frame}).
6318 6318
diff --git a/doc/misc/sem-user.texi b/doc/misc/sem-user.texi
index f11e0b83fa1..a8684a40b3a 100644
--- a/doc/misc/sem-user.texi
+++ b/doc/misc/sem-user.texi
@@ -1173,7 +1173,7 @@ the declaration line of the function or tag on the topmost line in the
1173text area. This allows you to keep that declaration line in view at 1173text area. This allows you to keep that declaration line in view at
1174all times, even if it is scrolls off the ``top'' of the screen. 1174all times, even if it is scrolls off the ``top'' of the screen.
1175 1175
1176In addition, clicking @kbd{Mouse-1} on the header line opens a context 1176In addition, clicking @kbd{mouse-1} on the header line opens a context
1177menu that contains menu items for copying, killing, or narrowing to 1177menu that contains menu items for copying, killing, or narrowing to
1178that tag. 1178that tag.
1179 1179
@@ -1199,7 +1199,7 @@ Semantic Highlight Function minor mode highlights the declaration line
1199of the current function or tag (that is to say, the first line that 1199of the current function or tag (that is to say, the first line that
1200describes the rest of the construct). 1200describes the rest of the construct).
1201 1201
1202In addition, clicking @kbd{Mouse-3} on the highlighted declaration 1202In addition, clicking @kbd{mouse-3} on the highlighted declaration
1203line opens a context menu that contains menu items for copying, 1203line opens a context menu that contains menu items for copying,
1204killing, or narrowing to that tag. 1204killing, or narrowing to that tag.
1205 1205
diff --git a/doc/misc/speedbar.texi b/doc/misc/speedbar.texi
index 377e412bb30..d43c521f76a 100644
--- a/doc/misc/speedbar.texi
+++ b/doc/misc/speedbar.texi
@@ -62,7 +62,7 @@ authors of other packages to provide speedbar summaries customized to
62the needs of that mode. 62the needs of that mode.
63 63
64Throughout this manual, activities are defined as ``clicking on'', or 64Throughout this manual, activities are defined as ``clicking on'', or
65``expanding'' items. Clicking means using @kbd{Mouse-2} on a 65``expanding'' items. Clicking means using @kbd{mouse-2} on a
66button. Expanding refers to clicking on an expansion button to display 66button. Expanding refers to clicking on an expansion button to display
67an expanded summary of the entry the expansion button is 67an expanded summary of the entry the expansion button is
68on. @xref{Basic Navigation}. 68on. @xref{Basic Navigation}.
@@ -316,29 +316,29 @@ with the mouse, or affected by the menu.
316The mouse bindings are: 316The mouse bindings are:
317 317
318@table @kbd 318@table @kbd
319@item Mouse-1 319@item mouse-1
320Move cursor to that location. 320Move cursor to that location.
321@item Mouse-2 321@item mouse-2
322@itemx Double-Mouse-1 322@itemx Double-mouse-1
323Activate the current button. @kbd{Double-Mouse-1} is called a @dfn{double 323Activate the current button. @kbd{Double-mouse-1} is called a @dfn{double
324click} on other platforms, and is useful for windows users with two 324click} on other platforms, and is useful for windows users with two
325button mice. 325button mice.
326@c Isn't it true that with two-button mice, the right button is Mouse-2? 326@c Isn't it true that with two-button mice, the right button is mouse-2?
327@c On GNU/Linux, the right button is Mouse-3. 327@c On GNU/Linux, the right button is mouse-3.
328@item S-Mouse-2 328@item S-mouse-2
329@itemx S-Double-Mouse-1 329@itemx S-Double-mouse-1
330@cindex power click 330@cindex power click
331This has the same effect as @kbd{Mouse-2}, except it is called a power 331This has the same effect as @kbd{mouse-2}, except it is called a power
332click. This means that if a group with an expansion button @samp{+} is 332click. This means that if a group with an expansion button @samp{+} is
333clicked, any caches are flushed, and subitems re-read. If it is a name, 333clicked, any caches are flushed, and subitems re-read. If it is a name,
334it will be opened in a new frame. 334it will be opened in a new frame.
335@item Mouse-3 335@item mouse-3
336Activate the speedbar menu. The item selected affects the line clicked, 336Activate the speedbar menu. The item selected affects the line clicked,
337not the line where the cursor was. 337not the line where the cursor was.
338@item Mouse-1 @r{(mode line)} 338@item mouse-1 @r{(mode line)}
339Activate the menu. This affects the item the cursor is on before the 339Activate the menu. This affects the item the cursor is on before the
340click, since the mouse was not clicked on anything. 340click, since the mouse was not clicked on anything.
341@item C-Mouse-1 341@item C-mouse-1
342Buffers sub-menu. The buffer in the attached frame is switched. 342Buffers sub-menu. The buffer in the attached frame is switched.
343@end table 343@end table
344 344
@@ -355,7 +355,7 @@ You can display different data by using different display modes. These
355specialized modes make it easier to navigate the relevant pieces of 355specialized modes make it easier to navigate the relevant pieces of
356information, such as files and directories, or buffers. 356information, such as files and directories, or buffers.
357 357
358In the main menu, found by clicking @kbd{Mouse-3}, there is a submenu 358In the main menu, found by clicking @kbd{mouse-3}, there is a submenu
359labeled @samp{Displays}. This submenu lets you easily choose between 359labeled @samp{Displays}. This submenu lets you easily choose between
360different display modes. 360different display modes.
361 361
diff --git a/doc/misc/viper.texi b/doc/misc/viper.texi
index 3f81f67beb4..6b169f3c8e6 100644
--- a/doc/misc/viper.texi
+++ b/doc/misc/viper.texi
@@ -2591,7 +2591,7 @@ occurrence of the pattern to search for.
2591 2591
2592Note: while loading initially, Viper binds this mouse action only if it is 2592Note: while loading initially, Viper binds this mouse action only if it is
2593not already bound to something else. If you want to use the mouse-search 2593not already bound to something else. If you want to use the mouse-search
2594feature, and the @kbd{Meta-Shift-Mouse-1} mouse action is already bound to 2594feature, and the @kbd{Meta-Shift-mouse-1} mouse action is already bound to
2595something else, you can rebind the mouse-search feature by setting 2595something else, you can rebind the mouse-search feature by setting
2596@code{viper-mouse-search-key} to something else in 2596@code{viper-mouse-search-key} to something else in
2597your Viper customization file: 2597your Viper customization file:
@@ -2669,8 +2669,8 @@ purpose of mouse search and mouse insert. By default, this is set to
2669@code{double-click-time} in Emacs and to 2669@code{double-click-time} in Emacs and to
2670@code{mouse-track-multi-click-time} milliseconds in XEmacs. 2670@code{mouse-track-multi-click-time} milliseconds in XEmacs.
2671@end table 2671@end table
2672@kindex @kbd{S-Mouse-1} 2672@kindex @kbd{S-mouse-1}
2673@kindex @kbd{S-Mouse-2} 2673@kindex @kbd{S-mouse-2}
2674@kindex @kbd{meta shift button1up} 2674@kindex @kbd{meta shift button1up}
2675@kindex @kbd{meta shift button2up} 2675@kindex @kbd{meta shift button2up}
2676@vindex @code{viper-multiclick-timeout} 2676@vindex @code{viper-multiclick-timeout}
@@ -4428,7 +4428,7 @@ The following two mouse actions are normally bound to special search and
4428insert commands in of Viper: 4428insert commands in of Viper:
4429 4429
4430@table @kbd 4430@table @kbd
4431@item S-Mouse-1 4431@item S-mouse-1
4432Holding Shift and clicking mouse button 1 will 4432Holding Shift and clicking mouse button 1 will
4433initiate search for 4433initiate search for
4434a region under the mouse pointer. 4434a region under the mouse pointer.
@@ -4437,7 +4437,7 @@ binding only if this mouse action is not
4437already bound to something else. 4437already bound to something else.
4438@xref{Viper Specials}, for more information. 4438@xref{Viper Specials}, for more information.
4439 4439
4440@item S-Mouse-2 4440@item S-mouse-2
4441Holding Shift and clicking button 2 of the mouse will 4441Holding Shift and clicking button 2 of the mouse will
4442insert a region surrounding the mouse pointer. 4442insert a region surrounding the mouse pointer.
4443This command can also take a prefix argument. 4443This command can also take a prefix argument.
@@ -4445,8 +4445,8 @@ Note: Viper sets this binding only if this mouse action is not
4445already bound to something else. 4445already bound to something else.
4446@xref{Viper Specials}, for more details. 4446@xref{Viper Specials}, for more details.
4447@end table 4447@end table
4448@kindex @kbd{S-Mouse-1} 4448@kindex @kbd{S-mouse-1}
4449@kindex @kbd{S-Mouse-2} 4449@kindex @kbd{S-mouse-2}
4450@kindex @kbd{meta button1up} 4450@kindex @kbd{meta button1up}
4451@kindex @kbd{meta button2up} 4451@kindex @kbd{meta button2up}
4452 4452
diff --git a/doc/misc/widget.texi b/doc/misc/widget.texi
index 49606ed9692..953bcae3ef2 100644
--- a/doc/misc/widget.texi
+++ b/doc/misc/widget.texi
@@ -243,8 +243,8 @@ If point is not located on a button, invoke the binding in
243@code{widget-global-map} (by default the global map). 243@code{widget-global-map} (by default the global map).
244@end deffn 244@end deffn
245 245
246@kindex Mouse-2 @r{(on button widgets}) 246@kindex mouse-2 @r{(on button widgets})
247@item Mouse-2 247@item mouse-2
248@deffn Command widget-button-click @var{event} 248@deffn Command widget-button-click @var{event}
249Invoke the button at the location of the mouse pointer. If the mouse 249Invoke the button at the location of the mouse pointer. If the mouse
250pointer is located in an editable text field, invoke the binding in 250pointer is located in an editable text field, invoke the binding in
@@ -456,7 +456,7 @@ There is a standard widget keymap which you might find useful.
456@findex widget-button-click 456@findex widget-button-click
457@defvr Const widget-keymap 457@defvr Const widget-keymap
458@key{TAB} and @kbd{C-@key{TAB}} are bound to @code{widget-forward} and 458@key{TAB} and @kbd{C-@key{TAB}} are bound to @code{widget-forward} and
459@code{widget-backward}, respectively. @key{RET} and @kbd{Mouse-2} 459@code{widget-backward}, respectively. @key{RET} and @kbd{mouse-2}
460are bound to @code{widget-button-press} and 460are bound to @code{widget-button-press} and
461@code{widget-button-click}. 461@code{widget-button-click}.
462@end defvr 462@end defvr
diff --git a/doc/misc/woman.texi b/doc/misc/woman.texi
index 59320d23684..f1fbba6151b 100644
--- a/doc/misc/woman.texi
+++ b/doc/misc/woman.texi
@@ -671,19 +671,19 @@ to other man pages. If these man pages are installed then WoMan can
671easily be directed to follow the reference, i.e., to find and format the 671easily be directed to follow the reference, i.e., to find and format the
672man page. When the mouse is passed over a correctly formatted reference 672man page. When the mouse is passed over a correctly formatted reference
673it is highlighted, in which case clicking the middle button 673it is highlighted, in which case clicking the middle button
674@kbd{Mouse-2} will cause WoMan to follow the reference. Alternatively, 674@kbd{mouse-2} will cause WoMan to follow the reference. Alternatively,
675when point is over such a reference the key @key{RET} will follow the 675when point is over such a reference the key @key{RET} will follow the
676reference. 676reference.
677 677
678Any word in the buffer can be used as a reference by clicking 678Any word in the buffer can be used as a reference by clicking
679@kbd{Mouse-2} over it provided the Meta key is also used (although in 679@kbd{mouse-2} over it provided the Meta key is also used (although in
680general such a ``reference'' will not lead to a man page). 680general such a ``reference'' will not lead to a man page).
681Alternatively, the key @kbd{r} allows completion to be used to select a 681Alternatively, the key @kbd{r} allows completion to be used to select a
682reference to follow, based on the word at point as default. 682reference to follow, based on the word at point as default.
683 683
684@table @kbd 684@table @kbd
685@item @kbd{Mouse-2} 685@item @kbd{mouse-2}
686@kindex Mouse-2 686@kindex mouse-2
687@findex woman-mouse-2 687@findex woman-mouse-2
688Run WoMan with word under mouse as topic (@code{woman-mouse-2}). The 688Run WoMan with word under mouse as topic (@code{woman-mouse-2}). The
689word must be mouse-highlighted unless @code{woman-mouse-2} is used with 689word must be mouse-highlighted unless @code{woman-mouse-2} is used with