From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Burton Samograd Newsgroups: gmane.emacs.devel Subject: Re: CL functions called at runtime Date: Mon, 03 Dec 2012 13:03:35 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354575124 19792 80.91.229.3 (3 Dec 2012 22:52:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2012 22:52:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 03 23:52:16 2012 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 1Tfes0-0001bv-Ec for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2012 23:52:12 +0100 Original-Received: from localhost ([::1]:58638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfero-0005OC-IK for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2012 17:52:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfcEs-0007Z0-Iq for emacs-devel@gnu.org; Mon, 03 Dec 2012 15:03:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfcEr-000340-Lo for emacs-devel@gnu.org; Mon, 03 Dec 2012 15:03:38 -0500 Original-Received: from samograd.ca ([69.90.114.176]:55401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfcEr-00033v-Fj for emacs-devel@gnu.org; Mon, 03 Dec 2012 15:03:37 -0500 Original-Received: from CDW764-BURTONS.QFTI.COM (localhost.localdomain [127.0.0.1]) by samograd.ca (Postfix) with ESMTP id D89E8B090E7; Mon, 3 Dec 2012 13:03:33 -0700 (MST) In-Reply-To: (Stefan Monnier's message of "Mon, 03 Dec 2012 14:54:29 -0500") User-Agent: Gnus/5.1299999999999999 (Gnus v5.13) Emacs/24.2.90 (cygwin) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 69.90.114.176 X-Mailman-Approved-At: Mon, 03 Dec 2012 17:51:59 -0500 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:155225 Archived-At: Stefan Monnier writes: >> I seemed to have missed the dicussion about the warnings being generated >> by the byte compiler about CL functions being called at runtime. Now >> I'm seeing them in my code for useful functions like remove-if. >> Could someone explain why these warnings are being generated? > > There are different such warnings for different cases, so please specify > precisely what you see, I'm seeing messages like "CL function 'remove-if' called at runtime." Someone else suggested using cl-lib but I assume that's an external package that I should install, correct? I have mostly been writing in Common Lisp prior to starting a new project in Emacs Lisp only so I find certain CL functions useful and wouldn't mind getting rid of the warnings when I compile the code. If downloading and install cl-lib and using the cl- prefix function will do the trick then I'm ok with that. -- Burton Samograd