From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54474 Path: main.gmane.org!not-for-mail From: "Kai =?ISO-8859-1?Q?Gro=DFjohann?=" Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] byte-compiler warning suppression in nnir.el Date: Sat, 25 Oct 2003 16:22:26 +0200 (MEST) Sender: ding-owner@lists.math.uh.edu Message-ID: <11268.1067091746@www59.gmx.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1067297876 4634 80.91.224.253 (27 Oct 2003 23:37:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2003 23:37:56 +0000 (UTC) Cc: ding@gnus.org, Kai.Grossjohann@cs.uni-dortmund.de Original-X-From: ding-owner+M3015@lists.math.uh.edu Tue Oct 28 00:37:53 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEGvp-0005q3-00 for ; Tue, 28 Oct 2003 00:37:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AEGvk-0004GY-00; Mon, 27 Oct 2003 17:37:48 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AEGvg-0004GT-00 for ding@lists.math.uh.edu; Mon, 27 Oct 2003 17:37:44 -0600 Original-Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by justine.libertine.org (Postfix) with SMTP id F29B03A0050 for ; Mon, 27 Oct 2003 17:37:42 -0600 (CST) Original-Received: (qmail 27234 invoked by uid 0); 25 Oct 2003 14:22:26 -0000 Original-Received: from 217.225.233.200 by www59.gmx.net with HTTP; Sat, 25 Oct 2003 16:22:26 +0200 (MEST) Original-To: Steve Youngs X-Priority: 3 (Normal) X-Authenticated: #361006 X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54474 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54474 (Braindead quoting because of limitations of my webmail thing.) The idea behind the following patch is good, but what if the function is already defined? How about doing (unless (fboundp 'read-kbd-macro) (autolo= ad ...))? This could then be inside or outside of the eval-when-compile... Hm. But then, maybe during byte-compile the function is never defined? Hm. No, if people do M-x byte-compile-file RET, then most probably read-kbd-macro is defined already. Index: contrib/nnir.el =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/cvsroot/gnus/contrib/nnir.el,v retrieving revision 1.2 diff -u -u -r1.2 nnir.el --- contrib/nnir.el 30 Sep 2003 21:30:34 -0000 1.2 +++ contrib/nnir.el 24 Oct 2003 21:43:38 -0000 @@ -308,7 +308,8 @@ (eval-and-compile (require 'gnus-util)) (eval-when-compile - (require 'nnimap)) + (require 'nnimap) + (autoload 'read-kbd-macro "edmacro" nil t)) =20 (nnoo-declare nnir) (nnoo-define-basics nnir) --=20 I like BOTH kinds of music! NEU F=DCR ALLE - GMX MediaCenter - f=FCr Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru=DF, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse f=FCr Mail, Message, More! +++