Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Juanma Barranquero
5e38cdab45
(mouse-major-mode-menu, mouse-popup-menubar, mouse-popup-menubar-stuff):
...
Add WHEN to obsolescence declaration.
2008-04-18 10:30:18 +00:00
Stefan Monnier
0b2b62ff6d
* mouse.el (mouse-menu-major-mode-map): New fun extracted from
...
mouse-major-mode-menu.
(mouse-menu-bar-map): New fun extracted from mouse-popup-menubar.
(mouse-major-mode-menu, mouse-popup-menubar)
(mouse-popup-menubar-stuff): Use them.
(C-down-mouse-3): Bind to a dynamic map rather than to
mouse-popup-menubar-stuff.
* bindings.el (mode-line-major-mode-keymap): Bind down-mouse-1
to mouse-menu-major-mode-map rather than to mouse-major-mode-menu.
2008-04-09 03:53:48 +00:00
Stefan Monnier
00f7c5edc6
* subr.el (keymap-canonicalize): New function.
...
* mouse.el (mouse-menu-non-singleton): Use it.
(mouse-major-mode-menu): Remove hack made unnecessary.
* keymap.c (Qkeymap_canonicalize): New var.
(Fmap_keymap_internal): New fun.
(describe_map): Use keymap-canonicalize.
2008-04-04 17:31:20 +00:00
Chong Yidong
688468a012
(mouse-set-region-1): Save the old value of transient-mark-mode.
...
(mouse-drag-track): Ignore the now-obsolete value `identity' for
transient-mark-mode.
2008-04-02 20:16:33 +00:00
Stefan Monnier
ad0d18af63
(mouse-major-mode-menu-prefix): Remove. Remove uses.
...
(mouse-menu-non-singleton): Rename from mouse-major-mode-menu-1.
Use map-keymap.
(minor-mode-menu-from-indicator): Use it. Simplify.
2008-04-01 08:35:58 +00:00
Dan Nicolaescu
fb1a03c9f5
* mouse.el (minor-mode-menu-from-indicator): Create a menu with a
...
"Turn off" and a "Help" entry when the minor mode has no menu.
2008-02-21 09:15:32 +00:00
Glenn Morris
d2b532fe1c
Chris Moore <christopher.ian.moore at gmail.com>
...
(x-fixed-font-alist): Use consistent capitalization for "Font Menu".
2008-02-07 06:20:25 +00:00
Glenn Morris
0595c9f92f
(mouse-major-mode-menu): Suppress duplicate menus.
2008-01-08 05:13:06 +00:00
Dan Nicolaescu
b38f5e6fea
* mouse.el (mouse-popup-menubar): Fix typo.
...
* emacs-lisp/bytecomp.el (byte-compile-from-buffer): Move one more
form inside with-current-buffer.
* progmodes/antlr-mode.el (provide): Move to the end of file.
(require): Don't require font-lock and compile.
(outline-level, imenu-use-markers, imenu-create-index-function):
Move declarations to top level.
(cond-emacs-xemacs-macfn): Declare for compiler.
* vc-bzr.el (vc-bzr-root):
* vc-arch.el (vc-arch-root): Only set a property if the file is
managed by this backend.
* vc-hg.el (vc-hg-state): Support the new status code for
up-to-date.
2008-01-04 08:34:15 +00:00
Stefan Monnier
48d33090d0
* erc-ibuffer.el (erc-channel-modes):
...
* bs.el (bs--sort-by-mode, bs--get-mode-name):
* imenu.el (imenu-add-to-menubar):
* makesum.el (make-command-summary):
* mouse.el (mouse-major-mode-menu, mouse-popup-menubar, mouse-buffer-menu):
* msb.el (msb--mode-menu-cond):
* calc/calc-embed.el (calc-do-embedded):
* emacs-lisp/helper.el (Helper-describe-mode):
* mail/emacsbug.el (report-emacs-bug):
* progmodes/hideshow.el (hs-grok-mode-type):
* textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
* textmodes/table.el (*table--cell-describe-mode):
Pass mode-name through format-mode-line.
2008-01-04 06:29:12 +00:00
Richard M. Stallman
63571b5a84
(mouse-yank-primary): New function (almost same as mouse-yank-secondary).
2007-12-25 20:09:05 +00:00
Miles Bader
47854a5568
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-956
2007-12-16 04:31:49 +00:00
Jason Rumney
fc1f472bc4
(mouse-buffer-menu-alist): Keep buffer names left aligned.
2007-12-06 17:58:08 +00:00
Glenn Morris
7e4e9c6618
(mouse-minor-mode-menu, minor-mode-menu-from-indicator):
...
Move here from bindings.el
2007-10-19 02:14:58 +00:00
Sam Steingold
cc2ee8ec1e
(mouse-buffer-menu): Pass mode-name through format-mode-line because it
...
may be a list, e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
2007-08-06 17:19:26 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Richard M. Stallman
b3709a5323
(mouse-yank-secondary): Better error message if no secondary selection.
2007-07-16 04:42:24 +00:00
Martin Rudalics
1d16d0504b
(mouse-drag-track): Reset transient-mark-mode to nil
...
when handling the terminating event.
2007-07-15 08:31:26 +00:00
Martin Rudalics
177ffe92bf
(mouse-drag-track): Reset transient-mark-mode to nil
...
when handling the terminating event.
2007-07-08 08:21:13 +00:00
Martin Rudalics
20a65989fe
(mouse-drag-mode-line-1): Quit mouse tracking when
...
event is not a cons cell. Do not unread drag-mouse-1 events.
Select right window in check whether space was stolen from
window above.
2007-07-02 05:40:12 +00:00
Martin Rudalics
c291e34415
(mouse-drag-mode-line-1): Quit mouse tracking when
...
event is not a cons cell. Do not unread drag-mouse-1 events.
Select right window in check whether space was stolen from
window above.
2007-06-20 07:55:25 +00:00
Chong Yidong
3e4f866be3
(mouse-set-secondary): Update mouse-secondary-overlay.
2007-04-01 17:45:20 +00:00
Chong Yidong
c2841cde5f
(mouse-drag-track): Remove spurious input-pending-p test. Suggested
...
by Johan Bockgård.
2007-03-19 15:52:04 +00:00
Richard M. Stallman
35da1e4830
(mouse-drag-mode-line-1, mouse-drag-vertical-line):
...
Don't select the window -- pass it to primitives instead.
2007-03-04 17:46:23 +00:00
Kim F. Storm
760a2050ca
(mouse-show-mark): Run hooks and perform command
...
remapping for mouse-region-delete-keys.
2007-02-26 10:11:34 +00:00
Eli Zaretskii
84e42e60e1
<left-fringe mouse-2, right-fringe mouse-3, left-fringe mouse-3>: New bindings.
2007-02-02 14:42:38 +00:00
Eli Zaretskii
05b531f695
Fix whitespace and indentation.
2007-01-27 17:38:14 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Chong Yidong
a9d0154753
(mouse-drag-track): Suppress automatic hscrolling for initial down
...
event.
2006-12-02 21:47:02 +00:00
Juanma Barranquero
66564ab0df
(mouse-popup-menubar, mouse-buffer-menu-alist): "?\ " -> "?\s".
2006-11-27 14:00:53 +00:00
Chong Yidong
d97c13b212
(global-map): Change 2006-08-16 fix to call mouse-yank-at-click
...
explicitly, since mouse events are not carried over into keyboard
macros.
2006-11-16 15:47:30 +00:00
Juanma Barranquero
624c972dcf
(mouse-set-font): Fix typo in docstring.
2006-11-06 02:43:53 +00:00
David Kastrup
89bf250ee6
(mouse-posn-property): Fix typo for `event-start' in
...
doc string.
2006-09-21 18:02:47 +00:00
David Kastrup
9ed38a849d
(mouse-posn-property): Improve doc string.
...
(mouse-on-link-p): Change buffers for function calls on links.
2006-09-20 04:56:58 +00:00
Stefan Monnier
e9ae308cb4
(mouse-on-link-p): Tentatively fix last change.
...
(mouse-drag-vertical-line): Remove unused var `wconfig'.
2006-09-19 16:33:30 +00:00
David Kastrup
91a2acb229
* mouse-sel.el (mouse-sel-follow-link-p): Use event position
...
instead of buffer position for `mouse-on-link-p'.
* mouse.el (mouse-posn-property): New function looking up the
properties at a click position in overlays and text properties in
either buffer or strings.
(mouse-on-link-p): Use `mouse-posn-property' to streamline lookup
of both `follow-link' as well as `mouse-face' properties.
(mouse-drag-track): Check `mouse-on-link-p' on event position, not
buffer position.
* help.el (describe-key-briefly): When reading a down-event on
mode lines or scroll bar, swallow the following up event, too.
Use the new mouse sensitity of `key-binding' for lookup.
(describe-key): The same here.
2006-09-15 08:53:18 +00:00
Stefan Monnier
3e9323d603
(global-map): Allow yanking with mouse-2 at a spot whose
...
cursor would normally be drawn in the fringe.
2006-08-17 03:36:17 +00:00
Thien-Thi Nguyen
23eb76c4f7
(mouse-on-link-p): Doc fix.
2006-07-23 21:13:13 +00:00
Richard M. Stallman
73c8f64c94
(mouse-drag-vertical-line-rightward-window): New function.
...
(mouse-drag-vertical-line): Call it.
2006-06-19 21:47:23 +00:00
Chong Yidong
89a94f1e3d
* mouse.el (mouse-drag-vertical-line): Use window-inside-edges
...
when checking for attempt to drag leftmost or rightmost scrollbar.
2006-03-16 15:14:57 +00:00
Richard M. Stallman
ad64cd77b0
(mouse-drag-mode-line-1): Use mouse-drag-move-window-bottom
...
for the minibuffer too, but not if resize-mini-windows will interfere.
2006-02-13 18:47:18 +00:00
Chong Yidong
745cfc5705
2006-02-08 Chong Yidong <cyd@stupidchicken.com>
...
* mouse.el (mouse-drag-track): Don't change window if we rebind to
some other event.
2006-02-08 20:47:24 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
J.D. Smith
f1c4f757fd
(mouse-drag-track): Renamed, from `mouse-drag-region-1'. Includes
...
optional argument required to enable post-drag event processing
(e.g. delete region keys). Can be used without this argument to track
a mouse region and operate on it as soon as the drag completes.
(mouse-drag-region): Use `mouse-drag-track'.
2006-01-03 17:08:51 +00:00
Richard M. Stallman
cbf090c459
(mouse-drag-region-1): When following link via mouse-2,
...
put on event-kind property.
2006-01-01 07:55:21 +00:00
Eli Zaretskii
5915523a25
(mouse-drag-window-above): Verify that the found window overlaps with the
...
given window in the horizontal dimension.
2005-12-31 11:47:05 +00:00
Richard M. Stallman
18e980c2ae
(mouse-drag-region-1): When remapping mouse-1 to mouse-2, go back to
...
previously selected window, so it's selected when mouse-2 command runs.
2005-12-28 03:19:29 +00:00
Juri Linkov
8a30a619e2
(mouse-choose-completion): Replace `buffer-substring' with
...
`buffer-substring-no-properties' to remove common substring highlighting.
2005-12-23 21:53:29 +00:00