emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs24 coding system problems


From: Stefan Monnier
Subject: Re: Emacs24 coding system problems
Date: Fri, 09 Nov 2012 12:01:29 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

>   - enable-multibyte-characters has the global value of t, but
>   - every time I visit a file, it gets turned off locally.
> The DOS line endings in files don't get recognized either.

Could you have set coding-system-for-read maybe?

> There must be something that VM does which fires this bug, but can't figure
> out what.  VM often creates unibyte buffers to load mail folders.  It uses a
> function like this to do so:

> (defun vm-generate-new-unibyte-buffer (name)
>   (if vm-xemacs-p
>       (generate-new-buffer name)
>     (let* ((buffer (generate-new-buffer name)))
>       (when (fboundp 'set-buffer-multibyte)
>       (with-current-buffer buffer
>         (set-buffer-multibyte nil)))
>       buffer)))

> I am not sure if this is violating any protocols.

No, this code looks sane.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]