WKD: mutt integration status

Werner Koch wk at gnupg.org
Wed Jul 10 19:39:06 CEST 2019

On Wed, 10 Jul 2019 11:59, andrewg at andrewg.com said:

> In this instance, I wonder if the apostrophe hasn't screwed something up
> - are apostrophes valid in the MIME boundary charset?

I use that for ages and believe this is all valid.  But new Emacs
versions sometimes chnage the spooky list and thus it is possible that
the latest list proves me wrong.

--8<---------------cut here---------------start------------->8---
(defun spook-make-boundary (&optional count)
    (set-buffer (generate-new-buffer " *spook tmp*"))
    (setq buffer-disable-undo t)
    (subst-char-in-region (point-min) (point-max) ?\n ?= t)
    (subst-char-in-region (point-min) (point-max) ?   ?_ t)
    (subst-char-in-region (point-min) (point-max) ?[  ?. t)
    (subst-char-in-region (point-min) (point-max) ?]  ?. t)
    (subst-char-in-region (point-min) (point-max) ?$  ?. t)
	(buffer-substring (point-min) (min 70 (point-max)))
      (kill-buffer (current-buffer)))))
(setq mml-boundary-function 'spook-make-boundary)
(add-hook 'gnus-group-mode-hook 'gnus-topic-mode)
--8<---------------cut here---------------end--------------->8---



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20190710/9d105920/attachment.sig>

More information about the Gnupg-users mailing list