From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: cc-vars.el Date: Tue, 19 Nov 2002 08:49:39 +0100 Organization: University of Dortmund, Germany Sender: emacs-devel-admin@gnu.org Message-ID: <84zns6ngmk.fsf@lucy.cs.uni-dortmund.de> References: <200211180057.JAA24537@etlken.m17n.org> <5bbs4m8qz9.fsf@lister.roxen.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037695571 7947 80.91.224.249 (19 Nov 2002 08:46:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2002 08:46:11 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18E41J-00023t-00 for ; Tue, 19 Nov 2002 09:46:09 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18E43v-0006XV-00 for ; Tue, 19 Nov 2002 09:48:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18E3yU-0004qU-00; Tue, 19 Nov 2002 03:43:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18E3xQ-0003qC-00 for emacs-devel@gnu.org; Tue, 19 Nov 2002 03:42:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18E3xJ-0003lq-00 for emacs-devel@gnu.org; Tue, 19 Nov 2002 03:42:07 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18E3xI-0003k6-00 for emacs-devel@gnu.org; Tue, 19 Nov 2002 03:42:01 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18E3vQ-0001ow-00 for ; Tue, 19 Nov 2002 09:40:04 +0100 Original-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18E3un-0001nL-00 for ; Tue, 19 Nov 2002 09:39:25 +0100 Original-Path: not-for-mail Original-Lines: 21 Original-NNTP-Posting-Host: lucy.informatik.uni-duisburg.de Original-X-Trace: main.gmane.org 1037695165 6893 134.91.35.216 (19 Nov 2002 08:39:25 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Tue, 19 Nov 2002 08:39:25 +0000 (UTC) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:H6hwL/BIBTWfGanGgzIKl9jZyV0= Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9539 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9539 Martin Stjernholm writes: > An interesting angle is if something like the following can be used > (although I'd consider this too a workaround rather than a solution): > > (if (boundp 'fido) > (symbol-value 'fido)) > (if (fboundp 'fred) > (funcall 'fred ...)) I use this approach in Tramp. It's ugly, but there are no warnings. I haven't thought (much) about efficiency in Tramp, as I'm working under the assumption that the runtime is dominated by network traffic anyway. But I would really appreciate it if the byte-compiler could grok (when (fboundp 'f) (f bla)). kai -- ~/.signature is: umop ap!sdn (Frank Nobis)