Gnus development mailing list
 help / color / mirror / Atom feed
* [Turbo Fredriksson <turbo@tripnet.se>] Re: problem with sending mail in pgnus 0.9[23]
@ 1999-07-10 18:05 Turbo Fredriksson
  1999-07-11  9:21 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 14+ messages in thread
From: Turbo Fredriksson @ 1999-07-10 18:05 UTC (permalink / raw)


[Sorry lars, I should have sent this to the list instead of to you only]

>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

    Lars> Turbo Fredriksson <turbo@tripnet.se> 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


^ permalink raw reply	[flat|nested] 14+ messages in thread
* problem with sending mail in pgnus 0.9[23]
@ 1999-07-08 19:12 Turbo Fredriksson
  1999-07-09 17:57 ` Lars Magne Ingebrigtsen
  1999-07-14 17:45 ` Turbo Fredriksson
  0 siblings, 2 replies; 14+ messages in thread
From: Turbo Fredriksson @ 1999-07-08 19:12 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=NIL, Size: 1215 bytes --]

When I do gnus-summary-mail-other-window or gnus-group-mail I get an error,
with the following line:

        Ispell: Subject:

With the error:

        Wrong type argument: char-or-string-p, t

What's up?

The backtrace shows:

----- s n i p -----
  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)
  message-setup(((To . "") (Subject . "")))
  message-mail()
  gnus-group-mail(nil)
* call-interactively(gnus-group-mail)
----- s n i p -----

This version (0.84) works perfect though.

-- 
 Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just 
 ^^^^^    / /(_)_ __  _   ___  __  selective about who its friends are 
         / / | | '_ \| | | \ \/ /   Debian Certified Linux Developer  
  _ /// / /__| | | | | |_| |>  <  Turbo Fredriksson   turbo@tripnet.se
  \\\/  \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden
-- 
BATF DES World Trade Center Peking assassination counter-intelligence
Ortega ammunition Ft. Bragg domestic disruption Serbian spy
cryptographic strategic class struggle

[-- Attachment #2: Type: application/pgp-signature, Size: 347 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~1999-09-18 15:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-10 18:05 [Turbo Fredriksson <turbo@tripnet.se>] Re: problem with sending mail in pgnus 0.9[23] Turbo Fredriksson
1999-07-11  9:21 ` Lars Magne Ingebrigtsen
1999-07-11 12:15   ` Turbo Fredriksson
1999-07-11 21:15     ` Kai Großjohann
1999-07-12 10:21       ` Turbo Fredriksson
1999-07-12 11:10         ` Kai Großjohann
1999-07-12 11:39           ` Turbo Fredriksson
1999-07-12 13:57             ` Peter von der Ahé
1999-07-12 14:51               ` Turbo Fredriksson
  -- strict thread matches above, loose matches on Subject: below --
1999-07-08 19:12 Turbo Fredriksson
1999-07-09 17:57 ` Lars Magne Ingebrigtsen
1999-07-14 17:45 ` Turbo Fredriksson
1999-07-14 21:28   ` Kai Großjohann
1999-09-18 15:03     ` Turbo Fredriksson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).