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 12:39:26 +0000 [thread overview]
Message-ID: <87zjnijywx.fsf@gmail.com> (raw)
In-Reply-To: <87wqimzu69.fsf@gmail.com> (Thierry Volpiatto's message of "Mon, 30 Dec 2013 08:15:10 +0100")
Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
> joaotavora@gmail.com (João Távora) 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 runtime
>> 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 runtime
>>
>> 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...
next prev parent reply other threads:[~2013-12-30 12:39 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 [this message]
2013-12-30 13:21 ` Thierry Volpiatto
2013-12-30 21:48 ` João Távora
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjnijywx.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.