GNU bug report logs - #5473
Fwd: insert-text-button button does not always work

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Mon, 25 Jan 2010 17:18:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

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

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 5473 in the body.
You can then email your comments to 5473 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5473; Package emacs. (Mon, 25 Jan 2010 17:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 25 Jan 2010 17:18:02 GMT) Full text and rfc822 format available.

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

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: Fwd: insert-text-button button does not always work
Date: Mon, 25 Jan 2010 18:17:04 +0100
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 <lennart.borgman <at> gmail.com>
Date: Mon, Jan 25, 2010 at 4:20 PM
Subject: insert-text-button button does not always work
To: Emacs-Devel devel <emacs-devel <at> gnu.org>


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?





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5473; Package emacs. (Tue, 19 Feb 2013 02:18:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 5473 <at> debbugs.gnu.org
Subject: Re: bug#5473: Fwd: insert-text-button button does not always work
Date: Mon, 18 Feb 2013 21:16:09 -0500
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.




Added tag(s) unreproducible and moreinfo. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 19 Feb 2013 02:18:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5473; Package emacs. (Thu, 06 Feb 2014 01:15:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Lennart Borgman <lennart.borgman <at> gmail.com>, 5473 <at> debbugs.gnu.org
Subject: Re: bug#5473: Fwd: insert-text-button button does not always work
Date: Wed, 05 Feb 2014 17:13:16 -0800
Glenn Morris <rgm <at> gnu.org> 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/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5473; Package emacs. (Fri, 25 Dec 2015 23:04:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Lennart Borgman <lennart.borgman <at> gmail.com>, 5473 <at> debbugs.gnu.org
Subject: Re: bug#5473: Fwd: insert-text-button button does not always work
Date: Sat, 26 Dec 2015 00:02:35 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Glenn Morris <rgm <at> gnu.org> 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




bug closed, send any further explanations to 5473 <at> debbugs.gnu.org and Lennart Borgman <lennart.borgman <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 25 Dec 2015 23:04: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. (Sat, 23 Jan 2016 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 148 days ago.

Previous Next


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