21.4 better than 21.5? (was: babel, json, missing function decode-char)
Aidan Kehoe
kehoea at parhasard.net
Mon Nov 30 14:44:02 EST 2009
Ar an triochadú lá de mí na Samhain, scríobh Uwe Brauer:
> >>>>> "Julian" == Julian Bradfield <jcb+xeb at jcbradfield.org> writes:
>
> > On 2009-11-30, Uwe Brauer <oub at mat.ucm.es> wrote:
> >>>>>>> "Julian" == Julian Bradfield <jcb+xeb at jcbradfield.org> writes:
> >> > (defun decode-char (cs c r)
> >> > (ucs-to-char c))
> >>
> >> I do (at least I suppose I do, I use utf8 encoding and un-define.el).
> >> So your idea did not work, I attach the relevant bugtrace below, but I
>
> > Oh, sorry, I didn't check to see how many arguments the json function
> > wants.
>
> > Try
> > (defun decode-char (cs c)
> > (ucs-to-char c))
>
>
> Great this works almost perfect!!!
>
>
>
> - It is much better than decode-char as defined in mucs.el (xemacs
> 21.4)
>
> - it is also better than decode-char in Xemacs 21.5.28!!!! So maybe
> I don't have to switch.
>
> More seriously since I am going to write the author about xemacs
> compatibly I should come to the conclusion that 21.4 is *better* suited
> than 21.5, Steve are you reading this?
>
>
> By better I mean the translation German-->French with UTF-8
>
> Gives now:
>
> Ich habe für mein Examen gefunden, daß
>
> J'ai trouvé pour mes examens qui
>
> Which is almost perfect save the dumb ' which I had to take care in
> the last version separately as well.
It gets the number wrong, too, hahah, you were just talking about one exam.
> Any comments, guys?
Thanks for the comment that startup is slower on 21.5; that gives us
something concrete and easy to investigate, more so than the general “21.5
is slow” “How so?” “It just is”. But, that said, have you tried
--with-optimization and --without-error-checking? Is dired as fast as 21.4
with those configure options?
--
“Apart from the nine-banded armadillo, man is the only natural host of
Mycobacterium leprae, although it can be grown in the footpads of mice.”
-- Kumar & Clark, Clinical Medicine, summarising improbable leprosy research
More information about the XEmacs-Beta
mailing list