From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64561 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: The type of gnus-ignored-from-addresses Date: Wed, 25 Apr 2007 17:03:02 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177488215 6169 80.91.229.12 (25 Apr 2007 08:03:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2007 08:03:35 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13072@lists.math.uh.edu Wed Apr 25 10:03:34 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HgcTL-0003yY-HG for ding-account@gmane.org; Wed, 25 Apr 2007 10:03:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HgcT4-0006Df-Jj; Wed, 25 Apr 2007 03:03:14 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HgcT1-0006DK-Lu for ding@lists.math.uh.edu; Wed, 25 Apr 2007 03:03:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HgcT0-000122-8h for ding@lists.math.uh.edu; Wed, 25 Apr 2007 03:03:11 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HgcSz-00056c-00 for ; Wed, 25 Apr 2007 10:03:09 +0200 Original-Received: from [66.225.201.151] (port=47595 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.63) (envelope-from ) id 1HgcSy-0003nU-6P for ding@gnus.org; Wed, 25 Apr 2007 03:03:08 -0500 X-Hashcash: 1:20:070425:ding@gnus.org::HhumMELmhHDGGxGA:00000nnT X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.99 (gnu/linux) Cancel-Lock: sha1:IJHvuGGdcg1vTDXO5vQ7xf+JObE= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64561 Archived-At: >>>>> In Didier Verna wrote: > Katsumi Yamaoka wrote: >> Thanks for improving it. But I think it is better not to load a Gnus >> module (i.e., gnus-util.el) at all times since, in principle, >> message.el is a module independent of Gnus. >> >> In texi/gnus-coding.texi: >> ,---- >>| 1.1.5 message >>| >>| All message composition from Gnus (both mail and news) takes place in >>| Message mode buffers. Message mode is intended to be a replacement for >>| Emacs mail mode. There should be no Gnus dependencies in `message.el'. >> `---- > But gnus-util is a special case because it doesn't 'require any > other part of Gnus[1]; it's really a utility library. I don't think so. ;;; gmm-utils.el --- Utility functions for Gnus, Message and MML ;;; gnus-util.el --- utility functions for Gnus ;;; mm-util.el --- Utility functions for Mule and low level things >> For instance, there might be those who use message.el without Gnus but >> don't use it for replying. Although many Gnus functions are actually >> used there, they were all designed so as to be autoloaded. > Sorry, I don't understand this paragraph. Are you suggesting > that I put an autoload cookie on gnus-orify-regexp instead of requiring > gnus-util ? That would only merely delay the time of loading gnus-util. No. I'd suggest replacing `(require 'gnus-util)' with: (eval-and-compile (autoload 'gnus-orify-regexp "gnus-util") ) The most suitable place to put it seems to be around the 1777th line in message.el. You will see a lot of autoloads there. Regards,