Gnus development mailing list
 help / color / mirror / Atom feed
* Getting started with gpg.el
@ 2003-01-11  0:24 Kirk Strauser
  2003-01-11  7:57 ` Hans de Graaff
  2003-01-11 15:45 ` Simon Josefsson
  0 siblings, 2 replies; 8+ messages in thread
From: Kirk Strauser @ 2003-01-11  0:24 UTC (permalink / raw)


I've just switched to Oort (via Debian/unstable packages) and want to start
using gpg.el.  I can successfully sign and verify emails, but would like to
automatically sign all outgoing email (bonus points if I can configure it
per-group so as not to confuse my parents).  I know this is possible (hey,
it's Gnus!), but is it something that's already built-in that I've
overlooked so far, or do I need to start hacking up key bindings?
-- 
Kirk Strauser
In Googlis non est, ergo non est.




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

* Re: Getting started with gpg.el
  2003-01-11  0:24 Getting started with gpg.el Kirk Strauser
@ 2003-01-11  7:57 ` Hans de Graaff
  2003-01-11 22:29   ` Switched to PGG, thanks! (was Re: Getting started with gpg.el) Kirk Strauser
  2003-01-13 22:26   ` Getting started with gpg.el Kirk Strauser
  2003-01-11 15:45 ` Simon Josefsson
  1 sibling, 2 replies; 8+ messages in thread
From: Hans de Graaff @ 2003-01-11  7:57 UTC (permalink / raw)


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

On Fri, 10 Jan 2003, Kirk Strauser wrote:

> I've just switched to Oort (via Debian/unstable packages) and want
> to start using gpg.el.  I can successfully sign and verify emails,
> but would like to automatically sign all outgoing email (bonus
> points if I can configure it per-group so as not to confuse my
> parents).  I know this is possible (hey, it's Gnus!), but is it
> something that's already built-in that I've overlooked so far, or do
> I need to start hacking up key bindings?

(add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgpmime)

Works for me. It add a text line in the message buffer which I just
delete when I don't want a message to be signed.

Hans

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

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

* Re: Getting started with gpg.el
  2003-01-11  0:24 Getting started with gpg.el Kirk Strauser
  2003-01-11  7:57 ` Hans de Graaff
@ 2003-01-11 15:45 ` Simon Josefsson
  2003-01-11 16:11   ` Kirk Strauser
  1 sibling, 1 reply; 8+ messages in thread
From: Simon Josefsson @ 2003-01-11 15:45 UTC (permalink / raw)
  Cc: ding

Kirk Strauser <kirk@strauser.com> writes:

> I've just switched to Oort (via Debian/unstable packages) and want to start
> using gpg.el.

FWIW, gpg.el is obsoleted by PGG.




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

* Re: Getting started with gpg.el
  2003-01-11 15:45 ` Simon Josefsson
@ 2003-01-11 16:11   ` Kirk Strauser
  0 siblings, 0 replies; 8+ messages in thread
From: Kirk Strauser @ 2003-01-11 16:11 UTC (permalink / raw)



At 2003-01-11T15:45:39Z, Simon Josefsson <jas@extundo.com> writes:

> Kirk Strauser <kirk@strauser.com> writes:

>> I've just switched to Oort (via Debian/unstable packages) and want to
>> start using gpg.el.

> FWIW, gpg.el is obsoleted by PGG.

Story of my life, right their in two quotes.  Sigh.
-- 
Kirk Strauser
In Googlis non est, ergo non est.



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

* Switched to PGG, thanks! (was Re: Getting started with gpg.el)
  2003-01-11  7:57 ` Hans de Graaff
@ 2003-01-11 22:29   ` Kirk Strauser
  2003-01-13 22:26   ` Getting started with gpg.el Kirk Strauser
  1 sibling, 0 replies; 8+ messages in thread
From: Kirk Strauser @ 2003-01-11 22:29 UTC (permalink / raw)


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


At 2003-01-11T07:57:53Z, Hans de Graaff <hans@degraaff.org> writes:

> (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgpmime)
>
> Works for me. It add a text line in the message buffer which I just
> delete when I don't want a message to be signed.

<monty burns>
Excellent!
</monty burns>
-- 
Kirk Strauser
In Googlis non est, ergo non est.

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

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

* Re: Getting started with gpg.el
  2003-01-11  7:57 ` Hans de Graaff
  2003-01-11 22:29   ` Switched to PGG, thanks! (was Re: Getting started with gpg.el) Kirk Strauser
@ 2003-01-13 22:26   ` Kirk Strauser
  2003-01-14  0:53     ` Raja R Harinath
  1 sibling, 1 reply; 8+ messages in thread
From: Kirk Strauser @ 2003-01-13 22:26 UTC (permalink / raw)


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


At 2003-01-11T07:57:53Z, Hans de Graaff <hans@degraaff.org> writes:

> On Fri, 10 Jan 2003, Kirk Strauser wrote:

> (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign-pgpmime)
>
> Works for me.

Hans,

I've been thinking that it would be nice to configure this per-group.  What
I'd like to do is set a variable in topic parameter or group parameters that
would contain the name of hooks to handle within only the specified groups.
I don't know enough list to make it happen, but it would be along the lines
of:

In .gnus:

 (add-hook 'gnus-message-setup-hook late-bound-variable-with-hook-name)

In topic parameters:

 (late-bound-variable-with-hook-name . "mml-secure-message-sign-pgpmime")

In group parameters where no signing is desirable:

 (late-bound-variable-with-hook-name . nil)


I realize that it's very easy to delete the "<#secure method..." line when
signing isn't desireable, but what good is Gnus if you have to do anything
manually?  :)
-- 
Kirk Strauser
In Googlis non est, ergo non est.

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

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

* Re: Getting started with gpg.el
  2003-01-13 22:26   ` Getting started with gpg.el Kirk Strauser
@ 2003-01-14  0:53     ` Raja R Harinath
  2003-01-20 20:29       ` Kirk Strauser
  0 siblings, 1 reply; 8+ messages in thread
From: Raja R Harinath @ 2003-01-14  0:53 UTC (permalink / raw)
  Cc: ding

Kirk Strauser <kirk@strauser.com> writes:

[snip]

> I've been thinking that it would be nice to configure this per-group.  What
> I'd like to do is set a variable in topic parameter or group parameters that
> would contain the name of hooks to handle within only the specified groups.
> I don't know enough list to make it happen, but it would be along the lines
> of:
>
> In .gnus:
>
>  (add-hook 'gnus-message-setup-hook late-bound-variable-with-hook-name)

Totally untested.

  (add-hook 'gnus-message-setup-hook
          (lambda ()
            (interactive)
            (and late-bound-variable-with-hook-name
                 (funcall late-bound-variable-with-hook-name))))

> In topic parameters:
>
>  (late-bound-variable-with-hook-name . "mml-secure-message-sign-pgpmime")

Try

  (late-bound-variable-with-hook-name . 'mml-secure-message-sign-pgpmime)

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu



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

* Re: Getting started with gpg.el
  2003-01-14  0:53     ` Raja R Harinath
@ 2003-01-20 20:29       ` Kirk Strauser
  0 siblings, 0 replies; 8+ messages in thread
From: Kirk Strauser @ 2003-01-20 20:29 UTC (permalink / raw)


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


At 2003-01-14T00:53:33Z, Raja R Harinath <harinath@cs.umn.edu> writes:

> Totally untested.
>
>   (add-hook 'gnus-message-setup-hook
>           (lambda ()
>             (interactive)
>             (and late-bound-variable-with-hook-name
>                  (funcall late-bound-variable-with-hook-name))))
>
>> In topic parameters:
>
>   (late-bound-variable-with-hook-name . 'mml-secure-message-sign-pgpmime)

Thanks, Hari!  That worked like a champ.  I now have different signature
methods for mail and news!
-- 
Kirk Strauser

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

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

end of thread, other threads:[~2003-01-20 20:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-11  0:24 Getting started with gpg.el Kirk Strauser
2003-01-11  7:57 ` Hans de Graaff
2003-01-11 22:29   ` Switched to PGG, thanks! (was Re: Getting started with gpg.el) Kirk Strauser
2003-01-13 22:26   ` Getting started with gpg.el Kirk Strauser
2003-01-14  0:53     ` Raja R Harinath
2003-01-20 20:29       ` Kirk Strauser
2003-01-11 15:45 ` Simon Josefsson
2003-01-11 16:11   ` Kirk Strauser

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).