Gnus development mailing list
 help / color / mirror / Atom feed
From: gdt@work.lexort.com
Subject: hook to insert sign command and forwarded messages
Date: Fri, 25 Aug 2006 08:36:18 -0400	[thread overview]
Message-ID: <smulkpduh4t.fsf_-_@linuxpal.mit.edu> (raw)
In-Reply-To: <873bbnnciw.fsf@gate450.dyndns.org> (Andreas Seltenreich's message of "Wed, 23 Aug 2006 09:20:55 +0200")

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]


I have the following hook:

      (add-hook
       'message-setup-hook
       (lambda ()
	 (message-goto-body)
	 (mml-secure-message-sign-pgpmime)))

This works fine for most things.  But when I forward a message (C-c
C-f), the <#secure..> line is after the #mml markup around the
message.  I just added message-goto-body to try to fix this, thinking
my hook would run after the message was inserted.

So, I'm not sure what's wrong.  Candidates are:

 mml-secure-message-sign-pgpmime should insert at beginning (seems
 like it does, and message-goto-body ensures that)

 insertion of forwarded message should be after any secure tags

 hook should be run after the insertion

 ?

-- 
    Greg Troxel <gdt@work.lexort.com>

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

  reply	other threads:[~2006-08-25 12:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-11 22:24 backporting bugfixes to the v5-10 branch Andreas Seltenreich
2006-07-17 17:52 ` Reiner Steib
2006-07-20 17:12   ` Andreas Seltenreich
2006-08-22  7:24     ` Andreas Seltenreich
2006-08-22 13:59       ` Reiner Steib
2006-08-23  4:20         ` Andreas Seltenreich
2006-08-23  7:20     ` The Agent vs. gnus-find-method-for-group (was: backporting bugfixes to the v5-10 branch) Andreas Seltenreich
2006-08-25 12:36       ` gdt [this message]
2006-08-28  0:49         ` hook to insert sign command and forwarded messages Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=smulkpduh4t.fsf_-_@linuxpal.mit.edu \
    --to=gdt@work.lexort.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).