[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Yikes! easy-menu-add is suddenly compiled to `ignore', without any w
From: |
Stefan Kangas |
Subject: |
Re: Yikes! easy-menu-add is suddenly compiled to `ignore', without any warning. |
Date: |
Wed, 7 Apr 2021 07:43:01 -0500 |
Hi Alan,
Alan Mackenzie <acm@muc.de> writes:
> First of all, sorry for being so strident in my opening post. I now
> understand what's happening.
No worries, I'm just happy we could clarify the situation. I think this
is just an example of the kind of confusion that these compatibility
shims can sometimes cause.
>> > 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.
>
>> Yes, we could improve that message.
>
>> Perhaps it could say: "it is not needed, so just remove it".
>
> Maybe it could say something like "which was always a no-op in Emacs",
> thus reassuring maintainers that they needn't worry about lost menu
> functionality.
I have now done this on master (commit 43984d72b0). Feel free to tweak
the message if you see a way to make it even more clear.
Re: Yikes! easy-menu-add is suddenly compiled to `ignore', without any warning., Eli Zaretskii, 2021/04/07