unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19209: 25.0.50; doc string of `mwheel-scroll' is incorrect
@ 2014-11-28 17:24 Drew Adams
  2016-04-30 15:51 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2014-11-28 17:24 UTC (permalink / raw)
  To: 19209

emacs -Q

C-h f mwheel-scroll provides contradictory information - on MS Windows,
at least:

  It is bound to S-wheel-down, wheel-down, S-wheel-up, wheel-up.

  (mwheel-scroll EVENT)

  Scroll up or down according to the EVENT.
  This should only be bound to mouse buttons 4 and 5.

According to this, Emacs -Q is doing something it "should" not do:
binding the command to `S-wheel-down', `wheel-down', `S-wheel-up', and
`wheel-up'.

Please remove the platform-specific sentence that says that this should
only be bound to `mouse-4' and `mouse-5'.

(That text was anyway worded poorly - it should have said "This should
be bound only to `mouse-4' and `mouse-5'.")

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#19209: 25.0.50; doc string of `mwheel-scroll' is incorrect
  2014-11-28 17:24 bug#19209: 25.0.50; doc string of `mwheel-scroll' is incorrect Drew Adams
@ 2016-04-30 15:51 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-30 15:51 UTC (permalink / raw)
  To: Drew Adams; +Cc: 19209

Drew Adams <drew.adams@oracle.com> writes:

> C-h f mwheel-scroll provides contradictory information - on MS Windows,
> at least:
>
>   It is bound to S-wheel-down, wheel-down, S-wheel-up, wheel-up.
>
>   (mwheel-scroll EVENT)
>
>   Scroll up or down according to the EVENT.
>   This should only be bound to mouse buttons 4 and 5.
>
> According to this, Emacs -Q is doing something it "should" not do:
> binding the command to `S-wheel-down', `wheel-down', `S-wheel-up', and
> `wheel-up'.
>
> Please remove the platform-specific sentence that says that this should
> only be bound to `mouse-4' and `mouse-5'.

I've now mentioned that it does not apply to Windows.  (Are we allowed
to mention non-free systems in doc string like this?  If not, feel free
to revert the patch.)

> (That text was anyway worded poorly - it should have said "This should
> be bound only to `mouse-4' and `mouse-5'.")

Fixed.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-30 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 17:24 bug#19209: 25.0.50; doc string of `mwheel-scroll' is incorrect Drew Adams
2016-04-30 15:51 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).