>>>> "Yoshiki" == Yoshiki Hayashi
<yoshiki(a)xemacs.org> writes:
Yoshiki> So you are proposing to change regexp to
Yoshiki> \\(.\\)\\(\b\b\\1\\) and add an option to disable it?
Yoshiki> I'd prefer to use \\(\\cj\\|\\ck\\|\\cc\\)\\(\b\b\\1\\)
Yoshiki> if Chinese and Korean man pages are also broken.
No. I'm proposing to use a defcustom, default to the one you're using
(you've convinced me it is gauranteed not to introduce new
brokenness), and document so that Chinese and Koreans have an easy
interface. Something like (just guesses for the prefix and the name)
(defcustom manual-bold-twocolumn-compatibility-regexp
"\\cj\\(\b\b\\1\\)"
"Matches bold two-column character.
For compatibility with Japanese nroff, which puts one backspace in for
each nominal column to create a bold character. Ie, a bold kanji
looks like "K^H^Hk". Other multibyte languages can be added to the
regexp if necessary by replacing the "\cj" with a group of alternative
character classes (such as "\ck" for Korean and "\cc" for Chinese).
This option may go away if it becomes clear how to do the right thing
automatically without it."
:group 'manual)
Hrvoje is probably right, this should be a defvar or defconst instead
of a defcustom. But putting in a declaration will help document it.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."