From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Can the byte-compiler check whether functions passed by name are defined? Date: Wed, 07 Aug 2013 10:41:33 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375886513 19110 80.91.229.3 (7 Aug 2013 14:41:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2013 14:41:53 +0000 (UTC) Cc: Sebastian Wiesner , emacs-devel@gnu.org To: Klaus-Dieter Bauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 07 16:41:53 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V74vv-0000qd-Sx for ged-emacs-devel@m.gmane.org; Wed, 07 Aug 2013 16:41:52 +0200 Original-Received: from localhost ([::1]:53205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V74vv-0007sS-FZ for ged-emacs-devel@m.gmane.org; Wed, 07 Aug 2013 10:41:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V74vm-0007qA-BR for emacs-devel@gnu.org; Wed, 07 Aug 2013 10:41:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V74ve-0006Lf-T3 for emacs-devel@gnu.org; Wed, 07 Aug 2013 10:41:42 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:46375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V74ve-0006LY-ON for emacs-devel@gnu.org; Wed, 07 Aug 2013 10:41:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFLd/Nq/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20806265" Original-Received: from 75-119-243-106.dsl.teksavvy.com (HELO pastel.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Aug 2013 10:41:27 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 70B6566AF5; Wed, 7 Aug 2013 10:41:33 -0400 (EDT) In-Reply-To: (Klaus-Dieter Bauer's message of "Mon, 5 Aug 2013 20:17:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162463 Archived-At: >> (mapcar (if flag #'f1 #'f2) list) >> and `f1' or `f2' are unknown. > My code does that and indeed that was, what I first implemented. Could you point to the place where your code does that? It should be a few lines of extra code in byte-compile-function-form, but I couldn't find it in your patch. Stefan