← Back to team overview

vm team mailing list archive

Re: Trouble with vm-8.1.0-gnu23

 

> Hi Rene, This just means that VM didn't get loaded fully.  Create a small
> folder with a sample message.  Visit it using M-x vm-visit-folder so that VM
> gets loaded fully and then try the test I mentioned.

ok.

(vm-with-string-as-temp-buffer "Processus de Bologne : « L'objectif
 désormais est d'entériner le principe d'un enseignement centré sur
 l'étudiant » (Jean-Marc Rapp, EUA)" 'vm-mime-encode-words)

Here is what I get:

"Processus de Bologne : =?iso-8859-1?Q?=AB?= L'objectif
 =?iso-8859-1?Q?d=E9sormais?= est =?iso-8859-1?Q?d'ent=E9riner?= le principe d'un enseignement =?iso-8859-1?Q?centr=E9?= sur
 =?iso-8859-1?Q?l'=E9tudiant_=BB?= (Jean-Marc Rapp, EUA)"

> I spent a couple of hours this morning to test out your VM settings, using
> Emacs23 and VM 8.1.0.  They worked fine.  

Thanks for spending so much time just to help me.  I appreciate it.

> So, the problem is likely to be elsewhere, perhaps in your .emacs settings.  I
> don't know.

Since I've run the test with "emacs -q" this means the settings that pose these
problems should stem from the site-wide startup file and not from my own .emacs
init file I guess.

> Evaluate the calls
>   (vm-get-coding-system-priorities)
>   (vm-get-mime-ucs-list)
> in the *scratch* buffer and let us know what values you get.

Here is what I get:

(vm-get-coding-system-priorities)
==>  (iso-8859-1 iso-8859-2 iso-8859-15 iso-8859-16 utf-8)

(vm-get-mime-ucs-list)
==>  (utf-8 iso-2022-jp ctext escape-quoted)

> Since I can't reproduce your problem, I am afraid you will have to do some
> debugging yourself. 

Ok.  I'll do my best.

> Load the source file vm-mime.el.  Set debug-on-entry to
> vm-determine-proper-charset and see what values it returns for each call.  I
> would expect it to return iso-8859-1 every time.

The values returned for the following two calls:

   (vm-get-coding-system-priorities)
   (vm-get-mime-ucs-list)

are identical to the ones I got here above.

On the other hand, when evaluating:

(vm-with-string-as-temp-buffer "Processus de Bologne : « L'objectif désormais est d'entériner le principe d'un enseignement centré sur l'étudiant » (Jean-Marc Rapp, EUA)" 'vm-mime-encode-words)

here is the message I get:

Debugger entered--entering a function:
* vm-determine-proper-charset(24 #<marker at 25 in *vm-workbuf*>)
  vm-mime-encode-words()
  vm-with-string-as-temp-buffer("Processus de Bologne : \x00ab L'objectif d\x00e9sormais est d'ent\x00e9riner le principe d'un enseignement centr\x00e9 sur l'\x00e9tudiant \x00bb (Jean-Marc Rapp, EUA)" vm-mime-encode-words)
  eval((vm-with-string-as-temp-buffer "Processus de Bologne : \x00ab L'objectif d\x00e9sormais est d'ent\x00e9riner le principe d'un enseignement centr\x00e9 sur l'\x00e9tudiant \x00bb (Jean-Marc Rapp, EUA)" (quote vm-mime-encode-words)))
  eval-last-sexp-1(t)
  eval-last-sexp(t)
  eval-print-last-sexp()
  call-interactively(eval-print-last-sexp nil nil)

Thanks

--
Rene



Follow ups