unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: How do you say "I know it is obsolete"
Date: Tue, 12 Jan 2010 09:10:03 -0500	[thread overview]
Message-ID: <jwv8wc35saq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <e01d8a51001112000k659e2a21o44405f3f5d070138@mail.gmail.com> (Lennart Borgman's message of "Tue, 12 Jan 2010 05:00:56 +0100")

> How do you say to the byte compiler "yes, I know the function is
> obsolete but I must call it for older versions"?

There's with-no-warnings, if you care enough.

> And how do you say "yes, ok, call the new function instead then"?

By editing the source.  It can't be made automatic, because all too
often the new function doesn't work exactly in the same way.


        Stefan




  reply	other threads:[~2010-01-12 14:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12  4:00 How do you say "I know it is obsolete" Lennart Borgman
2010-01-12 14:10 ` Stefan Monnier [this message]
2010-01-12 15:21   ` Drew Adams
2010-01-12 15:57     ` Lennart Borgman

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=jwv8wc35saq.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@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).