GNU bug report logs - #44731
[PATCH] Make XEmacs compat aliases easy-menu-{add,remove} obsolete

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Thu, 19 Nov 2020 00:41:01 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44731 in the body.
You can then email your comments to 44731 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#44731; Package emacs. (Thu, 19 Nov 2020 00:41:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 19 Nov 2020 00:41:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Make XEmacs compat aliases easy-menu-{add,remove} obsolete
Date: Wed, 18 Nov 2020 16:40:27 -0800
[Message part 1 (text/plain, inline)]
Severity: wishlist

The `easy-menu-remove' and `easy-menu-add' are XEmacs compatibility
aliases.  I think they do not make sense these days, and it is better
for code that wants to use them to wrap the call in something like
`(when (featurep 'xemacs) ...)'.

The attached patch makes them obsolete and fixes all callers.  It takes
care to not remove XEmacs compatibility from any modules where it was
not already removed, so I hope this will be uncontroversial.
[0001-Make-XEmacs-compat-aliases-easy-menu-add-remove-obso.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44731; Package emacs. (Tue, 24 Nov 2020 08:02:02 GMT) Full text and rfc822 format available.

Message #8 received at 44731 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 44731 <at> debbugs.gnu.org
Subject: Re: bug#44731: [PATCH] Make XEmacs compat aliases
 easy-menu-{add,remove} obsolete
Date: Tue, 24 Nov 2020 09:00:58 +0100
Stefan Kangas <stefan <at> marxist.se> writes:

> The `easy-menu-remove' and `easy-menu-add' are XEmacs compatibility
> aliases.  I think they do not make sense these days, and it is better
> for code that wants to use them to wrap the call in something like
> `(when (featurep 'xemacs) ...)'.
>
> The attached patch makes them obsolete and fixes all callers.  It takes
> care to not remove XEmacs compatibility from any modules where it was
> not already removed, so I hope this will be uncontroversial.

Makes sense to me.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44731; Package emacs. (Tue, 24 Nov 2020 17:15:02 GMT) Full text and rfc822 format available.

Message #11 received at 44731 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 44731 <at> debbugs.gnu.org
Subject: Re: bug#44731: [PATCH] Make XEmacs compat aliases easy-menu-{add,
 remove} obsolete
Date: Tue, 24 Nov 2020 09:14:38 -0800
tags 44731 fixed
close 44731 28.1
thanks

Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Stefan Kangas <stefan <at> marxist.se> writes:
>
>> The `easy-menu-remove' and `easy-menu-add' are XEmacs compatibility
>> aliases.  I think they do not make sense these days, and it is better
>> for code that wants to use them to wrap the call in something like
>> `(when (featurep 'xemacs) ...)'.
>>
>> The attached patch makes them obsolete and fixes all callers.  It takes
>> care to not remove XEmacs compatibility from any modules where it was
>> not already removed, so I hope this will be uncontroversial.
>
> Makes sense to me.

Thanks.  No further comments within a week, so I pushed this to master
as commit affe9b225d.




Added tag(s) fixed. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Tue, 24 Nov 2020 17:15:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 44731 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Tue, 24 Nov 2020 17:15:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Dec 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.