From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexander Pohoyda Newsgroups: gmane.emacs.devel Subject: Re: New mail-related routines Date: 20 Oct 2004 02:03:51 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <876556p860.fsf@oak.pohoyda.family> References: <200410182157.i9ILvjln000739@oak.pohoyda.family> <87sm8azjkp.fsf@oak.pohoyda.family> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098230672 22865 80.91.229.6 (20 Oct 2004 00:04:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2004 00:04:32 +0000 (UTC) Cc: Emacs development Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 20 02:04:27 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CK3xr-0002G0-00 for ; Wed, 20 Oct 2004 02:04:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CK45E-0003mq-13 for ged-emacs-devel@m.gmane.org; Tue, 19 Oct 2004 20:12:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CK454-0003m8-W8 for emacs-devel@gnu.org; Tue, 19 Oct 2004 20:11:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CK453-0003lw-76 for emacs-devel@gnu.org; Tue, 19 Oct 2004 20:11:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CK452-0003lt-Gy for emacs-devel@gnu.org; Tue, 19 Oct 2004 20:11:52 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1CK3xQ-00054V-Gd for emacs-devel@gnu.org; Tue, 19 Oct 2004 20:04:00 -0400 Original-Received: (qmail 28528 invoked by uid 65534); 20 Oct 2004 00:03:58 -0000 Original-Received: from p50843176.dip0.t-ipconnect.de (EHLO www2.gmx.net) (80.132.49.118) by mail.gmx.net (mp025) with SMTP; 20 Oct 2004 02:03:58 +0200 X-Authenticated: #14602519 Original-Received: from oak.pohoyda.family (localhost [127.0.0.1]) by www2.gmx.net (8.12.10/8.12.10) with ESMTP id i9K03qs0000902; Wed, 20 Oct 2004 02:03:52 +0200 (CEST) (envelope-from alexander.pohoyda@gmx.net) Original-Received: (from apog@localhost) by oak.pohoyda.family (8.12.10/8.12.10/Submit) id i9K03p7B000899; Wed, 20 Oct 2004 02:03:51 +0200 (CEST) (envelope-from alexander.pohoyda@gmx.net) X-Authentication-Warning: oak.pohoyda.family: apog set sender to alexander.pohoyda@gmx.net using -f Original-To: Reiner Steib In-Reply-To: Original-Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28638 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28638 Reiner Steib writes: > "foobar" because of incorrect unfolding. > > > I'll add an optional argument to control this behaviour. > > Please make the _strict_ behavior the default. Yes, I did. > >> The result with `rfc2047-unfold-region' is correct: > > > > Funny that the RFC 2047 itself does not define header field > > folding/unfolding, > > Section 8 of RFC 2047 contains examples for unfolding. Please note that those examples contain encoded words, not ordinary tokens. Here's the definition: When displaying a particular header field that contains multiple 'encoded-word's, any 'linear-white-space' that separates a pair of adjacent 'encoded-word's is ignored. > > so rfc2047-unfold-region is rather confusing name for this function. > > As soon as the MUA or news client claims to support MIME, it has to > unfold headers according to the MIME rules. Sure, but we are not talking about MIME yet. -- Alexander Pohoyda PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44