From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1458: 23.0.60; mouse-posn-property: Args out of range Date: Sat, 29 Nov 2008 21:31:10 +0100 Message-ID: <874p1qgtpt.fsf@escher.local.home> Reply-To: Stephen Berman , 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 1227991832 29317 80.91.229.12 (29 Nov 2008 20:50:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 20:50:32 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 21:51:35 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 1L6Wms-000465-Oo for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 21:51:35 +0100 Original-Received: from localhost ([127.0.0.1]:42489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6Wli-00032r-PI for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 15:50:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6Wld-0002zu-Bq for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 15:50:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6Wlc-0002yo-NH for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 15:50:16 -0500 Original-Received: from [199.232.76.173] (port=33256 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6Wlc-0002yd-Hk for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 15:50:16 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34141) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6Wla-0007kz-Qh for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2008 15: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 mATKoB1s025673; Sat, 29 Nov 2008 12:50:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mATKe568022695; Sat, 29 Nov 2008 12:40:05 -0800 X-Loop: don@donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 29 Nov 2008 20:40:05 +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 submit@emacsbugs.donarmstrong.com id=B.122799089321228 (code B ref -1); Sat, 29 Nov 2008 20:40:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 29 Nov 2008 20:34:53 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mATKYoAq021218 for ; Sat, 29 Nov 2008 12:34:51 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:39095) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L6WWJ-0002cO-SR for emacs-pretest-bug@gnu.org; Sat, 29 Nov 2008 15:34:27 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L6WWb-000622-VI for emacs-pretest-bug@gnu.org; Sat, 29 Nov 2008 15:34:49 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:41800) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L6WWb-00061c-CJ for emacs-pretest-bug@gnu.org; Sat, 29 Nov 2008 15:34:45 -0500 Original-Received: (qmail invoked by alias); 29 Nov 2008 20:34:43 -0000 Original-Received: from i59F54CB8.versanet.de (EHLO escher.local.home) [89.245.76.184] by mail.gmx.net (mp067) with SMTP; 29 Nov 2008 21:34:43 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19jRWpL3jRjGTYKBSxORCTZrtsEdqHLSFu02Hl63S r56CyEeGJS6oVd Original-Received: by escher.local.home (Postfix, from userid 1000) id B426F7FF99; Sat, 29 Nov 2008 21:31:10 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.47 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 29 Nov 2008 15: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:22770 gmane.emacs.pretest.bugs:23423 Archived-At: 1. emacs -Q 2. Eval this: (defun testme () (save-selected-window (switch-to-buffer "testme"))) If `testme' is not a fresh buffer, see observation (a) below. 3. Eval (run-at-time 3 nil 'testme) and wait 3 seconds. 4. When the `testme' buffer appears, move the mouse cursor over the mode line; as soon as it hits a position that has a help-echo property containing the string "mouse-2", the following error is raised: mouse-posn-property: Args out of range: 719 The out of range number is (point) in step 3. Backtrace: Debugger entered--Lisp error: (args-out-of-range 719) get-char-property(719 follow-link #) mouse-posn-property((# mode-line (467 . 644) 0 (#("-%-" 0 3 ...) . 2) 719 (58 . 46) nil (2 . 4) (8 . 16)) follow-link) (or (mouse-posn-property pos (quote follow-link)) (key-binding [follow-link] nil t pos)) (and (or (not ...) mouse-1-click-in-non-selected-windows (eq ... ...)) (or (mouse-posn-property pos ...) (key-binding [follow-link] nil t pos))) (let ((action ...)) (cond (... ...) (... ...) (t action))) mouse-on-link-p((# mode-line (467 . 644) 0 (#("-%-" 0 3 ...) . 2) 719 (58 . 46) nil (2 . 4) (8 . 16))) mouse-fixup-help-message("mouse-1: Select (drag to resize)\nmouse-2: Make current window occupy the whole frame\nmouse-3: Remove current window from display") Observations: a. The error only occurs when (point) of the the buffer that is current when step 3 is carried out, is greater than (point-max) of the buffer `testme'. b. The error only occurs when testme is called from a timer. c. The error only occurs when the function called from the timer contains a call to save-selected-window. d. The error only occurs with propertized text satisfying mouse-on-link-p in either the mode line or the header line, i.e., suitably propertized text inserted into the editing area of the buffer does not induce the error. In GNU Emacs 23.0.60.17 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-11-29 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10400090 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default-enable-multibyte-characters: t