From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#52: bug#15682: 24.3.50; `:link' in `defgroup' does not respect `mouse-1-click-follows-link' Date: Wed, 27 Apr 2016 18:53:17 +0200 Message-ID: <87potbgfia.fsf@gnus.org> References: <203eab8f-376f-423b-8347-3a0d354bb3e3@default> <87inz3hw40.fsf@gnus.org> <89237c28-b7ed-4621-9baf-908fe99a6c9d@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461776067 18548 80.91.229.3 (27 Apr 2016 16:54:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2016 16:54:27 +0000 (UTC) Cc: 15682@debbugs.gnu.org, 52@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 27 18:54:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1avSj6-0002EC-Qg for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Apr 2016 18:54:13 +0200 Original-Received: from localhost ([::1]:44302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avSj5-0003PY-SW for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Apr 2016 12:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avSj1-0003MF-4q for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 12:54:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avSix-0002jO-4B for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 12:54:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avSix-0002jK-19 for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 12:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1avSiw-0000U4-S9 for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Apr 2016 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 52-submit@debbugs.gnu.org id=B52.14617760021800 (code B ref 52); Wed, 27 Apr 2016 16:54:02 +0000 Original-Received: (at 52) by debbugs.gnu.org; 27 Apr 2016 16:53:22 +0000 Original-Received: from localhost ([127.0.0.1]:50343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avSiI-0000Sx-4n for submit@debbugs.gnu.org; Wed, 27 Apr 2016 12:53:22 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avSiG-0000Sm-EP; Wed, 27 Apr 2016 12:53:20 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avSiD-0008Q2-Ld; Wed, 27 Apr 2016 18:53:19 +0200 In-Reply-To: <89237c28-b7ed-4621-9baf-908fe99a6c9d@default> (Drew Adams's message of "Wed, 27 Apr 2016 09:24:34 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116924 Archived-At: Drew Adams writes: > Dunno. But just because the code can be difficult to follow > is not a reason to assume that it does unnecessary things, in > general. The widget code that I've been able to follow does > DTRT, generally (AFAICT). It does, but the logic is very hard to follow. Custom/widget works by inserting text into the buffer, and then "converting" it to a widget, or by creating a widget and then inserting it. And it does it all with overlays, and seems like it's created its own event handling distinct from the normal Emacs event handler, sort of. There are, of course, historical reasons for this. Per wrote Widget in the mid 90s when many of these issues hadn't been resolved, and it worked across many Emacs versions. I kinda think it might be time to consider doing a rewrite from scratch using modern Emacs features, and then things like this bug report would start working automatically. How big a task would this be? I mean, of course we'd keep compatibility (the defcustom language is fine), but just rewrite the UI `M-x customize' bits... Hm... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no