From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: declare-function from included file Date: Wed, 19 Mar 2008 14:19:56 -0700 Message-ID: <200803192119.m2JLJuUL000802@sallyv1.ics.uci.edu> References: <75y78fk08w.fsf@fencepost.gnu.org> <874pb2zgn0.fsf@photon.caeruleus.net> <87r6e6wj3j.fsf@photon.caeruleus.net> <200803192042.m2JKg3Cm010626@sallyv1.ics.uci.edu> <87lk4ewht0.fsf@photon.caeruleus.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205961721 29122 80.91.229.12 (19 Mar 2008 21:22:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2008 21:22:01 +0000 (UTC) Cc: Glenn Morris , Stefan Monnier , emacs-devel@gnu.org To: Ralf Angeli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 19 22:22:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from mail-forward.uio.no ([129.240.10.42]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jc5jp-00039o-NF for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 22:22:21 +0100 Original-Received: from mail-mx8.uio.no ([129.240.10.38]) by pat.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1Jc5jG-0002bU-BO for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 22:21:46 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx8.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Jc5jA-00029n-Up for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 22:21:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jc5j9-0007cP-Ct for ged-emacs-devel@m.gmane.org; Wed, 19 Mar 2008 17:21:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jc5j4-0007cH-QF for emacs-devel@gnu.org; Wed, 19 Mar 2008 17:21:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jc5j2-0007bm-Tx for emacs-devel@gnu.org; Wed, 19 Mar 2008 17:21:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jc5j2-0007bj-Od for emacs-devel@gnu.org; Wed, 19 Mar 2008 17:21:32 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1Jc5iy-0000jD-QL; Wed, 19 Mar 2008 17:21:29 -0400 X-ICS-MailScanner-Watermark: 1206566396.82938@Yq6AQnQzTbzCMJZK65CkNw Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m2JLJuUL000802; Wed, 19 Mar 2008 14:19:56 -0700 (PDT) In-Reply-To: <87lk4ewht0.fsf@photon.caeruleus.net> (Ralf Angeli's message of "Wed, 19 Mar 2008 22:00:11 +0100") Original-Lines: 26 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-UiO-SPF-Received: Received-SPF: pass (mail-mx8.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-Spam-info: not spam, SpamAssassin (score=-1.0, required=5.0, autolearn=disabled, RCVD_IN_DNSWL_LOW=-1) X-UiO-Scanned: D01869D9B7F56DEFCC206C4B747B3E01D9EB0ED1 X-UiO-SR-test: B8900ACB07D0C759F43440899CF26E14E01E0128 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -9 maxlevel 200 minaction 2 bait 0 mail/h: 26 total 43857 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:93010 Archived-At: Ralf Angeli writes: > * Dan Nicolaescu (2008-03-19) writes: > > > In CVS trunk reftex compiles without warnings. > > In RefTeX's own repository compiling still emits warnings. What's wrong with just copying the declare-functions from emacs CVS to get rid of them? > > There are 10 > > `declare-function's in reftex*el, 8 of which are in reftex-auc.el. > > That does not sound like too much, it's hard to see that it's even worth discussing... > > It's not just the `declare-function' stuff I'm after. RefTeX contains a > lot of `defvar' statements which are only there for the sake of the byte > compiler. > > And I'd like to put those into a separate file as well along with > stuff like `declare-function' calls. defvars work, they are well known by any elisp hackers. Why develop a new facility the everyone looking at the code will have to figure out? There's not that many defvars either, about 50 if my grep command was right.