Discussion:
[VM] emacs-w3m on Emacs 24
Uday S Reddy
2012-11-20 21:47:12 UTC
Permalink
I have this problem with Emacs 24.

If I run VM, along with emacs-w3m as the text/html viewer, then any file I
visit from then on seems to get loaded in "literally", i.e., non-ASCII
characters appear as octets and DOS line-endings appear as ^M's. The
variable `enable-multibyte-characters' is nil in all new buffers.

I am trying to see if anybody else is observing this problem? If so, please
let me know if it occurring on Unix systems as well as Windows.

Cheers,
Uday
Uday Reddy
2012-11-25 20:55:04 UTC
Permalink
Post by Uday S Reddy
If I run VM, along with emacs-w3m as the text/html viewer, then any file I
visit from then on seems to get loaded in "literally", i.e., non-ASCII
characters appear as octets and DOS line-endings appear as ^M's. The
variable `enable-multibyte-characters' is nil in all new buffers.
This problem apparently affects only MS-Windows users. Unix and Mac users
can rest easy. Kazuhiro Ito on the emacs-developers list contributed a
work-around to the problem.

The work-around is to put these two lines in your .emacs file:

(defvar buffer-file-type nil)
(make-variable-buffer-local 'buffer-file-type)

This variable will eventually disappear from Gnu Emacs. But, at the moment,
Emacs24 seems to be somewhat schizophrenic about it.

Cheers,
Uday

Loading...