all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Engster <deng@randomsample.de>
To: Matthew Fidler <matthew.fidler@gmail.com>
Cc: 17952@debbugs.gnu.org
Subject: bug#17952: Compatability for eieio between 24.4 and 24.3
Date: Sun, 06 Jul 2014 10:49:15 +0200	[thread overview]
Message-ID: <874myuj2ic.fsf@engster.org> (raw)
In-Reply-To: <CAOmN8O7c47J_vLCOJN8R4d8-AQ6-quRru7L8JxtXQ+gVbkVUww@mail.gmail.com> (Matthew Fidler's message of "Sat, 5 Jul 2014 23:34:46 -0500")

Matthew Fidler writes:
> The object-set-name-string function of eieio has changed to
> eieio-object-set-name-string, at one point my code (ergoemacs-mode) depended on
> that function, so I had to use a macro to pick the right version for different
> versions of emacs. 

The usual way for renaming a function in Emacs is to mark it as
deprecated and make it an alias for the new name, and after a few more
Emacs releases remove it altogether. So if you want to stay compatible
with older Emacsen, simply continue to use `object-set-name-string' for
the time being. You will get a warning on byte-compilation, but just
ignore it (or turn off the deprecation warning if it bothers you too
much).

-David





  reply	other threads:[~2014-07-06  8:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-06  4:34 bug#17952: Compatability for eieio between 24.4 and 24.3 Matthew Fidler
2014-07-06  8:49 ` David Engster [this message]
2014-07-06 12:24   ` Matthew Fidler
2014-07-06 18:01     ` Glenn Morris
2014-07-06 18:03       ` Matthew Fidler

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=874myuj2ic.fsf@engster.org \
    --to=deng@randomsample.de \
    --cc=17952@debbugs.gnu.org \
    --cc=matthew.fidler@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.