From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58298 Path: main.gmane.org!not-for-mail From: Greg Stark Newsgroups: gmane.emacs.gnus.general Subject: Spook MIME Boundaries Date: 19 Aug 2004 14:09:54 -0400 Organization: The Emacs Conspiracy; member since 1992 Sender: ding-owner@lists.math.uh.edu Message-ID: <87657fdmod.fsf@stark.xeocode.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092939258 16066 80.91.224.253 (19 Aug 2004 18:14:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Aug 2004 18:14:18 +0000 (UTC) Original-X-From: ding-owner+M6839@lists.math.uh.edu Thu Aug 19 20:14:09 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 1BxrQP-0002fe-00 for ; Thu, 19 Aug 2004 20:14:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BxrMY-0008MR-00; Thu, 19 Aug 2004 13:10:10 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BxrMP-0008MJ-00 for ding@lists.math.uh.edu; Thu, 19 Aug 2004 13:10:01 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BxrML-0000mz-UP for ding@lists.math.uh.edu; Thu, 19 Aug 2004 13:09:57 -0500 Original-Received: from stark.xeocode.com (gsstark.mtl.istop.com [66.11.160.162]) by justine.libertine.org (Postfix) with ESMTP id 3FD3D3A0026 for ; Thu, 19 Aug 2004 13:09:56 -0500 (CDT) Original-Received: from localhost ([127.0.0.1] helo=stark.xeocode.com) by stark.xeocode.com with smtp (Exim 3.36 #1 (Debian)) id 1BxrMJ-0007BN-00; Thu, 19 Aug 2004 14:09:55 -0400 Original-To: Gnus Mailing List Original-Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58298 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58298 I've been using this for a while, it seems like something others would find amusing too. It would be neat if this were the default or at least a standard option, the more widespread it is the more effective it is after all. (defun spook-make-boundary (&optional count) (save-excursion (set-buffer (generate-new-buffer " *spook tmp*")) (setq buffer-disable-undo t) (spook) (subst-char-in-region (point-min) (point-max) ?\n ?= t) (subst-char-in-region (point-min) (point-max) ? ?- t) (prog1 (buffer-substring (point-min) (min 70 (point-max))) (kill-buffer (current-buffer))))) (setq mml-boundary-function 'spook-make-boundary) -- greg