;;; ;;; tm-gd5.el --- tm-gnus module for Gnus 5.*. ;;; ;;; Copyright (C) 1995 Free Software Foundation, Inc. ;;; Copyright (C) 1995 MORIOKA Tomohiko ;;; ;;; Author: MORIOKA Tomohiko ;;; Maintainer: MORIOKA Tomohiko ;;; Created: 1995/11/19 ;;; Version: ;;; $Id: tm-gd5.el,v 2.0 1995/11/21 02:51:08 morioka Exp $ ;;; Keywords: news, MIME, multimedia, multilingual, encoded-word ;;; ;;; This file is part of tm (Tools for MIME). ;;; ;;; This program is free software; you can redistribute it and/or ;;; modify it under the terms of the GNU General Public License as ;;; published by the Free Software Foundation; either version 2, or ;;; (at your option) any later version. ;;; ;;; This program is distributed in the hope that it will be useful, ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with This program. If not, write to the Free Software ;;; Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. (cond ((not (boundp 'nnheader-encoded-words-decoding)) (require 'tm-ew-d) (defun tm-gnus/decode-summary-from-and-subjects () (mapcar (lambda (header) (let ((from (mail-header-from header)) (subj (mail-header-subject header)) ) (mail-header-set-from header (if from (mime-eword/decode-string from) "")) (mail-header-set-subject header (if subj (mime-eword/decode-string subj) "")) )) gnus-newsgroup-headers) ) (add-hook 'gnus-select-group-hook (function tm-gnus/decode-summary-from-and-subjects)) )) ;;; @ end ;;; (provide 'tm-gd5)