unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eric James Michael Ritz <lobbyjones@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Best Way to Change Code to Use cl-lib
Date: Sun, 16 Dec 2012 11:00:42 -0500	[thread overview]
Message-ID: <jwvhanm7zzc.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <50CCB967.8020301@gmail.com> (Eric James Michael Ritz's message of "Sat, 15 Dec 2012 12:54:47 -0500")

There are various options, and you'll have to judge for yourself which
is best for your particular case:
- live with the warnings.
- switch to cl-lib and ask users of older Emacsen to install cl-lib
  (available in GNU ELPA).
- add things like (unless (fboundp 'cl-letf) (defalias 'cl-letf 'letf)).
- change the code to use something else (e.g. for flet, you can switch
  to using either defadvice or (let ((f1 (lambda ..))) ...).
- ...


        Stefan



  reply	other threads:[~2012-12-16 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-15 17:54 Best Way to Change Code to Use cl-lib Eric James Michael Ritz
2012-12-16 16:00 ` Stefan Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-16  7:11 Eric James Michael Ritz

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=jwvhanm7zzc.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lobbyjones@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).