From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56207 Path: main.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.gnus.general Subject: Re: [flow-fill.el] Filling of quoted blank lines Date: Tue, 27 Jan 2004 15:43:55 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: angeli@iwi.uni-sb.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1075214770 26029 80.91.224.253 (27 Jan 2004 14:46:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2004 14:46:10 +0000 (UTC) Original-X-From: ding-owner+M4747@lists.math.uh.edu Tue Jan 27 15:46:03 2004 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 1AlUTb-0002UJ-00 for ; Tue, 27 Jan 2004 15:46:03 +0100 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 1AlURo-0008Go-00; Tue, 27 Jan 2004 08:44:12 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AlURe-0008Gg-00 for ding@lists.math.uh.edu; Tue, 27 Jan 2004 08:44:02 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id E4B423A004E for ; Tue, 27 Jan 2004 08:44:01 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AlURd-0005Gi-00 for ; Tue, 27 Jan 2004 15:44:01 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 69 Original-NNTP-Posting-Host: iwi190.iwi.uni-sb.de Original-X-Trace: quimby.gnus.org 1075214641 20242 134.96.72.190 (27 Jan 2004 14:44:01 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 27 Jan 2004 14:44:01 +0000 (UTC) Mail-Copies-To: nobody Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUAAABRTjbBxazr8c7/ ///0/NMCAgInQpwwAAABdUlEQVR4nJXTzW7DIAwAYFeTci5pxx0T5V6Ies/Pdt+0ByDN5Pd/hBlI E0KTw9xLxIcxYArDQcD62Wu9Dx3//geDVgcwfDZHUB1AewBdfdmD3p6Bmi10QqB0wCGqDbSlkn4Y CvdIoedpLScUpVZUJeAP/MHgZ9ePBKz/OAP4yV3RZCChCHtz12SpngdmGNxvAmZARBHq9u4t2S4a rXhH77yNG6TQKa2kvo3aKAfpUtr6QElEDpLicdxa468l3e43YjQzn3KpUZkblojW1stKscakhCiV EZpT0ox2FD4a+eCWFFWSEcYFCsEAU3LtEcRo+RhwegGi0MV5rbCrJ1Bo73UFFUDSGDo8rTCvpag0 S5H4fDqfg7amMQPuojb+sghy4KxwjVy/2AFrUO5mcNSvoC0GmDKY+yXTA8YwsVennxxqHVa6DDnI Ea0iqHLoz0WPzT19JSG+KJyshUuzhTvMQOMW2vhy2ufLWmuY8G/oHGQZi2Os8Qd3kAFISYdfAQAA AABJRU5ErkJggg== User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:7+6v+OjSzFM0dna2RuYiVxLlxVo= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56207 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56207 --=-=-= * Ralf Angeli (2004-01-19) writes: > * Ralf Angeli (2003-12-02) writes: > >> there are quite some people out there using Mozilla with >> `format=flowed' enabled. This is handled nicely by `flow-fill.el' >> except when it comes to quoted blank lines. Mozilla is quoting them >> with `> \n' where `flow-fill.el' sees soft line breaks at the end. The >> lines are filled and disappear. You can have a look at an example in >> comp.text.tex; the MID is . >> Compare the display of the message using `C-u g' and `g'. In the >> latter case some lines are missing. >> >> Is this the intended behaviour? I find it a little bit irritating and >> sometimes don't even want to answer such posts as I am afraid that >> Gnus messes up the text. [...] > As it is currently a bit annoying that `flow-fill.el' doesn't behave > like this I thought about an option to disable it completely as a > quick fix. Here is a tiny patch which adds this functionality: --=-=-= Content-Disposition: inline; filename=mm-view.diff Index: mm-view.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/mm-view.el,v retrieving revision 7.4 diff -u -r7.4 mm-view.el --- mm-view.el 15 Jan 2004 10:59:39 -0000 7.4 +++ mm-view.el 27 Jan 2004 14:35:06 -0000 @@ -64,6 +64,12 @@ (html2text html2text)) "The attributes of washer types for text/html.") +(defcustom mm-fill-flowed t + "If non-nil an format=flowed article will be displayed flowed." + :type 'boolean + :group 'mime-display) + + ;;; Internal variables. ;;; @@ -345,7 +351,8 @@ (mm-insert-part handle) (goto-char (point-max))) (insert (mm-decode-string (mm-get-part handle) charset))) - (when (and (equal type "plain") + (when (and mm-fill-flowed + (equal type "plain") (equal (cdr (assoc 'format (mm-handle-type handle))) "flowed")) (save-restriction --=-=-= -- Ralf --=-=-=--