From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86694 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.gnus.general Subject: Re: text/plain with 80 char wrap vs the flowed mime-type (whatever it is) Date: Thu, 04 Feb 2016 16:30:53 +0200 Message-ID: <874mdozgwy.fsf@iki.fi> References: <0legd2r8dh.fsf@wjh.hardakers.net> <87powmeahd.fsf@yale.edu> <874mdp834v.fsf@iki.fi> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1454596341 3640 80.91.229.3 (4 Feb 2016 14:32:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 14:32:21 +0000 (UTC) Cc: ding@gnus.org To: Mark Simpson Original-X-From: ding-owner+M34920@lists.math.uh.edu Thu Feb 04 15:32:08 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRKx3-0001ou-1S for ding-account@gmane.org; Thu, 04 Feb 2016 15:32:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aRKw6-0002rQ-1t; Thu, 04 Feb 2016 08:31:06 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aRKw3-0002qs-0i for ding@lists.math.uh.edu; Thu, 04 Feb 2016 08:31:03 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aRKw0-0008Gp-MK for ding@lists.math.uh.edu; Thu, 04 Feb 2016 08:31:02 -0600 Original-Received: from mta-out1.inet.fi ([62.71.2.195] helo=johanna4.inet.fi) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1aRKvx-0008QJ-Tb for ding@gnus.org; Thu, 04 Feb 2016 15:30:57 +0100 RazorGate-KAS: Status: not_detected RazorGate-KAS: Rate: 0 RazorGate-KAS: Envelope from: RazorGate-KAS: Version: 5.5.3 RazorGate-KAS: LuaCore: 215 2015-05-29_17-31-22 60ae4a1b4d01d14f868b20a55aced8d7df7b2e28 RazorGate-KAS: Lua profiles 78662 [Jun 02 2015] RazorGate-KAS: Method: none Original-Received: from mithlond.arda (84.251.143.106) by johanna4.inet.fi (9.0.002.03-2-gbe5d057) id 56ACD303005D81DC; Thu, 4 Feb 2016 16:30:57 +0200 Original-Received: from dtw by mithlond.arda with local (Exim 4.84) (envelope-from ) id 1aRKvw-00016o-R0; Thu, 04 Feb 2016 16:30:56 +0200 In-Reply-To: <874mdp834v.fsf@iki.fi> (Teemu Likonen's message of "Thu, 04 Feb 2016 07:18:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) X-Spam-Score: -2.1 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86694 Archived-At: --=-=-= Content-Type: text/plain; format=flowed Teemu Likonen [2016-02-04 07:18:24+02] wrote: > I've noticed the same but it's probably easy to fix. One could > add a > function to gnus-message-setup-hook variable. The function would > look > for any "^>" lines (as in regexp) in the message body, go to the > end of > line and add text property HARD to value T. I haven't tested > this idea, > though. I meant code like this: (add-hook 'gnus-message-setup-hook #'tl-format-flowed) (defun tl-format-flowed () (use-hard-newlines nil 'always) (save-excursion (message-goto-body) (save-match-data (while (re-search-forward "^>.*$" nil t) (put-text-property (point) (1+ (point)) 'hard t))))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWs2CgAAoJEHGdadMkU5RQnSoP/2gOAxIzgFh0c56oM/D73ySJ CDX2RUqXbFEd7StTAZJ8UcgJ5w2Lvl1fHjXRgN7d5zSwP2QAO5a2ve/aoFFyz7zg KbYOfZoeAwlm8hi1ztL+Dw7Pz5k6aLbJOzbXPfOjlbj3GRvKHSA/Wg0NHHNqOFDY 89i4ryG7lgDLipr5mjY9fPIXW/ed5g5V8CegNABiwEsaIAR2RD9Wsje2jZLw97Ec I4ZI6mcvdlKgT5SxVAiq6dN1lWftgMi/J/qQbeaAvRe2+tn3cB+QEaNff1IrtAw6 1XZylYLOBj0t9hWKGeGd2KUflsU1lYiKb2m3BXhO5gGYnXprqU7JRJSxpQTIMIEj EomgToyxbXUVEtMLTnQ++LmHkIryLKFn0EygrSgKSVF1vdpUpS1lnHi3BhrRCZ5r Xi2bYB6WwMkp+Xso9vP3gNoc4U+vtD1Nzjrtidm8dY/6k2UWMN7IYSgQw5CQGJ/y nwx5J4CwU6YxffXpBlabsQYkekrRI/jCr5jRvVw7LnMsGtgsNX7nhx+dgk6CBxSF kpQID4NgZaMPqam/28Rv/nqNKIeT3cdi9chQ8rsVCDs1IW4sgwhlJ+z+YDWtQP4/ HleeTjTlz/CYEi5Bpdk3qYPCv+w8nesD1wttpWK+cNH4KJZcGWAZkQPe7GsfG4Ka IDmpKVb8ef/956FEfFZV =Mb6v -----END PGP SIGNATURE----- --=-=-=--