[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Patch: Non ASCII Chars in Messages
From: |
Jim Ottaway |
Subject: |
Re: [STUMP] Patch: Non ASCII Chars in Messages |
Date: |
Mon, 06 Nov 2006 12:05:39 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
David Hansen <address@hidden> writes:
> On Mon, 06 Nov 2006 09:57:57 +0000 Jim Ottaway wrote:
>
>> I am running stumpwm with cmucl 19c. I have tried to test the patches,
>> but I don't know if I am using the correct test.
>>
>> I tried this:
>>
>> in stumpwmrc:
>>
>> (defun test ()
>> (echo-string (current-screen) "∫dϕ = 2π"))
>>
>> (setq *screen-mode-line-format* "∫dϕ = 2π %w")
>>
>>
>> And then at the repl I did (test) without the patches. This didn't
>> generate an error, but the message from #'test was blank, and so was the
>> modeline.
>>
>> With the patches applied, still no error, but I did get the latin-1
>> rendition of "∫dϕ = 2π" in both the message and the mode-line.
>>
>> I suspect that this isn't the correct test, though, since I was
>> expecting some error before applying the patch.
>
> I don't quite understand why nothing shows up w/o the patch
> but it's expected that some rubbish shows up for "non latin-1"
> (i assume the cmucl reader just reads a UTF-8 string as
> latin-1). And i don't think we should try to fix it (just
> adding a bunch of code to replace funky latin chars with a `?'
> for sequences that look like UTF-8 isn't worth the work,
> IMHO).
>
> Please try the patch with just some latin-1 chars > 2⁷: some
> Ümläüts or the name of you favorite 80s metal band (take care
> you feed them latin-1 decoded to the lisp reader and make sure
> you use a latin-1 font).
I know nothing of these "80s metal bands" of which you speak, but in the
stumpwm package I tried:
(setq +default-font-name+
"-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1")
(echo-string (current-screen) "Richàrd Sträuß")
(setq *screen-mode-line-format* "Richàrd Sträuß")
and that looks OK.
slime-net-coding-system is iso-latin-1-unix
Regards,
--
Jim Ottaway