[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adapting code to cl-lib
From: |
Thierry Volpiatto |
Subject: |
Re: Adapting code to cl-lib |
Date: |
Tue, 31 Dec 2013 06:15:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
joaotavora@gmail.com (João Távora) writes:
> Thierry Volpiatto <thierry.volpiatto@gmail.com> 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.
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997