Bug#389409: emacs21: problem loading utf-8 files

2006-10-08 Thread Jérôme Marant
Le lundi 25 septembre 2006 17:03, Jiri Palecek a écrit :
 Package: emacs21
 Severity: minor
 
 Hello,
 
 when I upgraded my emacs, loading utf-8 files stopped working.
 I use Czech language environment. When I chose describe language
 environment from the menu, utf-8 is listed far in the back of
 coding systems list, even below binary (!). Isn't that a problem?

Hi,

Sorry for the late reply.

What does your $LANg look like?

If it is not an UTF-8 locale, I guess you need the following in your .emacs:

(prefer-coding-system 'utf-8)

I also have this in my .emacs:

(set-language-environment UTF-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)

I hope this help,

-- 
Jérôme Marant



Bug#389409: emacs21: problem loading utf-8 files

2006-09-26 Thread Tatsuya Kinoshita
On September 26, 2006 at 4:59PM +0200,
jpalecek (at web.de) wrote:

  emacs21's utf-8 feature is insufficiency.  The mule-ucs package
  provides Mule-UCS-Unicode which enhances the utf-8 feature.
 
  However, mule-ucs 0.84.999+0.20050930-1 or later version disables
  Mule-UCS-Unicode by default for some reason.
 
  To enable Mule-UCS-Unicode at run time, evaluate (require 'un-define)
  or (un-define-debian).
 
  To enable Mule-UCS-Unicode before user-specific init files (~/.emacs,
  ~/.xemacs/init.el or so) are loaded, set the environment variable
  DEB_MULEUCS_UNICODE to on.
 
  See also /usr/share/doc/mule-ucs/README.Debian.

 Thank you, thank you

 I had mule-ucs installed even before, but didn't read the README.
 By the way, what is the some reason for which it is disabled?

A major reason is mule-ucs overwrites Emacs features which cause
troublesome such as bug#341593.

Other things are, upstream is not active, next Emacs release has
native UTF-8 support which should be prefered, etc.

Anyway, you can enable Mule-UCS-Unicode at your own risk.

 And what does the sentence in README

  ... mule-ucs ... support is feeble, Mule 4.1 supports Unicode better

 or something like that mean?

Don't worry about it.  Emacs 21 provides Mule 5.0 which has similar
feature of Mule 4.1.  (Emacs 20 provides Mule 4.0 which lacks
auto-detection for UTF-8, and patched version of Emacs 20 provides
Mule 4.1 which supports it.)

--
Tatsuya Kinoshita


pgpHv44SBT18W.pgp
Description: PGP signature


Bug#389409: emacs21: problem loading utf-8 files

2006-09-25 Thread Jiri Palecek
Package: emacs21
Severity: minor

Hello,

when I upgraded my emacs, loading utf-8 files stopped working.
I use Czech language environment. When I chose describe language
environment from the menu, utf-8 is listed far in the back of
coding systems list, even below binary (!). Isn't that a problem?

Regards
Jiri Palecek
___
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=02




Bug#389409: emacs21: problem loading utf-8 files

2006-09-25 Thread Tatsuya Kinoshita
On September 25, 2006 at 5:03PM +0200,
jpalecek (at web.de) wrote:

 Package: emacs21
 Severity: minor

 Hello,

 when I upgraded my emacs, loading utf-8 files stopped working.
 I use Czech language environment. When I chose describe language
 environment from the menu, utf-8 is listed far in the back of
 coding systems list, even below binary (!). Isn't that a problem?

emacs21's utf-8 feature is insufficiency.  The mule-ucs package
provides Mule-UCS-Unicode which enhances the utf-8 feature.

However, mule-ucs 0.84.999+0.20050930-1 or later version disables
Mule-UCS-Unicode by default for some reason.

To enable Mule-UCS-Unicode at run time, evaluate (require 'un-define)
or (un-define-debian).

To enable Mule-UCS-Unicode before user-specific init files (~/.emacs,
~/.xemacs/init.el or so) are loaded, set the environment variable
DEB_MULEUCS_UNICODE to on.

See also /usr/share/doc/mule-ucs/README.Debian.

Thanks,
--
Tatsuya Kinoshita


pgpYGXDul0qyG.pgp
Description: PGP signature