emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs i18n bug?


From: Kenichi Handa
Subject: Re: emacs i18n bug?
Date: Wed, 30 Apr 2003 22:10:40 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Eugeny Korekin <address@hidden> writes:
> With locale settings shown below gnus function 
> gnus-update-summary-mark-positions doesn't works right
> in emacs 21.3.50

> ----------------------------
> (gnus-summary-insert-line
>          [0 "" "" "05 Apr 2001 23:33:09 +0400" "" "" 0 0 "" nil]
>          0 nil t 128 t nil "" nil 1)
>         (goto-char (point-min))
>         (setq pos (list (cons 'unread (and (search-forward "\200" nil t)
>                                            (- (point) (point-min) 1))))
> ---------------------------


> In that piece of code (search-forward "\200" nil t) emacs
> 21.3 returns 31 (C-_), while 21.3.50 returns nil.
[...]
>   value of $LANG: ru_RU.KOI8-R
>   locale-coding-system: cyrillic-koi8

With that environemnt, previously, (string-make-multibyte
"\200") returns "\200", but in the CVS HEAD version, it
returns returns "─" (U+2500).  I think this change causes
the current problem.

From the above code, I suspect that GNUS uses the character
?\200 for some kind of mark in a buffer, correct?  If so,
could you change:
    (search-forward "\200" nil t)
to
    (search-forward (string-to-multibyte "\200") nil t)
and try again?

---
Ken'ichi HANDA
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]