unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Obsoleting more progressively
@ 2010-11-02 15:10 Stefan Monnier
  2010-11-02 16:13 ` Lennart Borgman
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Stefan Monnier @ 2010-11-02 15:10 UTC (permalink / raw)
  To: emacs-devel

`make-obsolete' and friends are very useful to let us get rid of old
features, but even after 10 years of something being declared obsolete,
experience shows it's still in use "out there".
So I'd like to be able to make things "more obsolete" (i.e. create
a second level of obsolescence) before we actually remove them.

I can think of 2 ways to do implement that second level of obsolescence:
- Add warnings at runtime when obsolete stuff is used.
  for functions, commands and macros, make-obsolete that's reasonably
  easy to do; for variables it's more difficult.
  For hooks, we could let add-hook check the obsolescence property and
  emit a warning, and similarly for a few difference cases, but for
  the primitive get&set operations, this is not an option.
- Actually remove the function/variable from the non-released code.
  I.e. remove/deactivate the functions/variables from trunk during
  development but put them back in when we start pretesting.

Any thoughts?

  
        Stefan



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-11-03 13:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-02 15:10 Obsoleting more progressively Stefan Monnier
2010-11-02 16:13 ` Lennart Borgman
2010-11-02 16:56 ` Stephen J. Turnbull
2010-11-02 17:51 ` Drew Adams
2010-11-03  1:11 ` jasonr
2010-11-03  1:56   ` Stefan Monnier
2010-11-03  2:58 ` CHENG Gao
2010-11-03  4:49   ` Leo
2010-11-03  7:59 ` Andreas Röhler
2010-11-03  8:23   ` Kan-Ru Chen
2010-11-03  8:18 ` Glenn Morris
2010-11-03 13:41   ` Stefan Monnier

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