2 ;;; tm-gd5.el --- tm-gnus module for Gnus 5.*.
4 ;;; Copyright (C) 1995 Free Software Foundation, Inc.
5 ;;; Copyright (C) 1995 MORIOKA Tomohiko
7 ;;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
9 ;;; $Id: tm-gd5.el,v 1.1 1995/11/19 08:11:47 morioka Exp $
10 ;;; Keywords: news, MIME, multimedia, multilingual, encoded-word
12 ;;; This file is part of tm (Tools for MIME).
15 (cond ((not (boundp 'nnheader-encoded-words-decoding))
18 (defun tm-gnus/decode-summary-from-and-subjects ()
19 (mapcar (lambda (header)
20 (let ((from (mail-header-from header))
21 (subj (mail-header-subject header))
26 (mime-eword/decode-string from)
28 (mail-header-set-subject
31 (mime-eword/decode-string subj)
34 gnus-newsgroup-headers)
37 (add-hook 'gnus-select-group-hook
38 (function tm-gnus/decode-summary-from-and-subjects))