From: Greg Stark <gsstark@mit.edu>
Subject: Spook MIME Boundaries
Date: 19 Aug 2004 14:09:54 -0400 [thread overview]
Message-ID: <87657fdmod.fsf@stark.xeocode.com> (raw)
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
next reply other threads:[~2004-08-19 18:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 18:09 Greg Stark [this message]
2004-08-19 20:44 ` Florian Weimer
2004-08-19 21:35 ` Greg Stark
2004-08-19 21:44 ` Greg Stark
2004-08-20 0:01 ` Florian Weimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87657fdmod.fsf@stark.xeocode.com \
--to=gsstark@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).