Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 21:00:06 +0100
From:      Norbert Koch <viteno@t-online.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        freebsd-doc@FreeBSD.org
Subject:   Re: docs/45295: [PATCH] FAQ entry about XEmacs's wheel-mouse support
Message-ID:  <vzbs4knha1.fsf@viteno.dyns.net>
In-Reply-To: <200211141930.gAEJU1LZ099036@freefall.freebsd.org> (FreeBSD-gnats-submit@FreeBSD.org's message of "Thu, 14 Nov 2002 11:30:01 -0800 (PST)")
References:  <200211141930.gAEJU1LZ099036@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD-gnats-submit@FreeBSD.org writes:

> Thank you very much for your problem report.
> It has the internal identification `docs/45295'.
> The individual assigned to look at your
> report is: freebsd-doc. 

Uhm, sorry for not sending in the correct patch the first time.
Here's a patch against en_US.ISO8859-1/books/faq/book.sgml.

I've also changed Xemacs -> XEmacs, since this is the official way of
writing (I'll send in a patch for other sources in a different PR).

norbert.
 

--- /usr/doc/en_US.ISO8859-1/books/faq/book.sgml	Sat Nov 16 19:18:50 2002
+++ book.sgml	Wed Nov 20 20:47:34 2002
@@ -7634,7 +7634,7 @@
                 (<emphasis>optional</emphasis>)</para>
 
               <para>If you use <application>emacs</application> or
-                <application>Xemacs</application>, then you need to
+                <application>XEmacs</application>, then you need to
                 add a small section to your
                 <filename>~/.emacs</filename> file.  For
                 <application>emacs</application>, add the
@@ -7657,24 +7657,17 @@
 ;;; end imwheel section</programlisting>
               </example>
 
-              <para>For <application>Xemacs</application>, add the
+              <para>For <application>XEmacs</application>, add the
                 following to your <filename>~/.emacs</filename> file
                 instead:</para>
 
               <example>
-                <title><application>Xemacs</application> Configuration
+                <title><application>XEmacs</application> Configuration
                   for <application>Imwheel</application></title>
 
                 <programlisting>;;; For imwheel
-(setq imwheel-scroll-interval 3)
-(defun imwheel-scroll-down-some-lines ()
-  (interactive)
-  (scroll-down imwheel-scroll-interval))
-(defun imwheel-scroll-up-some-lines ()
-  (interactive)
-  (scroll-up imwheel-scroll-interval))
-(define-key global-map [(control meta \))] 'imwheel-scroll-up-some-lines)
-(define-key global-map [(control meta \()] 'imwheel-scroll-down-some-lines)
+(mwheel-install)
+(setq mwheel-follow-mouse t)
 ;;; end imwheel section</programlisting>
               </example>
             </listitem>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vzbs4knha1.fsf>