🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.mule
Article #330

Re: japanese man page on mule

#330
From: Shoichi Fukusaka
Date: Fri, 09 Jun 2000 00:00
27 lines
1317 bytes
Koyama Mituru <mkoya@sannet.ne.jp> writes:

> 小山です。
> 
>  Emacs 20.6 / Mule 4.0を使っていますが、日本語のman pageをmanコマ
> ンドで表示させると、重ね打の日本語がboldにならずに、
> 
> 名^H^H名前^H^H前
> 
> と表示されてしまいます。これを回避する設定はあるでしょうか。

僕は、Emacs 20.6 で以下のようにしています。

(defun Man-cooked-2-backspace-code ()
  (goto-char (point-min))
  (while (re-search-forward "\\(.\\)\\(\b\b\\1\\)+" nil t)
    (replace-match "\\1")
    (if Man-fontify-manpage-flag
	(put-text-property (1- (point)) (point) 'face Man-overstrike-face)))
  (goto-char (point-min)))
  
(add-hook 'Man-cooked-hook 'Man-cooked-2-backspace-code)

--
Alias:	もいもい
Name:	福坂 将一
E-mail:	fukusaka@xa2.so-net.ne.jp
Technical Details
Message-ID: <8hofae$bdi$1@news01ch.so-net.ne.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8hodvp$gjv$1@news01.osaka.sannet.ne.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 10eba4,f35741486335a3b
X-Google-Attributes: gid10eba4,public
From: Shoichi Fukusaka <fukusaka@xa2.so-net.ne.jp>
Subject: Re: japanese man page on mule
Date: 2000/06/09
Message-ID: <8hofae$bdi$1@news01ch.so-net.ne.jp>
X-Deja-AN: 632653357
References: <8hodvp$gjv$1@news01.osaka.sannet.ne.jp>
Organization: So-net
Content-Type: text/plain; charset=ISO-2022-JP
Mime-Version: 1.0
Newsgroups: fj.editor.mule