Re: Subject of single message not displaye in summary buffer
"Greg A. Woods" <[email protected]> Tue, 18 Jun 2019 01:01:16 -0700
| Newsgroups | gmane.mail.wanderlust.general |
|---|---|
| Organization | Planix, Inc. |
| Message-ID | <m1hd93N-0036tPC__20591.6693712183$1560844994$gmane$org@more.local> |
--pgp-sign-Multipart_Tue_Jun_18_01:00:52_2019-1 Content-Type: text/plain; charset=US-ASCII At Sat, 15 Jun 2019 20:47:15 +0200, "Herbert J. Skuhra" <[email protected]> wrote: Subject: Re: Subject of single message not displaye in summary buffer > > On Sat, 15 Jun 2019 13:47:11 +0200, Kazuhiro Ito wrote: > > > > > today I received an e-mail with the following subject line: > > > > > > Subject: [Reservierung#:690965] > > > > > > What could be the reason that wl does not display the subject in the > > > summary buffer? > > > > Wanderlust strips such "[ABC:000]" string from subject in summary > > buffer. Its purpose is to remove strings added by ML engines. You > > can customize the behavior by changing wl-summary-default-subject > > variable. Or override wl-summary-default-subject function by the > > below code. > > > > (defun wl-summary-default-subject (subject-string) > > (if (string-match "^[ \t]*\\[[^:]+[,: ][0-9]+\\][ \t]*\\([^ \t].*\\)$" > > subject-string) > > (match-string 1 subject-string) > > subject-string)) > > Thanks a lot for the hint and a fix. It works. I've had the following even simpler fix in my ~/.wl for the last 7 years or more: ;; Just setting wl-summary-subject-function to point to the identity function ;; will work, but perhaps other callers of the munging version of this function ;; would also appreciate just seeing the original text un-touched. ;; (setq wl-summary-subject-function 'identity) (defun wl-summary-default-subject (subject-string) subject-string) -- Greg A. Woods <[email protected]> +1 250 762-7675 RoboHack <[email protected]> Planix, Inc. <[email protected]> Avoncote Farms <[email protected]> --pgp-sign-Multipart_Tue_Jun_18_01:00:52_2019-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit Content-Description: OpenPGP Digital Signature -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCXQiaOAAKCRBmfXG3eL/0 f/F6AJ9ynJFf6h5wJKbMLDrGrzWnHQD9qQCdF+p+rb8+480jYQujRxzNo5LqQtU= =XsBs -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Jun_18_01:00:52_2019-1--