notforwarded 470646
thanks

On 2008-03-26 12:48 +0100, Tatsuya Kinoshita wrote:

> reassign 470646 emacs22 22.1+1-3
> retitle 470646 emacs22: tmm.el: non-ASCII characters in the menu turn into 
> garbage in the Completions buffer
> thanks
> [...]
> The DDSKK upstream developer mentions that the bug is in Emacs'
> tmm.el, which doesn't support non-ASCII characters encoded with
> locale-coding-system.
>
> A patch is available at
> http://mail.ring.gr.jp/skk/200803/msg00009.html
>
> --- tmm.el.orig       2008-02-08 22:47:00.000000000 +0900
> +++ tmm.el    2008-03-14 08:08:04.000000000 +0900
> @@ -171,7 +171,7 @@
>      ;; The order of elements in tmm-km-list is the order of the menu bar.
>      (mapc (lambda (elt)
>           (if (stringp elt)
> -             (setq gl-str elt)
> +             (setq gl-str (decode-coding-string elt locale-coding-system))
>             (and (listp elt) (tmm-get-keymap elt not-menu))))
>           menu)
>      ;; Choose an element of tmm-km-list; put it in choice.
> @@ -282,6 +282,7 @@
>  
>  (defsubst tmm-add-one-shortcut (elt)
>  ;; uses the free vars tmm-next-shortcut-digit and tmm-short-cuts
> +  (setcar elt (decode-coding-string (car elt) locale-coding-system))
>    (cond
>     ((eq (cddr elt) 'ignore)
>      (cons (concat " " (make-string (length tmm-mid-prompt) ?\-)

Could you please forward this patch and its rationale to
[EMAIL PROTECTED], so that the bug can get fixed upstream?  Please
also mention the author of the patch and his email address for the
ChangeLog.

Regards,
        Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to