unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: joaotavora@gmail.com (João Távora)
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Adapting code to cl-lib
Date: Mon, 30 Dec 2013 21:48:48 +0000	[thread overview]
Message-ID: <87r48uqabj.fsf@gmail.com> (raw)
In-Reply-To: <87ob3yzd7q.fsf@gmail.com> (Thierry Volpiatto's message of "Mon,  30 Dec 2013 14:21:29 +0100")

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. A real tool must use the byte-compiler's output, or hop on the
byte-compiler itself. Probably not worth it...

João



  reply	other threads:[~2013-12-30 21:48 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 [this message]
2013-12-31  5:15         ` Thierry Volpiatto
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=87r48uqabj.fsf@gmail.com \
    --to=joaotavora@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=thierry.volpiatto@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).