From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6405 Path: main.gmane.org!not-for-mail From: Raja R Harinath Newsgroups: gmane.emacs.gnus.general Subject: Miscelleous notes/bugs Date: 27 May 1996 22:22:19 +0000 Sender: harinath@cs.umn.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.63) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035146865 3495 80.91.224.250 (20 Oct 2002 20:47:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:47:45 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id QAA02311 for ; Mon, 27 May 1996 16:04:38 -0700 Original-Received: from mail.cs.umn.edu (mail.cs.umn.edu [128.101.149.1]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Tue, 28 May 1996 00:22:32 +0200 Original-Received: from femto.cs.umn.edu (harinath@femto.cs.umn.edu [128.101.224.13]) by mail.cs.umn.edu (8.7.5/8.6.12) with ESMTP id RAA05292 for ; Mon, 27 May 1996 17:22:29 -0500 (CDT) Original-Received: (harinath@localhost) by femto.cs.umn.edu (8.6.11/8.6.12) id RAA12943; Mon, 27 May 1996 17:22:21 -0500 Original-To: ding@ifi.uio.no Original-Lines: 51 X-Mailer: Gnus v5.2.1/Emacs 19.31 Xref: main.gmane.org gmane.emacs.gnus.general:6405 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6405 Gnus v5.2.1; nntp 4.0; nnml 1.0; nnmh 1.0; nndir 1.0; nndoc 1.0; nndraft 1.0; nnfolder 1.0 * Local hooks not useful SGnus uses `gnus-make-local-hook' in two places, but these hooks are effectively useless. This is because the `add-hook' immediately after it does _not_ set the local hook. `add-hook' has a fourth parameter that has to be non-nil for it to add to the local hook. Maybe, `gnus-add-to-local-hook' has to be defined, which is either plain `add-hook' for XEmacs, or adds the 'local parameter in case of Emacs. This could also clean up the ugly tests in `gnus-gl.el', like the following: (if (not (fboundp 'make-local-hook)) (add-hook 'gnus-select-article-hook 'grouplens-do-time) (make-local-hook 'gnus-select-article-hook) (add-hook 'gnus-select-article-hook 'grouplens-do-time nil 'local)) This bug became apparent when I exited gnus, and tried to send a message. `message-sent-hook' still had `gnus-inews-do-gcc', and it started complaining about selecting a deleted buffer. (In fact, I sent a previous bug report on this, but due to this error during send, I was not sure whether the message was actually sent or not. It hadn't appeared on the `gnus-bug' archive a half-hour after I sent it...) * Emacs 19.31 timers Should `gnus-demon' be rewritten to use the new API of Emacs timers (run-with-timer, run-with-idle-timer)? * `derived.el' I saw `derived.el' in the Emacs `lisp/' directory. It appears to support major-mode inheritance (keymaps, syntax-tables, etc., are automatically copied on derivation.) Should "grouplens" and other variants of the "summary" mode use this mechanism? * `nn*.el' independent of `gnus*.el'? Can `message.el' use some of the features of `nn*.el' without loading the rest of Gnus? (`message-post-method' uses one of the "nn*" backends.) If so, can message archiving be supported without loading Gnus? - Hari -- Raja R Harinath ------------------------------ harinath@cs.umn.edu "When all else fails, read the instructions." -- Cahn's Axiom "Our policy is, when in doubt, do the right thing." -- Roy L Ash