From: Stephen Leake <stephen_leake@stephe-leake.org>
To: emacs-devel@gnu.org
Subject: Re: How to find when a function/var has been added
Date: Thu, 06 Aug 2015 04:54:44 -0500 [thread overview]
Message-ID: <86io8sagij.fsf@stephe-leake.org> (raw)
In-Reply-To: <55C277C9.9090202@cumego.com> ("Przemysław Wojnowski"'s message of "Wed, 05 Aug 2015 22:53:29 +0200")
Przemysław Wojnowski <esperanto@cumego.com> writes:
>> I think maybe Przemysław is asking for something more, including
>> changes to the default value or possible values of an option, and
>> changes to the behavior or at least the calling sequence of an
>> existing function.
>>
>> Dunno how much would be feasible or what forms it might take, but
>> I agree that there is a use case for it.
>>
> I was thinking about adding "Since: ${emacs-version}" to docs of
> functions and variables just to make it easier to write backward
> compatible packages.
>
> If I would like to preserve compatibility with Emacs 24.3.1 I wouldn't
> use newer functions/values. Now it is not that easy (at least for me)
> to find out since when a function/variable/package is in Emacs, which
> makes programming a bit slower.
I write and test the code for Emacs 25, then byte-compile in Emacs 24;
that identifies the functions/variables that need attention. Unless
there's some function that changed behavior without any other change; we
usually treat that as a bug, unless the change is actually fixing a bug.
Adding emacs version info to _all_ definitions would be tedious; there
would be a very small chance that any particular bit would be needed.
That's not true for customize, since those are user-visible things.
--
-- Stephe
next prev parent reply other threads:[~2015-08-06 9:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-05 18:38 How to find when a function/var has been added Przemysław Wojnowski
2015-08-05 19:06 ` David Kastrup
2015-08-05 19:32 ` Drew Adams
2015-08-05 20:53 ` Przemysław Wojnowski
2015-08-06 9:54 ` Stephen Leake [this message]
2015-08-05 20:46 ` Przemysław Wojnowski
2015-08-05 19:25 ` Eli Zaretskii
2015-08-05 21:01 ` Przemysław Wojnowski
2015-08-06 9:59 ` Stephen Leake
2015-08-06 14:37 ` Eli Zaretskii
2015-08-08 7:37 ` Przemysław Wojnowski
2015-08-09 6:26 ` Stephen Leake
2015-08-12 20:39 ` Przemysław Wojnowski
2015-08-07 15:57 ` Stefan Monnier
2015-08-07 15:58 ` Stefan Monnier
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=86io8sagij.fsf@stephe-leake.org \
--to=stephen_leake@stephe-leake.org \
--cc=emacs-devel@gnu.org \
/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.