yes, this is much cleaner than what i suggested [which would be more appropriate for
strings rather than chars].
please apply it.
Yoshiki Hayashi wrote:
Andreas Jaeger <aj(a)suse.de> writes:
> Have a look at cvs-status.el:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ;; chars sets. Ripped from cvstree
> (defvar cvstree-dstr-2byte-ready
> (when (featurep 'mule)
> (if (boundp 'current-language-environment)
> (string= current-language-environment "Japanese")
> t)) ; mule/emacs-19
> "*Variable that specifies characters set used in cvstree tree graph.
> If non-nil, 2byte (Japanese?) characters set is used.
> If nil, 1byte characters set is used.
> 2byte characters might be available with Mule or Emacs with Mule extension.")
>
> (defconst cvstree-dstr-char-space
> (if cvstree-dstr-2byte-ready "ESC$B!!ESC(B" " "))
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> There's nothing I can do to satisfy Mule and Non-Mule users. Or do
> you know about any solution?
How about this patch? I haven't tested it but it should
work. I changed JIS X 0208 characters to make-char call and
strings to characters.
--------------------------------------------------------------------------------
Name: cvs-status.el.diff
cvs-status.el.diff Type: Plain Text (text/plain)
Encoding: 7bit
--------------------------------------------------------------------------------
--
Yoshiki Hayashi
--
Ben
In order to save my hands, I am cutting back on my mail. I also write
as succinctly as possible -- please don't be offended. If you send me
mail, you _will_ get a response, but please be patient, especially for
XEmacs-related mail. If you need an immediate response and it is not
apparent in your message, please say so. Thanks for your understanding.
See also
http://www.666.com/ben/chronic-pain/