GNU bug report logs - #1458
23.0.60; mouse-posn-property: Args out of range

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Sat, 29 Nov 2008 20:40:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 1458 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 1458 <at> debbugs.gnu.org
Subject: Re: bug#1458: 23.0.60; mouse-posn-property: Args out of range
Date: Tue, 02 Dec 2008 17:49:57 -0500
>> You patch to timer_check doesn't seem right: it may cause the
>> current-buffer to be changed even if the timer doesn't do anything, just
>> because the current-buffer before running the timer wasn't the
>> selected-window's buffer.  It causes no end of trouble in Gnus
>> (e.g. when connecting to an IMAP server, it calls read-passwd during
>> which calls to read-event can run timers, so we start read-passwd in
>> the IMAP process's buffer and we finish it in the *Group* buffer or
>> which ever buffer is currently displayed, after which
>> send-process-string fails because it can't find the process).

> I see.  The change is reverted.

> Now I'm not certain how to deal with the problem described in bug#1458.
> Perhaps we should make the selected window's buffer current only if the
> selected window's buffer was current before running the timer.  WDYT?

I don't think so.  I think we need to track this bug further down.
Maybe the problem is that some code uses current_buffer (maybe to build
the mouse events?) rather than selected_window->buffer.


        Stefan




This bug report was last modified 16 years and 170 days ago.

Previous Next


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