From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1372: marked as done (posn-at-x-y reports wrong window) Date: Thu, 20 Nov 2008 02:30:03 -0800 Message-ID: References: <49253A10.10603@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1227177003-6525-0" X-Trace: ger.gmane.org 1227177059 6269 80.91.229.12 (20 Nov 2008 10:30:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 10:30:59 +0000 (UTC) To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 20 11:32:00 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 1L36pJ-00048s-EH for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 11:32:00 +0100 Original-Received: from localhost ([127.0.0.1]:47246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L36oA-0007W5-FI for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 05:30:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L36nm-0007QZ-2I for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 05:30:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L36nk-0007QB-OK for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 05:30:21 -0500 Original-Received: from [199.232.76.173] (port=38989 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L36nk-0007Q0-5w for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 05:30:20 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48333) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L36nj-0003T2-C4 for bug-gnu-emacs@gnu.org; Thu, 20 Nov 2008 05:30:20 -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 mAKAU9A1007116; Thu, 20 Nov 2008 02:30:09 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAKAU3Fr006618; Thu, 20 Nov 2008 02:30:03 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1372 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:22519 Archived-At: This is a multi-part message in MIME format... ------------=_1227177003-6525-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 20 Nov 2008 11:21:04 +0100 with message-id <49253A10.10603@gmx.at> and subject line Re: bug#1372: posn-at-x-y reports wrong window has caused the Emacs bug report #1372, regarding posn-at-x-y reports wrong window to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1372: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1372 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1227177003-6525-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.3 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Nov 2008 00:45:59 +0000 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 mAJ0jtTU003016 for ; Tue, 18 Nov 2008 16:45:56 -0800 Received: from mail.gnu.org ([199.232.76.166]:59713 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L2bCT-0001gM-RQ for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 19:45:45 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L2bCb-0006If-7h for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 19:45:54 -0500 Received: from an-out-0708.google.com ([209.85.132.240]:50184) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L2bCa-0006IV-QJ for emacs-pretest-bug@gnu.org; Tue, 18 Nov 2008 19:45:53 -0500 Received: by an-out-0708.google.com with SMTP id c38so1414858ana.21 for ; Tue, 18 Nov 2008 16:45:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :content-type:mime-version:subject:date:references:x-mailer; bh=5axaLUNbEeT2szzKEFcnAAfwfBXhwZly8c4eGgNkeQ0=; b=RDW2d50nPaWeIfTcEDjMttyq6Orq/mcy5GAtjxK+8eEevL2nJGIqvWdDLlqIf13brY auJ4SBBr84AWPS17aIMkKVflo1nvJq0bmyVyfAdTd2ZE/tUudJuMm8nNmik/UkjW+wxW HCwZZvX81u0v8VmYIgqcu3x/5HoMxnV0uMwS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:content-type:mime-version:subject:date :references:x-mailer; b=m+oDJkRaL+5+Xv+dIjVAj8IxRhQbU+eEBu9ZvEVTjcgqgFWZaNVJfRSU3VCiAU5BGV rLc7r8NeYUACVclK6lXJ0nKuy/hvHHj9Big/B9YOgTeiIzNZSBGNMorMKsNkP9Rwlr7g 04LR7GDfnzKRZsAhcGCevUzzdi5v2AZcgmHSk= Received: by 10.100.131.13 with SMTP id e13mr312657and.57.1227055550716; Tue, 18 Nov 2008 16:45:50 -0800 (PST) Received: from SCARLETT.PSY.CMU.EDU (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id b37sm9084582ana.50.2008.11.18.16.45.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 Nov 2008 16:45:49 -0800 (PST) Cc: Jin Choi Message-Id: From: David Reitter To: emacs-pretest-bug@gnu.org Content-Type: multipart/signed; boundary=Apple-Mail-5--359755552; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v929.2) Subject: posn-at-x-y reports wrong window Date: Tue, 18 Nov 2008 19:45:47 -0500 References: <356ECE88-9412-46FD-A227-C52D5C87E212@mac.com> X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --Apple-Mail-5--359755552 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I received the bug report below for our visual-line-mode in Aquamacs Emacs, but I managed to reproduce the core issue on Emacs 23 (Nextstep port) as follows: (fringe-mode 0) C-x 3 C-x 2 C-x o C-x o (we're now in the large window on the right, with two small windows in the left half of the frame). Insert enough newlines to be vertically just above the horizontal divider on the left. M-: (posn-at-x-y 0 (cdr (posn-x-y (posn-at-point)))) RET Insert newline, now we're next to the divider line. M-: (posn-at-x-y 0 (cdr (posn-x-y (posn-at-point)))) RET --> wrong window (the window in the upper left) is given in the structure. Instead of 0, the x value can be up to 6 ((frame-char-width) reports 7). Begin forwarded message: > From: Jin Choi > Date: 18 November 2008 14:35:17 EST > To: aquamacs-bugs@aquamacs.org > Subject: [Aquamacs-bugs] visual-line-mode error with vertically > split windows > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > THE SETUP: vertically split window with the left half split > horizontally. This is commonly used in, say, ECB, perhaps other modes: > --------- > | 1 | 3 | > | | | > ----| | > | 2 | | > | | | > --------- > > > THE BUG: in the right hand window, attempting to move the cursor (in > column 1) through the row adjacent to the mode line of the upper left > hand window moves the cursor to the upper left window. Also, placing > the cursor in column 0 of that row then typing C-n or C-p gives the > error "Position not in text area of window." > > > > TO REPLICATE: > C-x 3 C-x 2 > > Hit return in the right side window (3) enough to get you past the > divider > on the left. > > Then C-p back past the divider. Cursor jumps to upper left window (1). > > Now click on the row in window 3 adjacent to the divider. Type C-n or > C-p. Gives above error. > > > WORKAROUND: > (global-visual-line-mode 0) > > > > In GNU Emacs 22.3.2 (i386-apple-darwin9.5.0, Carbon Version 1.6.0) > of 2008-09-21 on plume.sr.unh.edu - Aquamacs Distribution 1.5 > Windowing system distributor `Apple Inc.', version 10.5.5 > configured using `configure '--without-x' '--prefix=/usr/local'' > > 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: nil > locale-coding-system: iso-8859-1 > default-enable-multibyte-characters: t > > Major mode: Text > > Minor modes in effect: > shell-dirtrack-mode: t > savehist-mode: t > aquamacs-styles-mode: t > smart-frame-positioning-mode: t > global-visual-line-mode: t > visual-line-mode: t > recentf-mode: t > encoded-kbd-mode: t > osx-key-mode: t > show-paren-mode: t > delete-selection-mode: t > pc-selection-mode: t > cua-mode: t > tooltip-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > unify-8859-on-encoding-mode: t > utf-translate-cjk-mode: t > auto-compression-mode: t > column-number-mode: t > transient-mark-mode: t > > Recent input: > > -bug-report> > > Recent messages: > on One-Buffer-One-Frame-Mode (Display Buffers in Separate Frames)! > Loading /Users/jsc/Library/Preferences/Aquamacs Emacs/ > customizations.el (source)...done > Loading /Users/jsc/Library/Preferences/Aquamacs Emacs/Preferences.el > (source)...done > One-Buffer-One-Frame-Mode disabled. > For best results, turn off Frame Appearance Styles now. > Loading /Users/jsc/Library/Preferences/Aquamacs Emacs/frame- > positions.el (source)...done > Truncate long lines disabled > Mark set > Aquamacs is based on GNU Emacs 22, a part of the GNU/Linux system. It > is Free Software: you can improve and redistribute it under the GNU > General Public License, version 3 or later. Copyright (C) 2008 Free > Software Foundation, Inc. (C) 2008 D. Reitter. No Warranty. > Loading emacsbug...done > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > __ > https://lists.sourceforge.net/lists/listinfo/aquamacs-bugs --Apple-Mail-5--359755552 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFxDCCAn0w ggHmoAMCAQICEEfSZyInpN9bVdFPsdICbiIwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI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K1lk6NBNVomqpn8UvYKkoOGQ MIGFBgkrBgEEAYI3EAQxeDB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3Vs dGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWlu ZyBDQQIQR9JnIiek31tV0U+x0gJuIjCBhwYLKoZIhvcNAQkQAgsxeKB2MGIxCzAJBgNVBAYTAlpB MSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQR9JnIiek31tV0U+x0gJuIjANBgkqhkiG9w0B AQEFAASBgMcAxYeXTS0E8nVc5LlEqQAcgZ8DhSEtOIdQtI2jSojxgo2Enk+P79Hdzhz/kGzY+Qxh KGHfKIqfqBYFLEgV34sYc2UT2WScj3h/bbgepgDl9OOYpb0OZkfhoaSxEiQK44rHlcd04rQa3qEq nMVLPVVODc07zuuNNv6CmtGMxOJZAAAAAAAA --Apple-Mail-5--359755552-- ------------=_1227177003-6525-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1372-done) by emacsbugs.donarmstrong.com; 20 Nov 2008 10:22:54 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mAKAMoe0005209 for <1372-done@emacsbugs.donarmstrong.com>; Thu, 20 Nov 2008 02:22:52 -0800 Received: (qmail invoked by alias); 20 Nov 2008 10:22:45 -0000 Received: from 62-47-57-118.adsl.highway.telekom.at (EHLO [62.47.57.118]) [62.47.57.118] by mail.gmx.net (mp006) with SMTP; 20 Nov 2008 11:22:45 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19lVHUCmGhlwLTAN8cvhbi0ci7It2MNjCCxjMf1Rw xfyvIfK2fHxK+q Message-ID: <49253A10.10603@gmx.at> Date: Thu, 20 Nov 2008 11:21:04 +0100 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 1372-done@emacsbugs.donarmstrong.com CC: David Reitter , Jin Choi Subject: Re: bug#1372: posn-at-x-y reports wrong window References: <356ECE88-9412-46FD-A227-C52D5C87E212@mac.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.68 Fixed as 2008-11-20 Martin Rudalics * window.c (coordinates_in_window): Don't return ON_VERTICAL_BORDER for the rightmost position of a mode/header line when the window is not the rightmost one. (Bug#1372) Thanks for the report, martin ------------=_1227177003-6525-0--