[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 18:51:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Johan Vromans <address@hidden> writes:

> 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)))
>       (vm-decode-mime-encoded-words-in-string
>        (if to-p (vm-su-to-names m) (vm-su-full-name m))))))
> This looks fine at first sight, though.

Removing the UB format this seems to solve the problem!

-- Johan

reply via email to

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