From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41457 Path: main.gmane.org!not-for-mail From: Reiner Steib <4uce.02.r.steib@gmx.net> Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-summary-edit-article and wrapped From-line Date: Wed, 02 Jan 2002 23:58:14 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035176849 6237 80.91.224.250 (21 Oct 2002 05:07:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:07:29 +0000 (UTC) Return-Path: Original-Received: (qmail 5453 invoked from network); 2 Jan 2002 22:59:03 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 2 Jan 2002 22:59:03 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16LuLD-0000BK-00; Wed, 02 Jan 2002 16:58:35 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 02 Jan 2002 16:58:27 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA26488 for ; Wed, 2 Jan 2002 16:58:16 -0600 (CST) Original-Received: (qmail 5418 invoked by alias); 2 Jan 2002 22:58:18 -0000 Original-Received: (qmail 5413 invoked from network); 2 Jan 2002 22:58:18 -0000 Original-Received: from theotp5.physik.uni-ulm.de (134.60.10.145) by gnus.org with SMTP; 2 Jan 2002 22:58:18 -0000 Original-Received: (from ste@localhost) by theotp5.physik.uni-ulm.de (8.11.2/8.11.2) id g02MwFu09710; Wed, 2 Jan 2002 23:58:15 +0100 X-Authentication-Warning: theotp5.physik.uni-ulm.de: ste set sender to 4uce.02.r.steib@gmx.net using -f Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 30 Dec 2001 22:29:20 +0100") Original-Lines: 25 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1 (i586-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41457 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41457 --=-=-= On Sun, Dec 30 2001, Lars Magne Ingebrigtsen wrote: > Right. Well, I don't have any nnfolder groups handy -- could someone > who uses nnfolder have a peek at this problem as see what they cause > is? > > (The problem is that `e' on the article creates a buggy "From " line. > I didn't think the "From " line would be included in the `e' output at > all...) The attached `patch' prevents the folding of the From-line (simply skip rfc2047-fold-region in lisp/rfc2047.el after `;; No encoding necessary, but folding is nice'). Maybe folding isn't so nice after all. :-/ At least the From-line shouldn't be folded, AFAICS. Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/ --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=long-from-line.patch Content-Description: skip rfc2047-fold-region Index: lisp/rfc2047.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/rfc2047.el,v retrieving revision 6.27 diff -u -r6.27 rfc2047.el --- lisp/rfc2047.el 2001/12/31 05:28:05 6.27 +++ lisp/rfc2047.el 2002/01/02 22:08:28 @@ -147,14 +147,14 @@ (car message-posting-charset)) nil) ;; No encoding necessary, but folding is nice - (rfc2047-fold-region + (if nil (rfc2047-fold-region (save-excursion (goto-char (point-min)) (skip-chars-forward "^:") (when (looking-at ": ") (forward-char 2)) (point)) - (point-max))) + (point-max)))) ;; We found something that may perhaps be encoded. (setq method nil alist rfc2047-header-encoding-alist) --=-=-=--