From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: declare-function file names Date: Fri, 23 Nov 2007 10:00:30 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195808450 1598 80.91.229.12 (23 Nov 2007 09:00:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 09:00:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 10:00:55 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IvUP8-0005Ht-OR for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 10:00:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvUOu-0001Ec-Dm for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 04:00:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvUOp-0001ET-3p for emacs-devel@gnu.org; Fri, 23 Nov 2007 04:00:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvUOm-0001EH-F2 for emacs-devel@gnu.org; Fri, 23 Nov 2007 04:00:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvUOm-0001EE-AP for emacs-devel@gnu.org; Fri, 23 Nov 2007 04:00:32 -0500 Original-Received: from wa-out-1112.google.com ([209.85.146.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IvUOl-0004TL-MW for emacs-devel@gnu.org; Fri, 23 Nov 2007 04:00:31 -0500 Original-Received: by wa-out-1112.google.com with SMTP id k34so3493370wah for ; Fri, 23 Nov 2007 01:00:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=9XI+xkuxUbOEn04plt2ZOcnCYKv5oU7P8c/jne68lgg=; b=Hh/f5FLl+auxisnX0RrQ3z5lMH5UAimvNhVExUr5LMNZw+mjKmreJdZq5JSoX20oMPsEur0G4QRHeQGYUfg3PdwTO02fFp4NGpSkSR5+f3t4o3CdCVEv+cuau9OKWH7rTv1OC5gSUAEoiJcI66lACQH0Tvmt9zliEBo3i8CIkU8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aJrtt2E9L/HsdmGI4oUZrxzikY0fqMcQkxNZVoYkgCMv2TDengvPY3ekZxWkFHIWAXKVBnnIt3TGIjMJv1Ktc+KDAa5/aVXQGBLES/5jcLnWUkgkB1GANCGaLykv4fQK81BFPS6GNAeV3YVR3h2/nPBiugOhVmJBh54ZmvQpZpc= Original-Received: by 10.114.130.1 with SMTP id c1mr564403wad.1195808430443; Fri, 23 Nov 2007 01:00:30 -0800 (PST) Original-Received: by 10.114.168.11 with HTTP; Fri, 23 Nov 2007 01:00:30 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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 Xref: news.gmane.org gmane.emacs.devel:83939 Archived-At: On Nov 23, 2007 5:36 AM, Richard Stallman wrote: > `declare-function' could be useful for packages outside Emacs... > > Could you be more specific? I was thinking of having, for example, elisp code installed in ~/elisp, which would use `declare-function' to silence warnings about functions from Emacs packages. To be able to use `check-declare', the `declare-function's in my private code would have to hardcode the path to the Emacs lisp/ directory. All that is moot now that `check-declare-locate' exists. Juanma