On Wed, 10 Jul 2019 11:59, andr...@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)
  (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)
    (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)
    (prog1
        (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---



Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to