From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Newsgroups: gmane.emacs.help Subject: Re: Adapting code to cl-lib Date: Mon, 30 Dec 2013 12:39:26 +0000 Message-ID: <87zjnijywx.fsf@gmail.com> References: <87a9fjl007.fsf@gmail.com> <87wqimzu69.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388407297 32316 80.91.229.3 (30 Dec 2013 12:41:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Dec 2013 12:41:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thierry Volpiatto Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 30 13:41:44 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1VxcAB-0001eC-63 for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 13:41:43 +0100 Original-Received: from localhost ([::1]:58041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxcAA-000797-OV for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 07:41:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxc9t-00078w-5K for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 07:41:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vxc9j-0004hA-QP for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 07:41:25 -0500 Original-Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:64630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxc9j-0004h3-Ib for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 07:41:15 -0500 Original-Received: by mail-wi0-f170.google.com with SMTP id hq4so15606591wib.5 for ; Mon, 30 Dec 2013 04:41:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=3W+UfL86CbDH4rCbLCsUEcpWdH4Ob1cijjz6hUSAXvQ=; b=GaFa//X1Z0o2bI9gwIn6shvHEwGplTT60Lkv5WHiQzPM8jJnZUHuQnrpPKnpNEPXKW YWaemESPdeNjXYpE4oH4nzaT940lWBD9HpEIJXoactAQePAsbpAXo3Ye6kWU1V0jVUQS ps+70o07qLt+hN8CuRDGiQbli4Mip7lyaiRBllM5FTehY5BnhVWFkCXKBh3/uF6UNPqB amfqx7+pLTrNdDVPnV+j4bmhKz/dA2XgTjrFpbhmZI14y7l+9Y7CkB9XyVVWAVSVnMKL GVcy2D16hBTrLEiWlnrQEuEt9Jml+Xrji4gB6Vwjd7EBoPGUnD86sHIAvqNHTbTJVs7/ m4ig== X-Received: by 10.180.108.240 with SMTP id hn16mr43473534wib.5.1388407274667; Mon, 30 Dec 2013 04:41:14 -0800 (PST) Original-Received: from kitaj.yourcompany.com (66.207.108.93.rev.vodafone.pt. [93.108.207.66]) by mx.google.com with ESMTPSA id j3sm66931720wiy.3.2013.12.30.04.41.13 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 30 Dec 2013 04:41:13 -0800 (PST) In-Reply-To: <87wqimzu69.fsf@gmail.com> (Thierry Volpiatto's message of "Mon, 30 Dec 2013 08:15:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95195 Archived-At: Thierry Volpiatto writes: > joaotavora@gmail.com (Jo=C3=A3o T=C3=A1vora) writes: > >> Does anyone know of a package or something that gets rid of these >> warnings: >> >> foo.el:2266:57:Warning: function `find' from cl package called at run= time >> foo.el:2370:63:Warning: function `remove*' from cl package called at = runtime >> foo.el:2370:63:Warning: function `gensym' from cl package called at r= untime >> >> by replacing them with their cl- counterpairs from cl-lib? > > Yes Then can you tell me what it is? >, or adding this at end of file if you want to keep using 'cl' package: > > ,---- > | ;; Local Variables: > | ;; byte-compile-warnings: (not cl-functions obsolete) > | ;; End: > `---- Yes, thanks, I already knew I could do this, but it's precisely what I wanted to avoid. In case there was a misunderstanding. I was looking for some command/package that replaces these in the buffer. I could roll my own, searching for symbols with some 'obsolete property or sth that also have cl- counterparts bound to some function, and then passing these to a global replace-regexp...