GNU bug report logs - #26180
Remove motif toolkit support

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sun, 19 Mar 2017 23:15:02 UTC

Severity: wishlist

Found in version 25.2

Done: Po Lu <luangruo <at> yahoo.com>

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 26180 in the body.
You can then email your comments to 26180 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#26180; Package emacs. (Sun, 19 Mar 2017 23:15:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: Remove motif toolkit support
Date: Sun, 19 Mar 2017 19:14:31 -0400
Package: emacs
Version: 25.2
Severity: wishlist

I'd like to suggest removing support for the Motif toolkit.

Motivation:
Supporting more toolkits (gtk2, gtk3, lucid, motif, none) makes it
harder to develop relevant low-level features.

The Motif toolkit build of Emacs seems to be very little used:
  - Fedora packages just a Gtk version
  - Debian packages Gtk and Lucid
  - Only ~20 mentions of "motif" on bug-gnu-emacs, ever. Most are just
  comparison testing

(I see https://wiki.gentoo.org/wiki/GNU_Emacs mentions it, but my
suspicion is that this is just an attempt at completeness when listing
alternatives to Gtk. Since it's listed first, I wonder if this has
caused more people to use it than otherwise would. All just speculation
on my part.)

(The "none" toolkit is also never used in practice, but I understand it
may be useful as a base/reference.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Thu, 23 Mar 2017 08:02:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Glenn Morris <rgm <at> gnu.org>, 26180 <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Thu, 23 Mar 2017 09:01:02 +0100
> I'd like to suggest removing support for the Motif toolkit.
>
> Motivation:
> Supporting more toolkits (gtk2, gtk3, lucid, motif, none) makes it
> harder to develop relevant low-level features.

I can't recall a case where supporting Motif, Lucid or "none" would
have possibly hindered anyone to fix one of the well known bugs with
GTK/GDK, Cairo and friends.  OTOH, I often use Motif, Lucid and "none"
to simply verify that an arbitrary feature just works or used to work
and it's only the GTK or Cairo builds which break it.

So I'm voting against your suggestion.

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Thu, 23 Mar 2017 08:08:01 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: martin rudalics <rudalics <at> gmx.at>, Glenn Morris <rgm <at> gnu.org>,
 26180 <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Thu, 23 Mar 2017 10:07:35 +0200
On 23.03.2017 10:01, martin rudalics wrote:
> OTOH, I often use Motif, Lucid and "none"
> to simply verify that an arbitrary feature just works or used to work
> and it's only the GTK or Cairo builds which break it.

If Motif were removed, you'd still have Lucid and "none" to test 
against, wouldn't you?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Thu, 23 Mar 2017 08:16:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Dmitry Gutov <dgutov <at> yandex.ru>, Glenn Morris <rgm <at> gnu.org>, 
 26180 <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Thu, 23 Mar 2017 09:15:33 +0100
> If Motif were removed, you'd still have Lucid and "none" to test
> against, wouldn't you?

As a matter of fact, the only person affected by such a change in the
positive sense could be me: I'd have one build less to care about.
Still, it's sometimes reassuring when both Lucid and Motif handle a
strange case the same way.

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Mon, 03 Apr 2017 20:50:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 26180 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#26180: Remove motif toolkit support
Date: Mon, 03 Apr 2017 16:49:22 -0400
martin rudalics wrote:

> As a matter of fact, the only person affected by such a change in the
> positive sense could be me: I'd have one build less to care about.

If you are really saying that only you would benefit from this
simplification (?), then I disagree with you.

> Still, it's sometimes reassuring when both Lucid and Motif handle a
> strange case the same way.

If this is the best (so far the only?) reason to keep Motif,
then it's pretty weak, IMO.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Tue, 04 Apr 2017 07:27:03 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 26180 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#26180: Remove motif toolkit support
Date: Tue, 04 Apr 2017 09:26:14 +0200
>> As a matter of fact, the only person affected by such a change in the
>> positive sense could be me: I'd have one build less to care about.
>
> If you are really saying that only you would benefit from this
> simplification (?), then I disagree with you.

Can you tell me where Motif support is hindering progress in any other
area?

>> Still, it's sometimes reassuring when both Lucid and Motif handle a
>> strange case the same way.
>
> If this is the best (so far the only?) reason to keep Motif,
> then it's pretty weak, IMO.

If it's our aim to reduce the number of bug reports, the best solution
would be to remove GTK support and make the Motif build the default one.
I still don't get it why you so fervidly want to remove sane and stable
branches from the Emacs tree.  Spring-cleaning?

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Sat, 13 Feb 2021 09:31:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 26180 <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Sat, 13 Feb 2021 04:29:56 -0500
4 years later, some progress in db23785.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Sun, 14 Feb 2021 12:56:01 GMT) Full text and rfc822 format available.

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

From: Robert Pluim <rpluim <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 26180 <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Sun, 14 Feb 2021 13:55:31 +0100
>>>>> On Sat, 13 Feb 2021 04:29:56 -0500, Glenn Morris <rgm <at> gnu.org> said:

    Glenn> 4 years later, some progress in db23785.

I do appear to have poked the hornets' nest there.

One other reason to remove motif: the lwlib library needs rebuilding
if you switch from lucid to motif or back, and our build system
doesnʼt know that, so I ended up having to clean manually.

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Sun, 14 Feb 2021 13:33:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, 26180 <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Sun, 14 Feb 2021 14:32:21 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Sat, 13 Feb 2021 04:29:56 -0500, Glenn Morris <rgm <at> gnu.org> said:
>
>     Glenn> 4 years later, some progress in db23785.
>
> I do appear to have poked the hornets' nest there.

Have there been any protests yet?  :-)

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Sun, 14 Feb 2021 13:38:02 GMT) Full text and rfc822 format available.

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

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 26180 <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Sun, 14 Feb 2021 14:37:34 +0100
>>>>> On Sun, 14 Feb 2021 14:32:21 +0100, Lars Ingebrigtsen <larsi <at> gnus.org> said:

    Lars> Robert Pluim <rpluim <at> gmail.com> writes:
    >>>>>>> On Sat, 13 Feb 2021 04:29:56 -0500, Glenn Morris <rgm <at> gnu.org> said:
    >> 
    Glenn> 4 years later, some progress in db23785.
    >> 
    >> I do appear to have poked the hornets' nest there.

    Lars> Have there been any protests yet?  :-)

Not virulent ones. The one argument Iʼve seen advanced that might
carry some weight is that CDE uses Motif, and forcing emacs under CDE
to use Lucid would make it look less integrated. I have no idea how
popular CDE is, though.

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Sun, 14 Feb 2021 13:46:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, 26180 <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Sun, 14 Feb 2021 14:45:04 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

> Not virulent ones. The one argument Iʼve seen advanced that might
> carry some weight is that CDE uses Motif, and forcing emacs under CDE
> to use Lucid would make it look less integrated. I have no idea how
> popular CDE is, though.

From the bug report analysis, it doesn't seem very popular.  And even
people under CDE have the option of using other toolkits, I believe.  So
I don't think that's a major argument against removing Motif support.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26180; Package emacs. (Sun, 14 Feb 2021 17:17:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Robert Pluim <rpluim <at> gmail.com>, Glenn Morris <rgm <at> gnu.org>
Cc: 26180 <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Sun, 14 Feb 2021 18:16:13 +0100
> One other reason to remove motif: the lwlib library needs rebuilding
> if you switch from lucid to motif or back,

... not if you build out of tree ...

> and our build system
> doesnʼt know that, so I ended up having to clean manually.

martin





Reply sent to Po Lu <luangruo <at> yahoo.com>:
You have taken responsibility. (Tue, 08 Feb 2022 06:53:02 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Tue, 08 Feb 2022 06:53:02 GMT) Full text and rfc822 format available.

Message #41 received at 26180-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 26180-done <at> debbugs.gnu.org
Subject: Re: bug#26180: Remove motif toolkit support
Date: Tue, 08 Feb 2022 14:51:39 +0800
Glenn Morris <rgm <at> gnu.org> writes:

> Package: emacs
> Version: 25.2
> Severity: wishlist

We agreed to keep Motif support in a discussion last December, so I'm
closing this bug.

I agree with Martin in that there isn't a single concrete case where
Motif interferes with the development of a feature.  Most of the
important code is shared with the Lucid/Athena build, since both
toolkits use Xt, and the toolkit that causes us difficulties is
typically GTK 3.  For instance, it's the only toolkit that has to be
special-cased for frame resize synchronization, since it doesn't behave
well when it doesn't know about the basic frame counter, while the
development of that feature went smoothly on every other build we
currently support.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Mar 2022 12:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 49 days ago.

Previous Next


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