From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56420 Path: main.gmane.org!not-for-mail From: Andrew Korty Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Fix fill-paragraph near mml tags Date: Mon, 23 Feb 2004 19:22:04 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1077582185 17247 80.91.224.253 (24 Feb 2004 00:23:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2004 00:23:05 +0000 (UTC) Original-X-From: ding-owner+M4961@lists.math.uh.edu Tue Feb 24 01:22:57 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 1AvQLg-0005n2-00 for ; Tue, 24 Feb 2004 01:22:56 +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 1AvQL6-00032i-00; Mon, 23 Feb 2004 18:22:20 -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 1AvQL1-00032d-00 for ding@lists.math.uh.edu; Mon, 23 Feb 2004 18:22:15 -0600 Original-Received: from plounts.uits.indiana.edu (plounts.uits.indiana.edu [129.79.1.73]) by justine.libertine.org (Postfix) with ESMTP id 97BEF3A0203 for ; Mon, 23 Feb 2004 18:22:14 -0600 (CST) Original-Received: from fontz.uits.indiana.edu (fontz.uits.indiana.edu [129.79.1.76]) by plounts.uits.indiana.edu (8.12.10/8.12.10/IUPO) with ESMTP id i1O0M9ia019470 for ; Mon, 23 Feb 2004 19:22:09 -0500 (EST) Original-Received: from rikers.itso.iu.edu (rikers.itso.iu.edu [134.68.5.14]) by fontz.uits.indiana.edu (8.12.10/8.12.10/IUPO) with ESMTP id i1O0M8I7008121 for ; Mon, 23 Feb 2004 19:22:09 -0500 (EST) Original-Received: by rikers.itso.iu.edu (Postfix, from userid 1000) id 748FCB8C021; Mon, 23 Feb 2004 19:22:09 -0500 (EST) Original-To: ding@gnus.org User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (darwin) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56420 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56420 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The following patch seems necessary to keep fill-paragraph from gobbling up mml tags in surrounding text. For the time being I'm fixing it in gnus-setup-message-hook. - --8<---------------cut here---------------start------------->8--- - --- message.el~ Mon Feb 23 19:20:01 2004 +++ message.el Mon Feb 23 19:20:01 2004 @@ -2445,6 +2445,11 @@ (set (make-local-variable 'message-mime-part) 0) (message-setup-fill-variables) (set + (make-local-variable 'paragraph-start) + (format "\\(%s\\)\\|\\(%s\\)" + paragraph-start + "<#!*/?\\(multipart\\|part\\|external\\|mml\\|secure\\)")) + (set (make-local-variable 'paragraph-separate) (format "\\(%s\\)\\|\\(%s\\)" paragraph-separate - --8<---------------cut here---------------end--------------->8--- - -- Andrew J. Korty, Principal Security Engineer, GCIA, GCFA Office of the Vice President for Information Technology Indiana University -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (Darwin) iD8DBQFAOpkw8gM8+Mr5peERApT7AKCUILyViVqylIxUs/oj8CMlUJ72cQCg4lc2 K2GM3AM0R024WqHKQBTeo/U= =xO93 -----END PGP SIGNATURE-----