From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39032 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Enabling gnus-delay by default? Date: Sat, 29 Sep 2001 21:17:41 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035174804 25686 80.91.224.250 (21 Oct 2002 04:33:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:33:24 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 2428 invoked from network); 29 Sep 2001 19:18:52 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 29 Sep 2001 19:18:52 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15nPdI-0001PY-00; Sat, 29 Sep 2001 14:18:40 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 29 Sep 2001 14:18:16 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id OAA13326 for ; Sat, 29 Sep 2001 14:18:05 -0500 (CDT) Original-Received: (qmail 2421 invoked by alias); 29 Sep 2001 19:18:14 -0000 Original-Received: (qmail 2416 invoked from network); 29 Sep 2001 19:18:14 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 29 Sep 2001 19:18:14 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de (8.11.2/8.11.2) with ESMTP id f8TJHlQ04914; Sat, 29 Sep 2001 21:17:47 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id VAA14410; Sat, 29 Sep 2001 21:17:42 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 4475120B3; Sat, 29 Sep 2001 21:17:41 +0200 (CEST) Original-To: Simon Josefsson In-Reply-To: (Simon Josefsson's message of "Sat, 22 Sep 2001 19:30:59 +0200") Original-Lines: 31 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.107 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39032 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39032 Simon Josefsson writes: > Wouldn't it be nice if the gnus-delay package was enabled by default? I think I've now covered almost everything. The only statement that's executed by gnus-delay-initialize which is still missing is the following: (add-hook 'gnus-get-new-news-hook 'gnus-delay-send-drafts) The question is, how to do this? Should I just invoke gnus-delay-send-drafts in the appropriate places directly? (Maybe conditional on a gnus-delay variable.) Or should the above add-hook be put in some *.el file? In which *.el file? Hm. If the above add-hook is executed, then gnus-delay.el will be loaded pretty soon, so all this autoload stuff seems a bit like shooting a sparrow with a cannon.=B9 But on the other hand, requiring a package is not allowed to actually do anything, so I would be violating the coding conventions if I were to put the add-hook statement at the top level in gnus-delay.el. Argh. Help! kai =B9 I think I've asked before what is the English idiom for this... --=20 Abort this operation? [OK] [Cancel]