GNU bug report logs - #25203
25.1; crash during message, infinite recursion

Previous Next

Package: emacs;

Reported by: Hin-Tak Leung <hintak.leung <at> gmail.com>

Date: Thu, 15 Dec 2016 00:56:02 UTC

Severity: normal

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 25203 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Hin-Tak Leung <htl10 <at> users.sourceforge.net>
Cc: cjk-list <at> nongnu.org, wl <at> gnu.org, by <at> moscito.org, 25203 <at> debbugs.gnu.org
Subject: Re: bug#25203: [cjk] Fwd: HELP with emacs 25.1 and cjk-enc.el
Date: Fri, 16 Dec 2016 10:04:06 +0200
> Date: Thu, 15 Dec 2016 23:02:03 +0000 (UTC)
> From: Hin-Tak Leung <htl10 <at> users.sourceforge.net>
> Cc: cjk-list <at> nongnu.org, by <at> moscito.org
> 
> Sorry, should be this (note "locale-coding-system"):
> 
> --- a/utils/lisp/emacs/cjk-enc.el
> +++ b/utils/lisp/emacs/cjk-enc.el
> @@ -879,8 +879,9 @@
>          (if (> (- (point) last-pos) 1000)
>              (progn
>                (setq last-pos (point))
> -              (message "Converting: %2d%%"
> -                       (/ (* 100 (point)) (point-max)))))
> +              (let ((coding-system-for-write locale-coding-system))
> +                (message "Converting: %2d%%"
> +                         (/ (* 100 (point)) (point-max))))))
>  
>          ;; Advance to the next character and loop.
>          (forward-char 1))

Sorry, I don't understand the question.  Can you elaborate?

locale-coding-system is a variable whose value is the encoding
supported by the locale in which Emacs was started, and this it should
be appropriate for writing text to the user's terminal.




This bug report was last modified 8 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.