Gnus development mailing list
 help / color / mirror / Atom feed
* mouse pointer moves unexpectedly
@ 2011-01-13  7:30 Peter Münster
  2011-01-22  4:51 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2011-01-13  7:30 UTC (permalink / raw)
  To: ding

Hello,

When
- switching from summary buffer to article buffer (h),
- then removing splits (C-x 1),
- then pressing "n" (gnus-summary-next-unread-article),
my mouse pointer moves near the upper right corner of my emacs X-window.

How can I tell Gnus, not to move my mouse pointer?

TIA for any help!
Cheers, Peter

(already posted at gnu.emacs.gnus, but people told me, that it would be
better to try it here)

-- 
Peter Münster

Contact information: http://pmrb.free.fr/contact/




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-13  7:30 mouse pointer moves unexpectedly Peter Münster
@ 2011-01-22  4:51 ` Lars Ingebrigtsen
  2011-01-22  8:24   ` Peter Münster
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-22  4:51 UTC (permalink / raw)
  To: ding

pmlists@free.fr (Peter Münster) writes:

> When
> - switching from summary buffer to article buffer (h),
> - then removing splits (C-x 1),
> - then pressing "n" (gnus-summary-next-unread-article),
> my mouse pointer moves near the upper right corner of my emacs X-window.
>
> How can I tell Gnus, not to move my mouse pointer?

I don't think Gnus moves the mouse pointer.  Are you sure you haven't
enabled `mouse-avoidance-mode'?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-22  4:51 ` Lars Ingebrigtsen
@ 2011-01-22  8:24   ` Peter Münster
  2011-01-22 18:10     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2011-01-22  8:24 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> pmlists@free.fr (Peter Münster) writes:
>
>> When
>> - switching from summary buffer to article buffer (h),
>> - then removing splits (C-x 1),
>> - then pressing "n" (gnus-summary-next-unread-article),
>> my mouse pointer moves near the upper right corner of my emacs X-window.
>>
>> How can I tell Gnus, not to move my mouse pointer?
>
> I don't think Gnus moves the mouse pointer.  Are you sure you haven't
> enabled `mouse-avoidance-mode'?

Yes, I'm sure. You can reproduce this behaviour even with "emacs -Q".
-- 
Peter Münster

Contact information: http://pmrb.free.fr/contact/




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-22  8:24   ` Peter Münster
@ 2011-01-22 18:10     ` Lars Ingebrigtsen
  2011-01-22 18:42       ` Peter Münster
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-22 18:10 UTC (permalink / raw)
  To: ding

pmlists@free.fr (Peter Münster) writes:

> Yes, I'm sure. You can reproduce this behaviour even with "emacs -Q".

I can't reproduce it at all.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-22 18:10     ` Lars Ingebrigtsen
@ 2011-01-22 18:42       ` Peter Münster
  2011-01-22 18:49         ` Lars Ingebrigtsen
  2011-01-22 21:14         ` Lars Ingebrigtsen
  0 siblings, 2 replies; 11+ messages in thread
From: Peter Münster @ 2011-01-22 18:42 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> pmlists@free.fr (Peter Münster) writes:
>
>> Yes, I'm sure. You can reproduce this behaviour even with "emacs -Q".
>
> I can't reproduce it at all.

Strange...
Adam Sjøgren and Robert Marshall, both using Emacs/24.0.50, can
reproduce it.
( http://groups.google.com/group/gnu.emacs.gnus/msg/7fdc86fd6510c3de and
http://groups.google.com/group/gnu.emacs.gnus/msg/aa9dad84eb42a062 )

What could be the difference?

-- 
Peter Münster

Contact information: http://pmrb.free.fr/contact/




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-22 18:42       ` Peter Münster
@ 2011-01-22 18:49         ` Lars Ingebrigtsen
  2011-01-22 21:01           ` Peter Münster
  2011-01-22 21:14         ` Lars Ingebrigtsen
  1 sibling, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-22 18:49 UTC (permalink / raw)
  To: ding

pmlists@free.fr (Peter Münster) writes:

> Adam Sjøgren and Robert Marshall, both using Emacs/24.0.50, can
> reproduce it.

The people who can reproduce the bug has to debug it.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-22 18:49         ` Lars Ingebrigtsen
@ 2011-01-22 21:01           ` Peter Münster
  2011-01-22 21:11             ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Münster @ 2011-01-22 21:01 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> The people who can reproduce the bug has to debug it.  :-)

I would like to do that. My idea is to start from a backtrace, then
analysing the functions that are called when pressing "n".

But I need some help: how can I get such a backtrace? debug-on-error
does not work, since there is no error (just mouse-movement...).

TIA for any help,
-- 
Peter Münster

Contact information: http://pmrb.free.fr/contact/




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-22 21:01           ` Peter Münster
@ 2011-01-22 21:11             ` Lars Ingebrigtsen
  2011-01-22 21:40               ` Peter Münster
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-22 21:11 UTC (permalink / raw)
  To: ding

pmlists@free.fr (Peter Münster) writes:

> I would like to do that. My idea is to start from a backtrace, then
> analysing the functions that are called when pressing "n".
>
> But I need some help: how can I get such a backtrace? debug-on-error
> does not work, since there is no error (just mouse-movement...).

`M-x edebug-defun' on the function you want to debug usually is the
right way to step through the actions.

However, I think the only way the mouse pointer can be moved is with the
`set-mouse-' functions, and grepping shows that Gnus never calls those
functions.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-22 18:42       ` Peter Münster
  2011-01-22 18:49         ` Lars Ingebrigtsen
@ 2011-01-22 21:14         ` Lars Ingebrigtsen
  2011-01-22 21:15           ` Lars Ingebrigtsen
  1 sibling, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-22 21:14 UTC (permalink / raw)
  To: ding

pmlists@free.fr (Peter Münster) writes:

> Adam Sjøgren and Robert Marshall, both using Emacs/24.0.50, can
> reproduce it.
> ( http://groups.google.com/group/gnu.emacs.gnus/msg/7fdc86fd6510c3de and
> http://groups.google.com/group/gnu.emacs.gnus/msg/aa9dad84eb42a062 )

I don't see those messages in gnu.emacs.gnus on news.gnus.org, oddly
enough... 

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-22 21:14         ` Lars Ingebrigtsen
@ 2011-01-22 21:15           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-22 21:15 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I don't see those messages in gnu.emacs.gnus on news.gnus.org, oddly
> enough... 

Never mind.  I wasn't looking hard enough.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: mouse pointer moves unexpectedly
  2011-01-22 21:11             ` Lars Ingebrigtsen
@ 2011-01-22 21:40               ` Peter Münster
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Münster @ 2011-01-22 21:40 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> `M-x edebug-defun' on the function you want to debug usually is the
> right way to step through the actions.

Giving up. Before debugging, I should learn lisp...

This is the trace, too cryptic for a beginner like me:

--8<---------------cut here---------------start------------->8---
Debugger entered: nil
  edebug-display()
  edebug-debugger(0 before nil)
  edebug-before(0)
  (edebug-after (edebug-before 0) 17 (gnus-summary-next-article (edebug-after ... 11 ...) (edebug-after ... 16 ...)))
  (lambda nil (edebug-after (edebug-before 0) 17 (gnus-summary-next-article ... ...)))()
  edebug-enter(gnus-summary-next-unread-article nil (lambda nil (edebug-after (edebug-before 0) 17 (gnus-summary-next-article ... ...))))
  edebug-enter(gnus-summary-next-unread-article nil (lambda nil (edebug-after (edebug-before 0) 17 (gnus-summary-next-article ... ...))))
  gnus-summary-next-unread-article()
  call-interactively(gnus-summary-next-unread-article)
  byte-code("^H!\210\207" [func call-interactively t] 2)
  gnus-article-read-summary-keys(nil)
  call-interactively(gnus-article-read-summary-keys nil nil)
--8<---------------cut here---------------end--------------->8---


I've found a workaround:

(defun my-alter-article-map ()
  (local-set-key "1" 'delete-other-windows)
  (local-set-key "n" "hnh1")
  (local-set-key "N" "hNh1")
; and so on
)

-- 
Peter Münster

Contact information: http://pmrb.free.fr/contact/




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-01-22 21:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-13  7:30 mouse pointer moves unexpectedly Peter Münster
2011-01-22  4:51 ` Lars Ingebrigtsen
2011-01-22  8:24   ` Peter Münster
2011-01-22 18:10     ` Lars Ingebrigtsen
2011-01-22 18:42       ` Peter Münster
2011-01-22 18:49         ` Lars Ingebrigtsen
2011-01-22 21:01           ` Peter Münster
2011-01-22 21:11             ` Lars Ingebrigtsen
2011-01-22 21:40               ` Peter Münster
2011-01-22 21:14         ` Lars Ingebrigtsen
2011-01-22 21:15           ` Lars Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).