* bug#740: 23.0.60; Text buttons does not do the action with mouse-1
@ 2008-08-19 13:03 Lennart Borgman (gmail)
2008-08-20 8:21 ` martin rudalics
0 siblings, 1 reply; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2008-08-19 13:03 UTC (permalink / raw)
To: emacs-pretest-bug@gnu.org
If you insert a text button in a buffer
(insert-text-button 'test
'action (lambda (button)
(interactive)
(message "You clicked %s" button)))
then nothing happens if you click with mouse-1 on the button. At least
not on w32.
Wasn't there a decision that this should work on w32 where you normally
click links with mouse-1?
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-08-10
Windowing system distributor `Microsoft Corp.', version 5.1.2600
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#740: 23.0.60; Text buttons does not do the action with mouse-1
2008-08-19 13:03 bug#740: 23.0.60; Text buttons does not do the action with mouse-1 Lennart Borgman (gmail)
@ 2008-08-20 8:21 ` martin rudalics
2008-08-20 9:54 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 5+ messages in thread
From: martin rudalics @ 2008-08-20 8:21 UTC (permalink / raw)
To: Lennart Borgman (gmail), 740
I always use
(put 'default-button 'follow-link t)
(setq mouse-1-click-follows-link t)
martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#740: 23.0.60; Text buttons does not do the action with mouse-1
2008-08-20 8:21 ` martin rudalics
@ 2008-08-20 9:54 ` Lennart Borgman (gmail)
2008-08-20 14:17 ` Drew Adams
0 siblings, 1 reply; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2008-08-20 9:54 UTC (permalink / raw)
To: martin rudalics; +Cc: 740
martin rudalics wrote:
> I always use
>
> (put 'default-button 'follow-link t)
> (setq mouse-1-click-follows-link t)
Yes, but this does not cure the bug. It is the default case that should
work.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#740: 23.0.60; Text buttons does not do the action with mouse-1
2008-08-20 9:54 ` Lennart Borgman (gmail)
@ 2008-08-20 14:17 ` Drew Adams
2008-08-20 14:26 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 5+ messages in thread
From: Drew Adams @ 2008-08-20 14:17 UTC (permalink / raw)
To: 'Lennart Borgman (gmail)', 740, 'martin rudalics'
> > (put 'default-button 'follow-link t)
> > (setq mouse-1-click-follows-link t)
>
>
> Yes, but this does not cure the bug. It is the default case
> that should work.
More importantly, we shouldn't be changing a user's preference (option value)
like that. I have customized `mouse-1-click-follows-link' to nil; I don't want
this changed unless I change it myself.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#740: 23.0.60; Text buttons does not do the action with mouse-1
2008-08-20 14:17 ` Drew Adams
@ 2008-08-20 14:26 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2008-08-20 14:26 UTC (permalink / raw)
To: Drew Adams; +Cc: 740
Drew Adams wrote:
>>> (put 'default-button 'follow-link t)
>>> (setq mouse-1-click-follows-link t)
>>
>> Yes, but this does not cure the bug. It is the default case
>> that should work.
>
> More importantly, we shouldn't be changing a user's preference (option value)
> like that. I have customized `mouse-1-click-follows-link' to nil; I don't want
> this changed unless I change it myself.
I agree - except for the "more importantly" words ;-)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-20 14:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-19 13:03 bug#740: 23.0.60; Text buttons does not do the action with mouse-1 Lennart Borgman (gmail)
2008-08-20 8:21 ` martin rudalics
2008-08-20 9:54 ` Lennart Borgman (gmail)
2008-08-20 14:17 ` Drew Adams
2008-08-20 14:26 ` Lennart Borgman (gmail)
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.