From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: J Rulnick Newsgroups: gmane.emacs.bugs Subject: Emacs 21: select text, scroll, click causes random jump in buffer Date: Fri, 22 Nov 2002 01:52:18 -0500 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1038004039 28271 80.91.224.249 (22 Nov 2002 22:27:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2002 22:27:19 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18FMFk-0007Ir-00 for ; Fri, 22 Nov 2002 23:26:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18FMHP-0004we-00; Fri, 22 Nov 2002 17:28:07 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18FMGg-0004hF-00 for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2002 17:27:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18FMGe-0004ev-00 for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2002 17:27:21 -0500 Original-Received: from ppp0c004.std.com ([208.192.102.4] helo=rulnick.com) by monty-python.gnu.org with smtp (Exim 4.10) id 18FMGd-0004aI-00 for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2002 17:27:19 -0500 Original-Received: from osprey (osprey.rulnick.net) by rulnick.com for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2002 01:52:18 -0500 Original-Received: from root by osprey with local (Exim 3.35 #1 (Debian)) id 18F7fm-0007Jp-00; Fri, 22 Nov 2002 01:52:18 -0500 Original-To: bug-gnu-emacs@gnu.org Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3936 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3936 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit) of 2002-11-22 on osprey 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: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The following problem is present in Emacs 21.x and is 100% repeatable in my tests. It occurs with all "--with-x-toolkit=lucid|motif" and "--with[out]-toolkit-scroll-bars" combinations. It occurs with the Debian package of Emacs 21, and with Emacs built from the gnu.org source. It occurs with or without use of the xaw3d and/or lesstif libraries. It occurs in Emacs 21.1 and 21.2, but NOT in Emacs 20.x. Hence the problem appears to have been introduced in Emacs 21. To produce the problem, follow these steps. 1. emacs -q FILE (make sure FILE is a text file large enough to require scrolling a few frames) 2. use mouse to select text (double-click, triple-click, or click-and-drag a small region of text) 3. click a mouse button in the scroll bar area once or twice to scroll the buffer contents, far enough so that the marked text moves (up or down) outside the viewable region 4. now click mouse button 1 once on any of the text in the viewable region, and notice that the point (cursor) jumps to a different point in the buffer, NOT the text just clicked In summary: using the mouse, select some text, scroll to a different part of the file, then click inside the buffer. The "jump" appears to be random, and repeated trials indicate it may be a "double-jump," i.e., the window-start may appear to change twice rapidly after the click. Please don't hesitate to contact me for more details. All comments, suggestions, and questions welcome. Please cc: emacs-bug@rulnick.com in any follow-up. Thank you. John P.S. The problem was tested most recently using Linux kernel 2.4.17 and XFree86 4.2.1, but was also experienced under earlier versions of Linux and XFree86, all using Debian GNU/Linux on lightly-loaded i386 architecture machines with 256 MB or more RAM. Recent input: C-x C-f I N S T A L L x r e p o r t - e m a c s - b u g Recent messages: (src/emacs -q) Loading tool-bar...done Loading image...done Loading tooltip...done For information about the GNU Project and its goals, type C-h C-p. Loading emacsbug...done