From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37681 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Problem with timer in gpg.el Date: Fri, 10 Aug 2001 10:21:37 -0700 Sender: zsh@piglet.jia.vnet Message-ID: <2n8zgrespq.fsf@piglet.jia.vnet> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173056 15148 80.91.224.250 (21 Oct 2002 04:04:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:04:16 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 15049 invoked from network); 10 Aug 2001 17:24:30 -0000 Original-Received: from unknown (HELO zsh.2y.net) (131.241.79.80) by gnus.org with SMTP; 10 Aug 2001 17:24:30 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.2/8.11.2) id f7AHLbQ04715; Fri, 10 Aug 2001 10:21:37 -0700 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.105 Original-Lines: 25 Xref: main.gmane.org gmane.emacs.gnus.general:37681 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37681 Andreas Jaeger writes: > I've got a problem with timers in gpg.el in XEmacs. > > I regularly get the message: > itimer named "itimer-0" already existing and activated > > The problem is that the value of gpg-passpthrase-timer is cached, the > implementation in XEmacs seems to require that a canceled timer is not used > anymore. The next time a new timer is used, in my case by perl, it > reuses the name "itimer-0", and then gpg get's a problem... > > I'm appending a patch that solved the problem for me, > Andreas > > 2001-08-07 Andreas Jaeger > > * gpg.el (gpg-passphrase-forget): Don't cache > gpg-passphrase-timer. > (gpg-passphrase-store): Check if gpg-passphrase-timer is > initialized already. Added to the Gnus CVS. ShengHuo