From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: joaotavora@gmail.com (João Távora)
Cc: help-gnu-emacs@gnu.org
Subject: Re: Adapting code to cl-lib
Date: Tue, 31 Dec 2013 06:15:51 +0100 [thread overview]
Message-ID: <8738l97g8o.fsf@gmail.com> (raw)
In-Reply-To: <87r48uqabj.fsf@gmail.com> ("João Távora"'s message of "Mon, 30 Dec 2013 21:48:48 +0000")
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
next prev parent reply other threads:[~2013-12-31 5:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-29 23:18 Adapting code to cl-lib João Távora
2013-12-30 7:15 ` Thierry Volpiatto
2013-12-30 12:39 ` João Távora
2013-12-30 13:21 ` Thierry Volpiatto
2013-12-30 21:48 ` João Távora
2013-12-31 5:15 ` Thierry Volpiatto [this message]
2013-12-31 10:33 ` Thien-Thi Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738l97g8o.fsf@gmail.com \
--to=thierry.volpiatto@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=joaotavora@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).