From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22870: 25.0.91; Mouse-clicks fail on button overlays with display properties Date: Sun, 20 Sep 2020 22:18:03 +0200 Message-ID: <87h7rsjj7o.fsf@gnus.org> References: <87twkq9lqn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13534"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 22870@debbugs.gnu.org To: Artur Malabarba Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 20 22:19:25 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kK5nw-0003L2-AQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 22:19:24 +0200 Original-Received: from localhost ([::1]:41728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kK5ns-0001rQ-6P for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 16:19:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK5na-0001qg-7B for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 16:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kK5nZ-0002yY-TE for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 16:19:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kK5nZ-0002lN-OX for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 16:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 20:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22870 X-GNU-PR-Package: emacs Original-Received: via spool by 22870-submit@debbugs.gnu.org id=B22870.160063309710556 (code B ref 22870); Sun, 20 Sep 2020 20:19:01 +0000 Original-Received: (at 22870) by debbugs.gnu.org; 20 Sep 2020 20:18:17 +0000 Original-Received: from localhost ([127.0.0.1]:52758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK5mr-0002kB-Fa for submit@debbugs.gnu.org; Sun, 20 Sep 2020 16:18:17 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:36386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK5mp-0002jt-2P for 22870@debbugs.gnu.org; Sun, 20 Sep 2020 16:18:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=2ffgvazYmaOTyK7nvhd8JgUJCt9bXs5hYvx47JZks5s=; b=fkiedlAzbfpEb2FHyzNPBjvm1l cJiUnYWFoHDQeLZ7N43XoMuWaY5K213QO+bywN+31SW0jMlNoI0TMRhSzrVd8z4zeHOs1yLFA3rQF wHkUy13LWF08SrEdDL2ptN67EELxpLaBCvTTvlzqJPWeKsa9+jak6YMB1sUuSIS9iUUc=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kK5mg-0001Uq-2m; Sun, 20 Sep 2020 22:18:08 +0200 X-Now-Playing: Arto Lindsay's _Prize (Japanese Version)_: "Prefeelings" In-Reply-To: <87twkq9lqn.fsf@gmail.com> (Artur Malabarba's message of "Tue, 01 Mar 2016 14:00:32 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188541 Archived-At: Artur Malabarba writes: > 1. Visit the scratch buffer. > > 2. Evaluate this code: > > (defun my-action (&rest _) > (interactive) > (message "WORKED!")) > > (make-button (point-min) (+ 30 (point-min)) > 'display "..." > 'action #'my-action > 'follow-link t) > > 3. As expected, the first 30 chars of the buffer will be hidden under a > button that displays as =E2=80=9C...=E2=80=9D. Hitting RET on that buffe= r works as > expected (you see the message =E2=80=9CWorked!=E2=80=9D on the echo-area). > > 4. Try clicking on the button with the mouse. You'll get the following er= ror: > > Debugger entered--Lisp error: (void-function nil) > nil(("..." . 1)) > button-activate(("..." . 1) t) > push-button((mouse-2 (# 1 (14 . 2) 15461622 ("..= ." . 1) 1 (1 . 0) nil (5 . 2) (9 . 18)))) I'm unable to reproduce this in Emacs 28, and I see that a change was committed to the push-button command earlier this year, so I think this has been fixed, and I'm closing this bug report. If you can see this bug in Emacs 28, please send a message to the debbugs address and we'll reopen. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no