Subject: Re: bug#3607: 23.0.94; odd character in fringe.el

From: Eli Zaretskii <[email-masked]>
Date: Mon, 29 Jun 2009 21:16:32 +0300

> From: Kenichi Handa <[email-masked]>
> Date: Mon, 29 Jun 2009 16:49:32 +0900
> Cc: [email-masked], [email-masked]
> 
> But, when emacs starts up, it calls set-locale-environment,
> and it at first calls set-language-environment then
> overrides coding-system setups.  So, at the moment, I don't
> have a good idea other than this very ad-hoc change for 23.1.

PLEEEEAAAAASE do _not_ make such ad-hoc changes on the branch at this time.
Experience shows that there be dragons, and we _do_ want to release
Emacs 23.1 some time this year...

> --- mule-cmds.el.~1.360.~	2009-04-09 03:03:17.000000000 +0900
> +++ mule-cmds.el	2009-06-29 16:45:08.000000000 +0900
> @@ -2643,6 +2643,10 @@
>  		   (not (coding-system-equal coding-system
>  					     locale-coding-system)))
>  	  (prefer-coding-system coding-system)
> +	  ;; Even if we prefer "iso-latin-1", it is better to detect
> +	  ;; UTF-8.
> +	  (if (eq (coding-system-base coding-system) 'iso-latin-1)
> +	      (set-coding-system-priority 'utf-8))
>  	  ;; Fixme: perhaps prefer-coding-system should set this too.
>  	  ;; But it's not the time to do such a fundamental change.
>  	  (setq default-sendmail-coding-system coding-system)
> 
> For 23.2, I think we should re-design language-info-alist.

Then let's defer the whole thing to Emacs 23.2.  It's not a grave
problem, IMO, certainly not worth taking a risk of unintended
consequences.