From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#1458: 23.0.60; mouse-posn-property: Args out of range Date: Tue, 02 Dec 2008 11:39:11 -0500 Message-ID: <87skp6jzv4.fsf@cyd.mit.edu> References: <874p1qgtpt.fsf@escher.local.home> Reply-To: Chong Yidong , 1458@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228236652 24633 80.91.229.12 (2 Dec 2008 16:50:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2008 16:50:52 +0000 (UTC) Cc: 1458@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 17:51:54 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L7YTI-0002oZ-7e for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 17:51:36 +0100 Original-Received: from localhost ([127.0.0.1]:44456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7YS5-0005W9-PY for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 11:50:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7YS1-0005Vh-JI for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 11:50:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7YS0-0005VK-71 for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 11:50:16 -0500 Original-Received: from [199.232.76.173] (port=56531 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7YS0-0005VH-1W for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 11:50:16 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45121) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7YRz-0002CV-HC for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 11:50:15 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB2GoCN4031591; Tue, 2 Dec 2008 08:50:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB2Gj2u2029681; Tue, 2 Dec 2008 08:45:02 -0800 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 02 Dec 2008 16:45:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1458 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1458-submit@emacsbugs.donarmstrong.com id=B1458.122823595328444 (code B ref 1458); Tue, 02 Dec 2008 16:45:02 +0000 Original-Received: (at 1458) by emacsbugs.donarmstrong.com; 2 Dec 2008 16:39:13 +0000 Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB2GdA2r028438 for <1458@emacsbugs.donarmstrong.com>; Tue, 2 Dec 2008 08:39:11 -0800 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 75D9157E1FC; Tue, 2 Dec 2008 11:39:11 -0500 (EST) In-Reply-To: (Stefan Monnier's message of "Tue, 02 Dec 2008 10:11:39 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 02 Dec 2008 11:50:16 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22845 Archived-At: Stefan Monnier writes: > 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?