[Mew-dist 11228] Re: Signature

Hideyuki SHIRAI ( 白井秀行 ) shirai at example.com
1999年 11月 10日 (水) 20:04:12 JST


From: Christophe TROESTLER <ev_galois at example.com> said
Subject: [Mew-dist 11222] Signature
Message-ID: <19991110045256H.ev_galois at example.com>
Date: Wed, 10 Nov 1999 12:54:58 +0900

> When I compose a message with attachments and then try to sign it,
> the signature tries to insert itself at the end--below the attachment
> area--which is read-only... an so that fails.  I have in my ~/.emacs
> 
> (setq mew-signature-insert-last t)
> (setq mew-signature-as-lastpart t)
> 
> Oh, BTW, I use the c-sig package.
                     ~~~~~ Error message output this elisp.

Have a below line in your ~/.emacs?
  (setq sig-insert-end t)

In this case, try this patch (for c-sig version 3.8).

-- 
Hideyuki SHIRAI (mailto:shirai at example.com)

--- c-sig.el.orig	Mon Jun 14 15:08:30 1999
+++ c-sig.el	Wed Nov 10 19:52:52 1999
@@ -191,7 +191,9 @@
 		(if (fboundp 'sig-filter-function)
 		    (setq sig (sig-filter-function sig)))))
 	  (if sig-insert-end
-	      (goto-char (point-max))
+	      (goto-char (or (and (fboundp 'mew-attach-begin)
+				  (mew-attach-begin))
+			     (point-max)))
 	    (beginning-of-line))
 	  (if sig-separator
 	      (insert sig-separator))



Mew-dist メーリングリストの案内