unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Yikes!  easy-menu-add is suddenly compiled to `ignore', without any warning.
@ 2021-04-07  9:29 Alan Mackenzie
  2021-04-07 10:06 ` Stefan Kangas
  2021-04-07 11:41 ` Eli Zaretskii
  0 siblings, 2 replies; 11+ messages in thread
From: Alan Mackenzie @ 2021-04-07  9:29 UTC (permalink / raw)
  To: emacs-devel, Stefan Kangas

Hello, Emacs and Stefan K.

In Emacs 28, easy-menu-add is now compiled to `ignore'.  This isn't
friendly, particularly as in Emacs 27.2 and earlier, it just worked,
without any warnings of impending obsoletion.

The warning message Emacs 28.1 gives out is particularly unfriendly and
unhelpful.  It looks like this:

    cc-mode.el:2591:4: Warning: `easy-menu-add' is an obsolete function
    (as of 28.1); use `ignore' instead.

Use `ignore' instead?

Why have we not followed the normal procedure here, by marking the
function as obsolete, yet leaving it working, for one or two major
versions, and only then removing it?

This sudden removal of easy-menu-add will cause unnecessary annoyance
amongst maintainers whose sources still use it.  Even in the Emacs
sources there are 25 uses of the function.

The commit which created this situation was probably this one:

commit affe9b225de711429248a73f920dc9f38b15c932
Author: Stefan Kangas <stefan@marxist.se>
Date:   Tue Nov 24 17:39:11 2020 +0100

    Make XEmacs compat aliases easy-menu-{add,remove} obsolete

-- 
Alan Mackenzie (Nuremberg, Germany).



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

end of thread, other threads:[~2021-04-07 14:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-07  9:29 Yikes! easy-menu-add is suddenly compiled to `ignore', without any warning Alan Mackenzie
2021-04-07 10:06 ` Stefan Kangas
2021-04-07 11:24   ` Ulrich Mueller
2021-04-07 11:37     ` Eli Zaretskii
2021-04-07 14:14       ` Ulrich Mueller
2021-04-07 14:24         ` Eli Zaretskii
2021-04-07 14:30     ` XEmacs compatibility (was: Yikes! easy-menu-add is suddenly compiled to `ignore', without any warning) Stefan Monnier
2021-04-07 11:58   ` Yikes! easy-menu-add is suddenly compiled to `ignore', without any warning Alan Mackenzie
2021-04-07 12:43     ` Stefan Kangas
2021-04-07 11:41 ` Eli Zaretskii
2021-04-07 12:32   ` Alan Mackenzie

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