From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: `hard-newline' changes trigger format=flowed in Gnus Date: Wed, 30 Nov 2005 16:10:28 +0100 Message-ID: References: <87k6er6m9l.fsf@stupidchicken.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133367786 20733 80.91.229.2 (30 Nov 2005 16:23:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2005 16:23:06 +0000 (UTC) Cc: Emacs development , Original-X-From: ding-owner+m9969@lists.math.uh.edu Wed Nov 30 17:23:03 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EhThQ-0005YM-NF for ding-account@gmane.org; Wed, 30 Nov 2005 16:16:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EhThG-0001bW-00; Wed, 30 Nov 2005 09:16:38 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EhTbY-0001bP-00 for ding@lists.math.uh.edu; Wed, 30 Nov 2005 09:10:44 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EhTbR-00038F-GZ for ding@lists.math.uh.edu; Wed, 30 Nov 2005 09:10:44 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EhTbQ-0007PA-00 for ; Wed, 30 Nov 2005 16:10:36 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.4/8.13.4) with ESMTP id jAUFATJ0010715; Wed, 30 Nov 2005 16:10:29 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id DF64A10D2F; Wed, 30 Nov 2005 16:10:28 +0100 (CET) Original-To: Chong Yidong Mail-Followup-To: Emacs development , X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm In-Reply-To: <87k6er6m9l.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 29 Nov 2005 18:56:54 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC-SIHOPE-DCC-3-Metrics: gemini 1085; Body=3 Fuz1=3 Fuz2=3 X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61439 gmane.emacs.devel:46812 Archived-At: On Tue, Nov 29 2005, Chong Yidong wrote: > Reiner Steib writes: > >> When copying some lines from the mail header (in Gnus' message mode) >> into the mail body, some of the newlines seem to be marked as `hard'. >> When sending (or previewing) the message, the function >> `fill-flowed-encode' detects the hard newlines and the whole message >> is encodes as format=flowed which leads to an unexpected output. > > What is the intended purpose of fill-flowed-encode? What is the > reason for message-mode to do anything special when there are hard > newlines in the buffer? There is some information in emacs-mime.texi: ,----[ (info "(emacs-mime)Flowed text") ] | The Emacs MIME library will respect the `use-hard-newlines' variable | (*note Hard and Soft Newlines: (emacs)Hard and Soft Newlines.) when | encoding a message, and the "format=flowed" Content-Type parameter when | decoding a message. | | On encoding text, regardless of `use-hard-newlines', lines | terminated by soft newline characters are filled together and wrapped | after the column decided by `fill-flowed-encode-column'. Quotation | marks (matching `^>* ?') are respected. The variable controls how the | text will look in a client that does not support flowed text, the | default is to wrap after 66 characters. If hard newline characters are | not present in the buffer, no flow encoding occurs. | [...] `---- IMHO, it won't hurt to add a short note and reference to this explanation in gnus.texi and message.texi. The only occurrence is in the "New Features" section (info "(gnus)Oort Gnus"). Suggestions? On Wed, Nov 30 2005, Chong Yidong wrote: > Reiner Steib writes: > >> the changes related to `hard-newline' seem to provoke undesired >> behavior in Gnus. > > I found out that it's not necessary to use hard-newline in those > places after all. I've reverted the 2005-11-29 changes to > mailheader.el Thanks. AFAICS this fixed the problem. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/