Paul Eggert
ba3189039a
Update copyright year to 2014 by running admin/update-copyright.
2014-01-01 07:43:34 +00:00
Paul Eggert
ab422c4d68
Update copyright notices for 2013.
2013-01-01 09:11:05 +00:00
Chong Yidong
f06e2758ba
* mwheel.el (mwheel-scroll): Call deactivate-mark at the right point.
...
Fixes: debbugs:9623
2012-03-24 19:05:39 +08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Chong Yidong
06e21633a4
Fix minor mode docstrings for the new meaning of a nil ARG.
...
* abbrev.el (abbrev-mode):
* allout.el (allout-mode):
* autoinsert.el (auto-insert-mode):
* autoarg.el (autoarg-mode, autoarg-kp-mode):
* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-mode):
* battery.el (display-battery-mode):
* composite.el (global-auto-composition-mode)
(auto-composition-mode):
* delsel.el (delete-selection-mode):
* desktop.el (desktop-save-mode):
* dired-x.el (dired-omit-mode):
* dirtrack.el (dirtrack-mode):
* doc-view.el (doc-view-minor-mode):
* double.el (double-mode):
* electric.el (electric-indent-mode, electric-pair-mode):
* emacs-lock.el (emacs-lock-mode):
* epa-hook.el (auto-encryption-mode):
* follow.el (follow-mode):
* font-core.el (font-lock-mode):
* frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
* help.el (temp-buffer-resize-mode):
* hilit-chg.el (highlight-changes-mode)
(highlight-changes-visible-mode):
* hi-lock.el (hi-lock-mode):
* hl-line.el (hl-line-mode, global-hl-line-mode):
* icomplete.el (icomplete-mode):
* ido.el (ido-everywhere):
* image-file.el (auto-image-file-mode):
* image-mode.el (image-minor-mode):
* iswitchb.el (iswitchb-mode):
* jka-cmpr-hook.el (auto-compression-mode):
* linum.el (linum-mode):
* longlines.el (longlines-mode):
* master.el (master-mode):
* mb-depth.el (minibuffer-depth-indicate-mode):
* menu-bar.el (menu-bar-mode):
* minibuf-eldef.el (minibuffer-electric-default-mode):
* mouse-sel.el (mouse-sel-mode):
* msb.el (msb-mode):
* mwheel.el (mouse-wheel-mode):
* outline.el (outline-minor-mode):
* paren.el (show-paren-mode):
* recentf.el (recentf-mode):
* reveal.el (reveal-mode, global-reveal-mode):
* rfn-eshadow.el (file-name-shadow-mode):
* ruler-mode.el (ruler-mode):
* savehist.el (savehist-mode):
* scroll-all.el (scroll-all-mode):
* scroll-bar.el (scroll-bar-mode):
* server.el (server-mode):
* shell.el (shell-dirtrack-mode):
* simple.el (auto-fill-mode, transient-mark-mode)
(visual-line-mode, overwrite-mode, binary-overwrite-mode)
(line-number-mode, column-number-mode, size-indication-mode)
(auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
* strokes.el (strokes-mode):
* time.el (display-time-mode):
* t-mouse.el (gpm-mouse-mode):
* tool-bar.el (tool-bar-mode):
* tooltip.el (tooltip-mode):
* type-break.el (type-break-mode-line-message-mode)
(type-break-query-mode):
* view.el (view-mode):
* whitespace.el (whitespace-mode, whitespace-newline-mode)
(global-whitespace-mode, global-whitespace-newline-mode):
* xt-mouse.el (xterm-mouse-mode): Doc fix.
* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
autogenerated docstring.
2011-10-19 08:54:24 -04:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
b711096ad2
* lisp/mwheel.el: Fix typo in copyright years.
...
Duplicate 2002 introduced in CVS r1.35.
2003 is a copyrightable year since Emacs 21.3 was released then.
2011-01-23 18:20:34 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Juri Linkov
ad40eec53f
Check both isearch-scroll' and
scroll-command' properties.
...
* isearch.el (isearch-lookup-scroll-key): Check both
`isearch-scroll' and `scroll-command' properties.
(scroll-up, scroll-down): Remove `isearch-scroll' property.
* mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
* simple.el (scroll-up-command, scroll-down-command)
(scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
2010-04-16 04:24:00 +03:00
Juri Linkov
a4b000fb3d
Add the `scroll-command' property.
...
* window.c: Add Qscroll_command.
Remove Vscroll_preserve_screen_position_commands.
(window_scroll_pixel_based, window_scroll_line_based): Check the
`scroll-command' property on the last command instead of searching
the last command in Vscroll_preserve_screen_position_commands.
(syms_of_window): Initialize and staticpro `Qscroll_command'.
Put Qscroll_command property on Qscroll_up and Qscroll_down.
(scroll-preserve-screen-position): Doc fix.
(Vscroll_preserve_screen_position_commands): Remove variable.
* simple.el (scroll-up-command, scroll-down-command)
(scroll-up-line, scroll-down-line): Put `scroll-command'
property on the these symbols. Remove them from
`scroll-preserve-screen-position-commands'.
* mwheel.el (mwheel-scroll): Put `scroll-command' and
`isearch-scroll' properties on the `mwheel-scroll' symbol.
Remove it from `scroll-preserve-screen-position-commands'.
* isearch.el (isearch-allow-scroll): Doc fix.
2010-04-16 02:51:12 +03:00
Juri Linkov
9013a7f82e
Add variable `scroll-preserve-screen-position-commands'.
...
http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00403.html
* window.c (Vscroll_preserve_screen_position_commands): New variable
with the default value as the list of Qscroll_down and Qscroll_up.
(window_scroll_pixel_based, window_scroll_line_based): Search the
last command in the list Vscroll_preserve_screen_position_commands
instead of comparing with Qscroll_up and Qscroll_down.
* mwheel.el (scroll-preserve-screen-position-commands):
Add mwheel-scroll to this list of commands.
* simple.el (scroll-preserve-screen-position-commands):
Add scroll-up-command, scroll-down-command, scroll-up-line,
scroll-down-line to this list of commands.
2010-04-14 03:11:21 +03:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Juri Linkov
7d6b4d3cad
Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
...
* mwheel.el (mwheel-scroll-up-function)
(mwheel-scroll-down-function): New defvars.
(mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
`scroll-up', and `mwheel-scroll-down-function' instead of
`scroll-down'.
* doc-view.el (doc-view-scroll-up-or-next-page)
(doc-view-scroll-down-or-previous-page): Add optional ARG.
Use this ARG in the call to image-scroll-up/image-scroll-down.
Change `interactive' spec to "P". Goto next/previous page only
when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
SPC/DEL case). Doc fix.
(doc-view-next-line-or-next-page)
(doc-view-previous-line-or-previous-page): Rename arg to ARG
for consistency.
(doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
`doc-view-scroll-up-or-next-page', and buffer-local
`mwheel-scroll-down-function' to
`doc-view-scroll-down-or-previous-page'.
2009-11-25 17:18:26 +00:00
Stefan Monnier
0a4afea9b6
(mouse-wheel-mode): Make sure the new defvar doesn't
...
actually define the variable, but only silences the byte-compiler.
(mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
before looking it up.
(mouse-wheel-scroll-amount): Also reset the bindings if this value is changed.
2009-09-12 19:03:49 +00:00
Eli Zaretskii
8f825ee6f5
Fix last change.
...
(mouse-wheel-mode): New defvar.
(mouse-wheel-mode): Remove autoload cookie.
2009-09-12 09:40:15 +00:00
Stefan Monnier
ab5c0fcd35
* mwheel.el (mwheel-installed-bindings): New var.
...
(mouse-wheel-mode): Use it, so as to make sure we really remove all
the bindings we set last time. Use custom-initialize-delay.
* loadup.el: Load mwheel after term/*-win.el.
* startup.el (command-line): Don't reevaluate mouse-wheel-down-event
and mouse-wheel-up-event now that their first evaluation is done
sufficiently late to be correct.
2009-09-12 04:38:03 +00:00
Chong Yidong
19261da4e2
* mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): Don't
...
initialize based on window-system (Bug#4124).
2009-08-16 05:49:26 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Dan Nicolaescu
9e2a264775
Remove support for Mac Carbon.
...
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon
* erc.el: Remove code for Carbon.
Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.
Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.
* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.
* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.
* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.
* xresources.texi: Remove mentions of Mac Carbon.
* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.
Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL: Remove code for Carbon.
* configure: Regenerate.
2008-07-27 18:24:48 +00:00
Adrian Robert
edfda78355
merging Emacs.app (NeXTstep port)
2008-07-15 18:15:18 +00:00
Glenn Morris
04bf5b655a
American English spelling fix.
2008-06-27 02:14:52 +00:00
Glenn Morris
fc926716c1
(mouse-wheel-follow-mouse, mwheel-event-window):
...
Evaluate definitions when compiling. Reverse tests.
2008-06-12 03:50:31 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Juanma Barranquero
89ee01639d
(mouse-wheel-down-button, mouse-wheel-up-button, mouse-wheel-click-button):
...
Add WHEN to obsolescence declaration.
2008-04-18 10:30:38 +00:00
Chong Yidong
05786f2d93
(mwheel-scroll): Deactivate any temporarily active region if point
...
moves.
2008-04-08 05:38:39 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Stefan Monnier
44a50ffdbf
(mwheel-scroll): Make sure that when scrolling multiple
...
pages at a time, if we signal the end, we should indeed reach that end.
2006-05-08 15:14:26 +00:00
Juanma Barranquero
a6d48e0919
(mouse-wheel-click-event, mouse-wheel-mode): Fix typos in docstrings.
2006-02-14 11:35:48 +00:00
Eli Zaretskii
a348f5ba1d
(mouse-wheel-up-event): Doc fix.
2006-02-11 11:32:31 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
YAMAMOTO Mitsuharu
bf03bdf3bf
(mouse-wheel-down-event, mouse-wheel-up-event): Undo previous change.
2005-11-04 02:15:37 +00:00
Sam Steingold
c7280fb559
(mouse-wheel-down-event, mouse-wheel-up-event): Use system-type instead
...
of window-system because window-system is not correctly defined during loadup.
2005-11-03 14:35:26 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Stefan Monnier
d1ff89d941
(mouse-wheel-progressive-speed): Fix typo in name.
...
(mwheel-scroll): Adjust accordingly.
2004-11-11 23:51:40 +00:00
Stefan Monnier
cf062f6b5f
(mouse-wheel-down-event, mouse-wheel-up-event):
...
Test window-system rather than system-type (for X11/Mac).
2004-01-14 14:22:17 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Jason Rumney
fac7d58b87
(mouse-wheel-up-event, mouse-wheel-down-event):
...
Use wheel-* events on darwin.
2003-06-07 00:24:41 +00:00
Jason Rumney
29832d73b8
(mouse-wheel-down-event, mouse-wheel-up-event):
...
Default to new wheel-up and wheel-down events on MacOS.
2003-06-04 21:53:00 +00:00
Jason Rumney
f4e6226079
(mouse-wheel-down-event, mouse-wheel-up-event):
...
Default to new wheel-up and wheel-down events on Windows.
2003-06-01 22:14:30 +00:00
Glenn Morris
abd0164689
Commentary change.
2003-05-27 23:09:40 +00:00
Juanma Barranquero
41bbbdce51
(mouse-wheel-scroll-amount): Don't quote nil and t in docstrings.
2003-05-06 17:54:12 +00:00
Juanma Barranquero
e5ab6ade13
(mouse-wheel-down-button, mouse-wheel-up-button, mouse-wheel-click-button): Add
...
obsolescence declaration and remove redundant info from docstring.
2003-02-05 23:12:01 +00:00
Juanma Barranquero
f1180544bb
Trailing whitespace deleted.
2003-02-04 12:29:42 +00:00
Markus Rost
055016a453
(mouse-wheel-scroll-amount): Revert previous change -
...
customize type 'float is now defined.
2002-12-09 19:43:54 +00:00