From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53938 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: rfc2047.el bug? Date: Thu, 11 Sep 2003 10:34:46 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063244166 18091 80.91.224.253 (11 Sep 2003 01:36:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2003 01:36:06 +0000 (UTC) Original-X-From: ding-owner+M2478@lists.math.uh.edu Thu Sep 11 03:36:04 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xGNQ-00049m-00 for ; Thu, 11 Sep 2003 03:36:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19xGNK-0001aw-00; Wed, 10 Sep 2003 20:35:58 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19xGNG-0001aq-00 for ding@lists.math.uh.edu; Wed, 10 Sep 2003 20:35:54 -0500 Original-Received: (qmail 55181 invoked by alias); 11 Sep 2003 01:35:54 -0000 Original-Received: (qmail 55176 invoked from network); 11 Sep 2003 01:35:54 -0000 Original-Received: from minsk.servershost.net (HELO minsk.hostforweb.net) (69.61.9.140) by sclp3.sclp.com with SMTP; 11 Sep 2003 01:35:54 -0000 Original-Received: from yamaokac by minsk.hostforweb.net with local (Exim 4.20) id 19xGNJ-0007EM-Jm for ding@gnus.org; Wed, 10 Sep 2003 21:35:58 -0400 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:hV0Jh+ALSVw+gw8HxBwJYQaPsU8= X-Payment: hashcash 1.2 0:030911:ding@gnus.org:7a2fde48d0a5c616 X-Hashcash: 0:030911:ding@gnus.org:7a2fde48d0a5c616 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - minsk.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32531 32531] / [47 12] X-AntiAbuse: Sender Address Domain - minsk.hostforweb.net Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53938 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53938 >>>>> In >>>>> Jesper Harder wrote: > Katsumi Yamaoka writes: >> Gnus sometimes encodes a Japanese-English mixture text to the >> line length exceeding 76 characters. For example: [...] > I've checked in a fix. Thanks! It fixes a problem when encoding at least Japanese text. However, the FLIM's encoder is still high quality overwhelmingly. We can use it for Gnus as follows: (eval-after-load "mail-parse" '(progn (defalias 'mail-encode-encoded-word-buffer (lambda nil (require 'eword-encode) (mime-encode-header-in-buffer t))) ;; (defadvice eword-encode-text (after downcase-charset activate) ;; "Convert charset and encoding strings to lower case." ;; (require 'eword-decode) ;; (if (and ad-return-value ;; (string-match eword-encoded-word-regexp ;; ad-return-value)) ;; (setq ad-return-value ;; (concat ;; (downcase (substring ad-return-value ;; 0 (match-beginning 4))) ;; (substring ad-return-value ;; (match-beginning 4)))))) )) P.S. Please don't use smtpmail.el included in the FLIM package. It is slightly incompatible with the Emacs version of smtpmail.el. I've made a proposal to remove it from the package, but there's no response from the authors. -- Katsumi Yamaoka ;; I'm now renewing the "multiple message frames" suit. :)