From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41950 Path: main.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.gnus.general Subject: Re: Support for encoding format=flowed (RFC 2646) Date: Sun, 13 Jan 2002 13:53:33 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <874rlqrn02.fsf@squeaker.lickey.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: main.gmane.org 1035177265 8809 80.91.224.250 (21 Oct 2002 05:14:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:14:25 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 27591 invoked from network); 13 Jan 2002 20:54:45 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 13 Jan 2002 20:54:45 -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 16Prdb-0004yc-00; Sun, 13 Jan 2002 14:53:55 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 13 Jan 2002 14:53:47 -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 OAA12258 for ; Sun, 13 Jan 2002 14:53:36 -0600 (CST) Original-Received: (qmail 27581 invoked by alias); 13 Jan 2002 20:53:39 -0000 Original-Received: (qmail 27576 invoked from network); 13 Jan 2002 20:53:38 -0000 Original-Received: from hank.lickey.com (ident-is-dumb@64.81.100.235) by gnus.org with SMTP; 13 Jan 2002 20:53:38 -0000 Original-Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id 44D45EE3D for ; Sun, 13 Jan 2002 13:53:37 -0700 (MST) Original-Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id 5B7B5BF56 for ; Sun, 13 Jan 2002 13:53:36 -0700 (MST) Original-Received: by squeaker.lickey.com (Postfix, from userid 1000) id 68AA8BF53; Sun, 13 Jan 2002 13:53:34 -0700 (MST) Mail-Copies-To: never Original-To: Simon Josefsson Mail-Followup-To: jas@extundo.com, ding@gnus.org Original-Lines: 38 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1 (i386-debian-linux-gnu) X-Virus-Scanned: by AMaViS snapshot-20010714 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41950 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41950 Simon Josefsson writes: > I have checked in preliminary format=flowed support. The > missing > functionality right now is doing the right thing when following > up > > > on > an article. > > How to use: Enable `use-hard-newlines' (see emacs manual) in > > the > message buffer, and the code should fill and format=flow encode > your > article according to the soft/hard newlines in the buffer. > Hint: I > find `use-hard-newlines' useless without something similar to > M-x > longlines-show-hard-newlines RET from longlines.el. > > (I also changed the format=flowed decoding code to flow the > > > > message > to > the width of the window.) > > As you can see, the above > paragraphs are filled nicely > while this one sentences isn't. > This is because I hit RET after > each of these lines, without > using M-q on the paragraph. > > > -- matt Seems to work, with some problems that probably aren't all Gnus related. I have this in my .gnus: (defun my-message-setup-hook () (use-hard-newlines 1 'always) (require 'longlines) (set (make-local-variable 'longlines-show-hard-newlines) t)) (add-hook 'gnus-message-setup-hook 'my-message-setup-hook) First, when I turn on longlines minor mode, my signature gets glommed onto the text I am replying to (see above). This is probably a longlines thing. Hmm... Second, when Gnus inserts my .signature, they get inserted with hard newlines. So others see a blank line after my '--' signature line. Third, maybe this is a longlines thing, but I can't bear to edit a message without a blank line between each paragraph. Is there a way to get longlines to do that for me? Fourth, is inserting two blank lines for every hard newline the right thing to do? I bet my elisp above is going to look funny.