Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Fix fill-paragraph near mml tags
@ 2004-02-24  0:22 Andrew Korty
  2004-02-24  7:48 ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Korty @ 2004-02-24  0:22 UTC (permalink / raw)


-----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-----



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix fill-paragraph near mml tags
  2004-02-24  0:22 [PATCH] Fix fill-paragraph near mml tags Andrew Korty
@ 2004-02-24  7:48 ` Katsumi Yamaoka
  0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2004-02-24  7:48 UTC (permalink / raw)
  Cc: ding

>>>>> In <m2hdxh2uoj.fsf@Andrew-Kortys-Computer.local>
>>>>>	Andrew Korty <ajk@iu.edu> wrote:

> 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.

Thanks.  I've added it in the message-setup-fill-variables
function.  It seems to be needed for Emacs 21.3 and older.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-24  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-24  0:22 [PATCH] Fix fill-paragraph near mml tags Andrew Korty
2004-02-24  7:48 ` Katsumi Yamaoka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).