[Top][All Lists]

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

Re: [VM] (Still) problems with Latin1 characters in the summary

From: Johan Vromans
Subject: Re: [VM] (Still) problems with Latin1 characters in the summary
Date: Wed, 17 Aug 2011 17:42:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Uday Reddy <address@hidden> writes:

> It is working correctly for me.


> Can you try it with the default VM settings, i.e. without your
> .vm.preferences or .vm file?  emacs -q is of no help for our purposes.

I thought I defeated all of the private settings.

I moved .vm out of the way (vm.preferences is elsewhere anyway).

With "emacs --no-init-file --no-site-file --load vm-8.2.0a/vm-load.el" 
I do, indeed, get the desired results.

With my operational .vm (but without .vm.preferences) I still get good

So it must be some setting in my preferences.


My summary format is:

  (setq vm-summary-format "%n %*%a %-18.18UB %-3.3m %2d %4l %UL%I%s\n")

The actual entry in the summary is generated by vm-summary-function-B,
which is part of the bbdb package (file bbdb-vm.el).

  (defun vm-summary-function-B (m &optional to-p)
    "Given a VM message returns the BBDB name of the sender.
  Respects vm-summary-uninteresting-senders."
    (if (and vm-summary-uninteresting-senders (not to-p))
        (let ((case-fold-search nil))
      (if (string-match vm-summary-uninteresting-senders (vm-su-from m))
          (concat vm-summary-uninteresting-senders-arrow
              (vm-summary-function-B m t))
        (or (bbdb/vm-alternate-full-name  (vm-su-from m))
            (vm-su-full-name m))))
      (or (bbdb/vm-alternate-full-name (if to-p (vm-su-to m) (vm-su-from m)))
       (if to-p (vm-su-to-names m) (vm-su-full-name m))))))

This looks fine at first sight, though.

Any other suggestions?

-- Johan

reply via email to

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