viewmail-info
[Top][All Lists]
Advanced

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

Re: [VM] error when sending mail with non-ASCII characters


From: Rainer J.H. Brandt
Subject: Re: [VM] error when sending mail with non-ASCII characters
Date: Wed, 20 Apr 2016 22:36:44 +0200

Here are some more details about the error:
The Emacs version is 24.5.1.

The error occurs when I enter C-c C-c in the mail composition buffer.
The mail body is just one word contining two german umlaut characters
which are part of iso-8859-1.

The error message is:
vm-mime-encode-text-part: Wrong type argument: char-or-string-p, nil

The debugger backtrace output is:
Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
  vm-mime-charset-to-coding(nil)
  vm-mime-encode-text-part(228 235 t)
  vm-mime-encode-composition-internal(nil)
  vm-mime-encode-composition()
  vm-mail-send()
  vm-mail-send-and-exit(nil)
  call-interactively(vm-mail-send-and-exit nil nil)
  command-execute(vm-mail-send-and-exit)

So, as I understand it, vm-mime-charset-to-coding expects a char-or-string,
but got nil.

In vm-mime.el, in the definition of vm-mime-encode-text-part, I see this:

(setq charset (vm-determine-proper-charset (point-min) (point-max)))
    (when (vm-emacs-mule-p)
      (let ((coding-system
             (vm-mime-charset-to-coding charset)))

So it seems that charset is nil, which means that vm-determine-proper-charset
failed.  After looking looking at its definition, I can't see why.

I have vm-mime-8bit-composition-charset set to "iso-8859-1"
and vm-coding-system-priorities set to ("iso-8859-1" "iso-8859-15" "utf-8").

Does anyone see what's going wrong?
Thanks,
Rainer



reply via email to

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