/usr/share/doc/HOWTO/ja-html/mouse-wheel-scroll-12.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE> X mouse wheel scroll: Gnu Emacs</TITLE>
<LINK HREF="mouse-wheel-scroll-13.html" REL=next>
<LINK HREF="mouse-wheel-scroll-11.html" REL=previous>
<LINK HREF="mouse-wheel-scroll.html#toc12" REL=contents>
</HEAD>
<BODY>
<A HREF="mouse-wheel-scroll-13.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="mouse-wheel-scroll-11.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="mouse-wheel-scroll.html#toc12">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s12">12. Gnu Emacs</A></H2>
<P>ÉáÄÌ¤Ï XEmacs ¤Î¾ì¹ç¤ÈƱÍͤË
<A HREF="ftp://ftp.cs.indiana.edu/pub/elisp/mwheel.el">mwheel.el</A>
emacs ¥Ñ¥Ã¥±¡¼¥¸¤ò»È¤¦¤Ù¤¤Ç¤¹¡£
<A HREF="mouse-wheel-scroll-11.html#xemacs">XEmacs ¤Î¥»¥¯¥·¥ç¥ó</A>¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
°ìÊý ¡¢²¼µ¤Î²¾¤Î Elisp ¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
<A HREF="http://www.cl.cam.ac.uk/~sfk1000/">Sylvia Knight</A>,
<A HREF="mailto:Sylvia.Knight@cl.cam.ac.uk">Sylvia.Knight@cl.cam.ac.uk</A>
¤Î¹¥°Õ¤Ë¤è¤ê---1998ǯ2·î2Æü¤ËÁ÷¤é¤ì¤Æ¤¤Þ¤·¤¿:
<PRE>
(defun up-slightly () (interactive) (scroll-up 5))
(defun down-slightly () (interactive) (scroll-down 5))
(global-set-key [mouse-4] 'down-slightly)
(global-set-key [mouse-5] 'up-slightly)
(defun up-one () (interactive) (scroll-up 1))
(defun down-one () (interactive) (scroll-down 1))
(global-set-key [S-mouse-4] 'down-one)
(global-set-key [S-mouse-5] 'up-one)
(defun up-a-lot () (interactive) (scroll-up))
(defun down-a-lot () (interactive) (scroll-down))
(global-set-key [C-mouse-4] 'down-a-lot)
(global-set-key [C-mouse-5] 'up-a-lot)
</PRE>
<P>¾åµ¤Î¤è¤¦¤Ë5¹Ô¤À¤±¤Ç¤Ï¤Ê¤¯¡¢È¾¥Ú¡¼¥¸¤Ö¤ó¥¹¥¯¥í¡¼¥ë¤µ¤»¤¿¤¤¾ì¹ç¤Ï¡¢
<A HREF="mailto:rowe@excc.ex.ac.uk">John Rowe</A>
¤¬Á÷¤Ã¤Æ¤¯¤ì¤¿²¼µ¤Î GNU Emacs ¥³¡¼¥É¤¬¤¢¤ê¤Þ¤¹¡£
<PRE>
(defun scroll-up-half ()
"Scroll up half a page."
(interactive)
(scroll-up (/ (window-height) 2))
)
(defun scroll-down-half ()
"Scroll down half a page."
(interactive)
(scroll-down (/ (window-height) 2))
)
(global-set-key [(mouse-5)] 'scroll-up-half)
(global-set-key [(mouse-4)] 'scroll-down-half)
</PRE>
<P>
<P>
<HR>
<A HREF="mouse-wheel-scroll-13.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="mouse-wheel-scroll-11.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="mouse-wheel-scroll.html#toc12">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|