From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24123 Path: main.gmane.org!not-for-mail From: Turbo Fredriksson Newsgroups: gmane.emacs.gnus.general Subject: [Turbo Fredriksson ] Re: problem with sending mail in pgnus 0.9[23] Date: 10 Jul 1999 20:05:09 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161744 7022 80.91.224.250 (21 Oct 2002 00:55:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:55:44 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA17998 for ; Sat, 10 Jul 1999 14:05:50 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB28288; Sat, 10 Jul 1999 13:05:46 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 10 Jul 1999 13:06:38 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA29058 for ; Sat, 10 Jul 1999 13:06:28 -0500 (CDT) Original-Received: from papadoc.nocrew.org (qmailr@papadoc.strul.net [193.15.228.205]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id OAA17982 for ; Sat, 10 Jul 1999 14:05:11 -0400 (EDT) Original-Received: (qmail 17851 invoked by uid 2000); 10 Jul 1999 18:05:09 -0000 Original-To: ding@gnus.org X-PGP-Fingerprint: B7 92 93 0E 06 94 D6 22 98 1F 0B 5B FE 33 A1 0B X-PGP-Key-ID: 0x788CD1A9 X-URL: http://www.nocrew.org/~turbo/ X-Yow: I'd like some JUNK FOOD... and then I want to be ALONE -- Original-Lines: 61 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24123 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24123 [Sorry lars, I should have sent this to the list instead of to you only] >>>>> "Lars" == Lars Magne Ingebrigtsen writes: Lars> Turbo Fredriksson writes: >> insert("Ispell" ": " t "\n") (save-excursion >> (message-remove-header "Ispell") (message-goto-eoh) (insert >> "Ispell" ": " t "\n")) (lambda nil (save-excursion >> (message-remove-header "Ispell") (message-goto-eoh) (insert >> "Ispell" "$ run-hooks(message-setup-hook) Lars> This is run from a hook. Is it a function you're written Lars> yourself, or one generated by Gnus? This is the hook that i have for 'message-setup-hook'. Doesn't matter if I disable it or not, same thing. The reason that I must remove the sig here (but have one in the resulting mail) is that it is PGP signed, and I always get PGP checksum mismatch (or something like this) when the mail is received if the sig is added after the signing. The sig is inserted again when I do 'message-send-and-exit' but BEFORE it is signed... BTW, how far have the PGnus PGP stuff got? Can i remove the TM hooks yet? ----- s n i p ----- (add-hook 'message-setup-hook 'turbo/message-setup-hook) (defun turbo/message-setup-hook () "Setup a message buffer, by checking if it's a reply to a message, and then remove the sender's signature etc (so that we don't have to do that our self). Also make sure that this message gets automaticly PGP signed, signature, spook and Yow inserted when we send of the message." ;; Remove the signature... (if (message-goto-signature) (let nil (beginning-of-line) (forward-line -2) (let ((beg (point))) ;; We really need to find the end of the sig... (goto-char (point-max)) (delete-region beg (point))))) ;; Make sure that this message get's a attached PGP ;; signature... (code stolen from 'tm/tm-edit.el') (if (and (or mime-editor/signing-type turbo/process-pgp) (not pgnusp)) (progn (setq mime-editor/pgp-processing 'sign) (message "This message will be signed.") ) (message "Please specify signing type."))) ----- s n i p ----- -- strategic domestic disruption spy [Hello to all my fans in domestic surveillance] genetic Rule Psix FBI colonel $400 million in gold bullion NORAD Soviet Delta Force Honduras Noriega terrorist