/usr/share/doc/HOWTO/ja-html/Bzip2-6.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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Bzip2 Howto: emacs¤Çbzip2¤ò»È¤¦</TITLE>
<LINK HREF="Bzip2-7.html" REL=next>
<LINK HREF="Bzip2-5.html" REL=previous>
<LINK HREF="Bzip2.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="Bzip2-7.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2-5.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2.html#toc6">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s6">6. emacs¤Çbzip2¤ò»È¤¦</A></H2>
<P>Ãø¼Ô¤Ï<CODE>jka-compr.el</CODE>¤ËÅö¤Æ¤ë°Ê²¼¤Î¥Ñ¥Ã¥Á¤ò½ñ¤¤Þ¤·¤¿¡£
<CODE>auto-compression-mode</CODE>¤Ëbzip2¤òÄɲ乤ë¤â¤Î¤Ç¤¹¡£
<P><B>ÌÈÀÕ»ö¹à¡§</B>emacs-20.2¤Ç¥Æ¥¹¥È¤·¤¿¤À¤±¤Ç¤¹¤¬¡¢Â¾¤Î¥Ð¡¼¥¸¥ç¥ó¤ÇÆ°ºî
¤·¤Ê¤¤¤È¤¤¤¦¤³¤È¤Ï¤Ê¤¤¤È»×¤¤¤Þ¤¹
<P>
<P>
<OL>
<LI><CODE>emacs-20.2/lisp</CODE>¥½¡¼¥¹¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¤Þ¤¹(untar¤·¤¿
¾ì½ê¤¬¤É¤³¤Ç¤¢¤ì)¡£</LI>
<LI>²¼µ¤Î<CODE>jka-compr.el.diff</CODE>¥Ñ¥Ã¥Á¥Õ¥¡¥¤¥ë¤òÃÖ¤¤Þ¤¹(¤½¤ì¤ÈƱ¤¸Ì¾Á°¤Î
¥Õ¥¡¥¤¥ë¤Ï¤¢¤ê¤Þ¤»¤ó ;)¡£</LI>
<LI>
<BLOCKQUOTE><CODE>
<PRE>
patch < jka-compr.el.diff
</PRE>
</CODE></BLOCKQUOTE>
¤È¼Â¹Ô¤·¤Þ¤¹¡£</LI>
<LI>emacs¤òΩ¤Á¾å¤²¤Æ
<BLOCKQUOTE><CODE>
<PRE>
M-x byte-compile-file jka-compr.el
</PRE>
</CODE></BLOCKQUOTE>
¤È¤·¤Þ¤¹¡£</LI>
<LI>emasc¤ò½ªÎ»¤·¤Þ¤¹¡£</LI>
<LI>¥Ð¥°¤¬¤¢¤Ã¤¿¤È¤¤Î¤¿¤á¤Ë¥ª¥ê¥¸¥Ê¥ë¤Î<CODE>jka-compr.elc</CODE>¤ò°ÂÁ´¤Ê¾ì½ê¤Ë
°ÜÆ°¤·¤Æ¤ª¤¤Þ¤¹¡£</LI>
<LI>¿·¤·¤¤<CODE>jka-compr.elc</CODE>¤ÈÃÖ¤´¹¤¨¤Þ¤¹¡£</LI>
<LI>Have fun! </LI>
</OL>
<P>
<HR>
<PRE>
--- jka-compr.el Sat Jul 26 17:02:39 1997
+++ jka-compr.el.new Thu Feb 5 17:44:35 1998
@@ -44,7 +44,7 @@
;; The variable, jka-compr-compression-info-list can be used to
;; customize jka-compr to work with other compression programs.
;; The default value of this variable allows jka-compr to work with
-;; Unix compress and gzip.
+;; Unix compress and gzip. David Fetter added bzip2 support :)
;;
;; If you are concerned about the stderr output of gzip and other
;; compression/decompression programs showing up in your buffers, you
@@ -121,7 +121,9 @@
;;; I have this defined so that .Z files are assumed to be in unix
-;;; compress format; and .gz files, in gzip format.
+;;; compress format; and .gz files, in gzip format, and .bz2 files,
+;;; in the snappy new bzip2 format from http://www.muraroa.demon.co.uk.
+;;; Keep up the good work, people!
(defcustom jka-compr-compression-info-list
;;[regexp
;; compr-message compr-prog compr-args
@@ -131,6 +133,10 @@
"compressing" "compress" ("-c")
"uncompressing" "uncompress" ("-c")
nil t]
+ ["\\.bz2\\'"
+ "bzip2ing" "bzip2" ("")
+ "bunzip2ing" "bzip2" ("-d")
+ nil nil]
["\\.tgz\\'"
"zipping" "gzip" ("-c" "-q")
"unzipping" "gzip" ("-c" "-q" "-d")
</PRE>
<HR>
<P>
<P>
<HR>
<A HREF="Bzip2-7.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2-5.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Bzip2.html#toc6">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|