From unknown Wed Jun 18 23:04:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5473 <5473@debbugs.gnu.org> To: bug#5473 <5473@debbugs.gnu.org> Subject: Status: Fwd: insert-text-button button does not always work Reply-To: bug#5473 <5473@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:04:36 +0000 retitle 5473 Fwd: insert-text-button button does not always work reassign 5473 emacs submitter 5473 Lennart Borgman severity 5473 normal tag 5473 unreproducible moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 25 12:17:41 2010 Received: (at submit) by debbugs.gnu.org; 25 Jan 2010 17:17:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZSZJ-0005OV-D7 for submit@debbugs.gnu.org; Mon, 25 Jan 2010 12:17:41 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZSZI-0005ON-IR for submit@debbugs.gnu.org; Mon, 25 Jan 2010 12:17:40 -0500 Received: from mail.gnu.org ([199.232.76.166]:39480 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NZSZD-0006gv-Ar for submit@debbugs.gnu.org; Mon, 25 Jan 2010 12:17:36 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NZSZ8-00019D-5v for submit@debbugs.gnu.org; Mon, 25 Jan 2010 12:17:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00, UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:40329) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZSZ8-000194-1w for submit@debbugs.gnu.org; Mon, 25 Jan 2010 12:17:30 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZSZ7-0006RT-A8 for bug-gnu-emacs@gnu.org; Mon, 25 Jan 2010 12:17:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZSZ6-0006Qp-Ij for bug-gnu-emacs@gnu.org; Mon, 25 Jan 2010 12:17:28 -0500 Received: from [199.232.76.173] (port=59080 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZSZ6-0006Qd-8t for bug-gnu-emacs@gnu.org; Mon, 25 Jan 2010 12:17:28 -0500 Received: from fg-out-1718.google.com ([72.14.220.154]:60542) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZSZ5-00018g-AR for bug-gnu-emacs@gnu.org; Mon, 25 Jan 2010 12:17:27 -0500 Received: by fg-out-1718.google.com with SMTP id e21so454619fga.12 for ; Mon, 25 Jan 2010 09:17:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=tTUOxiTmxPZ1ZUSD9zDZhIf9T+Bv+gA/zOvWNgoz/k0=; b=KWQJM6nvjc6kRdrIwjtUISZ6Xg9IQMnbGAjNr0290zio2fPNTnEghzPwPBgbtLKHDI ZOnYVCJGU58qKAvc7zOV/n6DtundytvLGaWS9w/B7onPajykEfWLn87+KWOcRoV65KQP B5ivOiZFXayBXKXL1U/Nl51Yw+N+3ythykPG4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Vbnjl4TxHBnwD/Ds6j9VdTSu6+gmKYLkbsRf6B9ZPaoLWrkUNZLWs2i7/YJBk+2bZi F98sIsiEzMNL5eMwjTXQz/E0j49+9C0bBkXlMja/9AR0j94pKSRtDHtB4fU/KVGcnpTM 5lvEe9wnuTu2u8o33wz+v0Oy/CVycVeB3I/Y4= MIME-Version: 1.0 Received: by 10.239.192.65 with SMTP id d1mr823402hbi.197.1264439844177; Mon, 25 Jan 2010 09:17:24 -0800 (PST) In-Reply-To: References: From: Lennart Borgman Date: Mon, 25 Jan 2010 18:17:04 +0100 Message-ID: Subject: Fwd: insert-text-button button does not always work To: Emacs Bugs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) I got no answer to this one so I am reporting it as a bug instead. I can't find out what is happening. It is reproducable though it is a bit random. Some kind of race condition. (key-binding [13]) on the button in this strange state gives just `newline' instead of `push-button'. Note that the same code normally gives a totally fine button. It has something to do with calling the function that creates the buffer from command line since it is then it fails, but I have no idea why. The button looks perfectly normal. It has the category `default-button' which should have given it the key binding `push-button'. I also observer that there is something wrong with (get-char-property (point) 'keymap). This should return the `default-button' keymap. Sometimes it does not do that even in the case where the button works. The bug can be reproduced by using the library pause.el from nXhtml. At the moment I unfortunately do not know how to make a smaller example. To reproduce it do emacs -Q -l pause.elc --eval "(pause-start 0.05) The two buttons in the orange buffer has this problem. If the eval part of the command line above is omitted and it is evaluated in M-: instead M-: (pause-after 0.05) then the buttons works ok. Note that in both cases the buffer is created in a timer after 0.05 minutes. ---------- Forwarded message ---------- From: Lennart Borgman Date: Mon, Jan 25, 2010 at 4:20 PM Subject: insert-text-button button does not always work To: Emacs-Devel devel I am hunting a bug related to insert-text-button. The button sometimes does not work when I press RET and sometimes it does. Clicking on it with the mouse seems to work always. Yesterday it looked liked it always worked if it did hit any key before the buffer with the button is shown. (The buffer is loaded from command line.) Today I can not reproduce this. Any bell ringing in someone's head about this? From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 18 21:17:17 2013 Received: (at 5473) by debbugs.gnu.org; 19 Feb 2013 02:17:17 +0000 Received: from localhost ([127.0.0.1]:35537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7clg-0008IG-5h for submit@debbugs.gnu.org; Mon, 18 Feb 2013 21:17:16 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:36911) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7cld-0008I6-C2 for 5473@debbugs.gnu.org; Mon, 18 Feb 2013 21:17:14 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U7ckc-0005r6-3Q; Mon, 18 Feb 2013 21:16:10 -0500 From: Glenn Morris To: Lennart Borgman Subject: Re: bug#5473: Fwd: insert-text-button button does not always work References: X-Spook: Vickie Weaver United Nations S Box Crypto AG Elvis X-Ran: rs;Za1$"6}Q9`7o+NTzN5\PFRtrLf\A;fX~@eMZ{80!_??%PJN0]j,~RyC>b@>\1vON{:_ X-Hue: yellow X-Attribution: GM Date: Mon, 18 Feb 2013 21:16:09 -0500 In-Reply-To: (Lennart Borgman's message of "Mon, 25 Jan 2010 18:17:04 +0100") Message-ID: <06r4kdjbfa.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 5473 Cc: 5473@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Lennart Borgman wrote: > I am hunting a bug related to insert-text-button. The button sometimes > does not work when I press RET and sometimes it does. > > Clicking on it with the mouse seems to work always. [...] > The bug can be reproduced by using the library pause.el from nXhtml. > At the moment I unfortunately do not know how to make a smaller > example. To reproduce it do > > emacs -Q -l pause.elc --eval "(pause-start 0.05) Seems to work fine for me with emacs-24-2.93 -l ./pause.elc --eval '(pause-start 0.05 nil)' > The two buttons in the orange buffer has this problem. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 18 21:17:39 2013 Received: (at control) by debbugs.gnu.org; 19 Feb 2013 02:17:39 +0000 Received: from localhost ([127.0.0.1]:35540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7cm3-0008J4-2e for submit@debbugs.gnu.org; Mon, 18 Feb 2013 21:17:39 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:36916) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7cm1-0008Ix-2v for control@debbugs.gnu.org; Mon, 18 Feb 2013 21:17:37 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U7cl0-0005sQ-7w for control@debbugs.gnu.org; Mon, 18 Feb 2013 21:16:34 -0500 Date: Mon, 18 Feb 2013 21:16:34 -0500 Message-Id: Subject: control message for bug 5473 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) tag 5473 unreproducible moreinfo From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 20:14:38 2014 Received: (at 5473) by debbugs.gnu.org; 6 Feb 2014 01:14:38 +0000 Received: from localhost ([127.0.0.1]:51674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBDY5-0000S1-7a for submit@debbugs.gnu.org; Wed, 05 Feb 2014 20:14:37 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:38714) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBDY3-0000Rt-M8 for 5473@debbugs.gnu.org; Wed, 05 Feb 2014 20:14:36 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBDXn-0008Fj-IK; Thu, 06 Feb 2014 02:14:19 +0100 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#5473: Fwd: insert-text-button button does not always work References: <06r4kdjbfa.fsf@fencepost.gnu.org> Date: Wed, 05 Feb 2014 17:13:16 -0800 In-Reply-To: <06r4kdjbfa.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 18 Feb 2013 21:16:09 -0500") Message-ID: <87eh3hvyab.fsf@building.gnus.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1WBDXn-0008Fj-IK X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392254062.21204@QBCXFqMuhW9LPahiTKSo+g X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 5473 Cc: Lennart Borgman , 5473@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Glenn Morris writes: >> The bug can be reproduced by using the library pause.el from nXhtml. >> At the moment I unfortunately do not know how to make a smaller >> example. To reproduce it do >> >> emacs -Q -l pause.elc --eval "(pause-start 0.05) > > Seems to work fine for me with > > emacs-24-2.93 -l ./pause.elc --eval '(pause-start 0.05 nil)' This bug report was previously marked "unreproducible". Are you still seeing this problem in Emacs 24.3? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 18:03:09 2015 Received: (at 5473) by debbugs.gnu.org; 25 Dec 2015 23:03:10 +0000 Received: from localhost ([127.0.0.1]:35875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbO6-0004i3-Eg for submit@debbugs.gnu.org; Fri, 25 Dec 2015 18:03:09 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:42867) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbO0-0004gv-7B for 5473@debbugs.gnu.org; Fri, 25 Dec 2015 18:03:03 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCbNc-0006B3-9m; Sat, 26 Dec 2015 00:02:36 +0100 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#5473: Fwd: insert-text-button button does not always work References: <06r4kdjbfa.fsf@fencepost.gnu.org> <87eh3hvyab.fsf@building.gnus.org> Date: Sat, 26 Dec 2015 00:02:35 +0100 In-Reply-To: <87eh3hvyab.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Wed, 05 Feb 2014 17:13:16 -0800") Message-ID: <87io3mt9mc.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aCbNc-0006B3-9m X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451689356.72481@T/j9jd1R/nrXynkz6k5GGg X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 5473 Cc: Lennart Borgman , 5473@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Lars Ingebrigtsen writes: > Glenn Morris writes: > >>> The bug can be reproduced by using the library pause.el from nXhtml. >>> At the moment I unfortunately do not know how to make a smaller >>> example. To reproduce it do >>> >>> emacs -Q -l pause.elc --eval "(pause-start 0.05) >> >> Seems to work fine for me with >> >> emacs-24-2.93 -l ./pause.elc --eval '(pause-start 0.05 nil)' > > This bug report was previously marked "unreproducible". Are you still > seeing this problem in Emacs 24.3? More information was requested, but no response was given within a few months, so I'm closing this bug report. If the problem still exists, please reopen this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 18:03:04 2015 Received: (at control) by debbugs.gnu.org; 25 Dec 2015 23:03:04 +0000 Received: from localhost ([127.0.0.1]:35873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbO4-0004hu-7z for submit@debbugs.gnu.org; Fri, 25 Dec 2015 18:03:04 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:42874) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbO2-0004h7-N4 for control@debbugs.gnu.org; Fri, 25 Dec 2015 18:03:02 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCbNh-0006BG-Rg for control@debbugs.gnu.org; Sat, 26 Dec 2015 00:02:42 +0100 Date: Sat, 26 Dec 2015 00:02:41 +0100 Message-Id: <87h9j6t9m6.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #5473 X-MailScanner-ID: 1aCbNh-0006BG-Rg X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451689362.20158@hrgpcrSRQx50uEqiJryuTg X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) close 5473 From unknown Wed Jun 18 23:04:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Jan 2016 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator