From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9427 Path: main.gmane.org!not-for-mail From: "Lance A. Brown" Newsgroups: gmane.emacs.gnus.general Subject: Re: PGP verifying NoCeM messages Date: Wed, 15 Jan 1997 10:55:37 -0500 Message-ID: <5341.853343737@splat.niehs.nih.gov> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149455 18377 80.91.224.250 (20 Oct 2002 21:30:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:30:55 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.4/8.8.4) with SMTP id IAA23331 for ; Wed, 15 Jan 1997 08:14:46 -0800 Original-Received: from splat.niehs.nih.gov (root@splat.niehs.nih.gov [157.98.9.238]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 15 Jan 1997 16:55:44 +0100 Original-Received: from splat.niehs.nih.gov (labrown@localhost [127.0.0.1]) by splat.niehs.nih.gov (8.8.4/8.8.4) with ESMTP id KAA05344; Wed, 15 Jan 1997 10:55:38 -0500 (EST) Original-To: Paul Stodghill In-reply-to: Your message of "Wed, 15 Jan 1997 09:58:31 EST." Xref: main.gmane.org gmane.emacs.gnus.general:9427 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9427 Paul Stodghill writes: > If you can leave yourself logged in overnight, I _strongly_ recommend using > the demon for doing stuff like this when your Emacs is idle. I've been trying the demon stuff out as well, but stopped when I realized the demon was kicking in while I was working with emacs! [pause] Hmm. I see a demon fix in the changelog so I'll have to try this stuff out again. What I'd really like is to run an emacs process with gnus-slave in the background and have it do all the NoCeM stuff and have my normal emacs pull the slave info in whenever I read news. Then I could just leave the backgrounded emacs running all the time with gnus-demon processing the NoCeM for me. > Here's what I have in my .gnus: > (gnus-demon-add-nocem) > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > ;; Redefine some functions from gnus-demon.el > ;; 1 min idle time isn't enough. Wait for 5 mins. > (defun gnus-demon-add-nocem () > "Add daemonic NoCeM handling to Gnus." > (gnus-demon-add-handler 'gnus-demon-scan-nocem 60 5)) > ;; Don't try to fetch pgp keys when verifying in the demon. > ;; Emacs is idle! There's noone to answer Mailcrypt's prompts! > (defun gnus-demon-scan-nocem () > "Scan NoCeM groups for NoCeM messages." > (save-window-excursion > (let ((mc-pgp-always-fetch 'never)) > (gnus-nocem-scan-groups)))) > -- > Paul Stodghill > http://www.cs.cornell.edu/home/stodghil/home.html