From unknown Fri Aug 15 02:00:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12539 <12539@debbugs.gnu.org> To: bug#12539 <12539@debbugs.gnu.org> Subject: Status: 24.2.50; Byte compiler warns about cl-lib functions Reply-To: bug#12539 <12539@debbugs.gnu.org> Date: Fri, 15 Aug 2025 09:00:40 +0000 retitle 12539 24.2.50; Byte compiler warns about cl-lib functions reassign 12539 emacs submitter 12539 Michael Welsh Duggan severity 12539 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 28 23:59:18 2012 Received: (at submit) by debbugs.gnu.org; 29 Sep 2012 03:59:18 +0000 Received: from localhost ([127.0.0.1]:33012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1THoD0-0003sg-6l for submit@debbugs.gnu.org; Fri, 28 Sep 2012 23:59:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45854) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1THoCx-0003sY-Ef for submit@debbugs.gnu.org; Fri, 28 Sep 2012 23:59:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THoCj-0001jf-9N for submit@debbugs.gnu.org; Fri, 28 Sep 2012 23:59:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:42804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THoCj-0001jb-6M for submit@debbugs.gnu.org; Fri, 28 Sep 2012 23:59:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THoCi-0005Wr-Dk for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2012 23:59:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THoCh-0001iT-Ds for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2012 23:59:00 -0400 Received: from md5i.com ([75.151.244.229]:48196 helo=maru.md5i.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THoCh-0001i8-8l for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2012 23:58:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=XH2pO9Aqyx+Xf7HBymwQ20hDa8VqW3BsmnG190rhl5I=; b=kQLjRKVrVyjgl6+f/S4J405UQktRGsttPr0+1MP/LSl5PPKsIULHzwPS77PEOqu5eKMlxPwecjzz27nMLEKwJmD4DX9zviY0letd2chC+hgwXsyIOdx5hfLAH8JTfAM7; Received: from md5i by maru.md5i.com with local (Exim 4.80) (envelope-from ) id 1THoCb-00060b-2c for bug-gnu-emacs@gnu.org; Fri, 28 Sep 2012 23:58:53 -0400 From: Michael Welsh Duggan To: bug-gnu-emacs@gnu.org Subject: 24.2.50; Byte compiler warns about cl-lib functions Date: Fri, 28 Sep 2012 23:58:53 -0400 Message-ID: <87y5jtzdhe.fsf@maru.md5i.com> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Start emacs and create an elisp file: emacs -Q C-x C-f /tmp/foo.el Write the following into the file: (require 'cl-lib) (defun foo (x) (cl-remove-if (lambda (x) (markerp (car-safe x))) x)) Save it, and byte compile it: C-x C-s M-x byte-compile-file RET RET You will then get a warning: In foo: foo.el:4:53:Warning: function `cl-remove-if' from cl package called at runtime I believe this warning is not supposed to be there when using the cl-lib (as opposed to cl) package. In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, X toolkit) of 2012-09-07 on maru Bzr revision: 109910 cyd@gnu.org-20120907040700-bupuig48oke3ynqm Windowing system distributor `The X.Org Foundation', version 11.0.11203902 Configured using: `configure '--without-gconf' '--without-gsettings' '--without-toolkit-scroll-bars' '--with-x-toolkit=lucid' 'CFLAGS=-O0 -ggdb' '--enable-asserts' '--with-wide-int' '--enable-maintainer-mode'' Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 29 14:04:38 2012 Received: (at 12539-done) by debbugs.gnu.org; 29 Sep 2012 18:04:39 +0000 Received: from localhost ([127.0.0.1]:33864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TI1P4-000840-73 for submit@debbugs.gnu.org; Sat, 29 Sep 2012 14:04:38 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:45436) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TI1P2-00083r-BE for 12539-done@debbugs.gnu.org; Sat, 29 Sep 2012 14:04:37 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TI1Oj-0004iM-Sj; Sat, 29 Sep 2012 14:04:17 -0400 From: Glenn Morris To: 12539-done@debbugs.gnu.org Subject: Re: bug#12539: 24.2.50; Byte compiler warns about cl-lib functions References: <87y5jtzdhe.fsf@maru.md5i.com> X-Spook: class struggle eavesdropping Armani spy Clinton X-Ran: E0&g,u[g`Db0xsk1ktRv)j|^|.yZydox6LKF27cnxB:eL{Awc@hbw+o>u[^FmG8fc+mGfD X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 29 Sep 2012 14:04:17 -0400 In-Reply-To: <87y5jtzdhe.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Fri, 28 Sep 2012 23:58:53 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.7 (-------) X-Debbugs-Envelope-To: 12539-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.7 (-------) Michael Welsh Duggan wrote: > You will then get a warning: > > In foo: > foo.el:4:53:Warning: function `cl-remove-if' from cl package called at runtime Fixed as of yesterday. From unknown Fri Aug 15 02:00:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 28 Oct 2012 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator