[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: S/MIME with Wanderlust



> mime-view-temp-message-buffer is a variable defined in `mime-play.el'.
> Its value is #<buffer  *WL:Message*-nil>
(snip)
> That means the buffer with the raw decrypted content has the name:
> *WL:Message*-nil But I do not know how to display this buffer. M-x b
> does not show this buffer because it is not global, I guess.  How
> can I display this buffer?

In this case, buffer name is " *WL:Message*-nil", containing leading
space.  Type C-x b SPC TAB, and you can see the buffer in completion
list.

> I attached you the contents of the buffer *WL:Message*-nil in my
> last mail to you.
> 
> Then I went into hexl-mode as you asked me to do. The result (only
> the beginning) is visible in screenshot attached below.

If attached image is the result of hexl-mode in " *WL:Message*-nil"
buffer, it seems that buffer contains extra CR in each EOL EasyPG does
not expect.  Please try below advice.

(defadvice epg-decrypt-string (around remove-gpgsm-cr activate)
  (if (eq (epg-context-protocol context) 'CMS)
      (setq ad-return-value
	    (replace-regexp-in-string "\r\n" "\n" ad-do-it t t))
    ad-do-it))

-- 
Kazuhiro Ito