From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Adapting code to cl-lib Date: Tue, 31 Dec 2013 06:15:51 +0100 Organization: Emacs Helm Message-ID: <8738l97g8o.fsf@gmail.com> References: <87a9fjl007.fsf@gmail.com> <87wqimzu69.fsf@gmail.com> <87zjnijywx.fsf@gmail.com> <87ob3yzd7q.fsf@gmail.com> <87r48uqabj.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 1388466994 24036 80.91.229.3 (31 Dec 2013 05:16:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 Dec 2013 05:16:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 31 06:16:40 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 1Vxrh0-0004od-8m for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Dec 2013 06:16:38 +0100 Original-Received: from localhost ([::1]:60624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxrgz-0005BC-Nq for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Dec 2013 00:16:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxrgg-00057O-W6 for help-gnu-emacs@gnu.org; Tue, 31 Dec 2013 00:16:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxrgY-0006bQ-IU for help-gnu-emacs@gnu.org; Tue, 31 Dec 2013 00:16:18 -0500 Original-Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:59079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxrgY-0006bD-Bp for help-gnu-emacs@gnu.org; Tue, 31 Dec 2013 00:16:10 -0500 Original-Received: by mail-wi0-f178.google.com with SMTP id bz8so12189981wib.17 for ; Mon, 30 Dec 2013 21:16:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=zRQuyrgPd9on0+qLmqgjD8pmLIuMQcXrn2Zpe9frEZc=; b=PI04PFYQq+ucMKfVeh2oyJic7VF1lccv6GcFUaZKysOWQzyurS/WIiKnrw2zFELLvt 1rniXZi9M7xjQrHJbma/jFZyBrGGvDzYZ1chV56nR4qgrwZU54hvLm/PA7B8JP58Nn4Q tN0tgbPI1gOykDAHRFpAhNZ3a+K0QTtsNVpFXoCZaPXF2zS9hnBvpAzfMMXofhiK8MB6 YrT/lwSQ0Ph0ITJa27lKwHMAm5AWNCo0UVYIsrDaus8T507FB33OyXoP1bVSnwBTQlM4 BB4ybXb4iLNDWNtkdY/Rv/RsQodeRHnWxWRwxtWTLffM6Mywx6xvUdfYp5o+krIjv6OR Dtbw== X-Received: by 10.180.74.174 with SMTP id u14mr46986568wiv.45.1388466969617; Mon, 30 Dec 2013 21:16:09 -0800 (PST) Original-Received: from dell-14z ([37.160.201.53]) by mx.google.com with ESMTPSA id ko3sm27299055wjb.23.2013.12.30.21.16.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 30 Dec 2013 21:16:08 -0800 (PST) In-Reply-To: <87r48uqabj.fsf@gmail.com> (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vor?= =?utf-8?Q?a=22's?= message of "Mon, 30 Dec 2013 21:48:48 +0000") 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::232 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:95211 Archived-At: joaotavora@gmail.com (Jo=C3=A3o T=C3=A1vora) writes: > Thierry Volpiatto writes: > >> You can find a list of symbols to replace in cl.el#176. > > Thanks, I took that list and wrote a replace-regexp expression. But just > a regexp won't cut since it will think > > (let ((position 5)) > ...) > > is a call to cl-position, which is quite wrong. I ended up fixing these > by hand. Yes, I had same problem, and finished fixing these occurences by hand like you, looking at the byte-compiler output. > A real tool must use the byte-compiler's output, or hop on the > byte-compiler itself. Probably not worth it... Yes, I didn't improve my tool because it is something I used once, and I probably will not use it anymore. Fixing small elisp packages (one file) don't require such a tool. --=20 Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997=20