From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: cursor placement on mouse click Date: Wed, 13 Jun 2007 12:11:43 +0100 Message-ID: <013157C8-F407-4550-A951-3B039E561308@gmail.com> References: <69A81AB8-278D-45C6-B2AD-41A747231EE9@cs.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181733114 6430 80.91.229.12 (13 Jun 2007 11:11:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2007 11:11:54 +0000 (UTC) To: emacs- devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 13:11:53 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HyQlU-0004U7-96 for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 13:11:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyQlT-0005XJ-4B for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 07:11:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyQlP-0005XE-Ti for emacs-devel@gnu.org; Wed, 13 Jun 2007 07:11:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyQlP-0005X1-6a for emacs-devel@gnu.org; Wed, 13 Jun 2007 07:11:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyQlP-0005Wy-16 for emacs-devel@gnu.org; Wed, 13 Jun 2007 07:11:47 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyQlO-00049V-KY for emacs-devel@gnu.org; Wed, 13 Jun 2007 07:11:46 -0400 Original-Received: by ug-out-1314.google.com with SMTP id 34so419337ugf for ; Wed, 13 Jun 2007 04:11:45 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=j1TxVmEkkeOWnnO/HTL3QI+YFqRb0R4BdgFCy4jajdZYMA/Oiu+mizrnpSMtuTPOtlLigcerpOiVxB9OI28BP1WpAwQ9y4J8t6wOdW0nM27XOJXyjc+M6zROGhwDl3YmE80GA9g3lBsU4OQOEMcF4Gw2Wt7sTLNzcV8QFjVb5JM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=sfQT2aPkgTHKdEqjKkEJQSe6QwCxUU2OQSaeIJe0NMf8ccUQXhEuHYJlKHs1ax2Hz9HiGI8jSooqmtxIt2kvzuEErDAuvaDnlO5Xy8U+V90o5cvfERMfWAqS9bUqO+RrJHzUwusCMFTZ3xRsXsBNeJriA3waVyt1wEMaxyZlfNA= Original-Received: by 10.67.21.11 with SMTP id y11mr1204871ugi.1181733104893; Wed, 13 Jun 2007 04:11:44 -0700 (PDT) Original-Received: from ?129.215.174.81? ( [129.215.174.81]) by mx.google.com with ESMTP id a1sm2658320ugf.2007.06.13.04.11.41 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jun 2007 04:11:41 -0700 (PDT) X-Mailer: Apple Mail (2.752.2) X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72762 Archived-At: Begin forwarded message: > From: Eric Bailey > Date: 12 June 2007 21:48:01 BDT > To: aquamacs-bugs@aquamacs.org > Subject: [Aquamacs-bugs] Cursor placement issues on mouse click > > Enter your bug report here. > > If I click on what appears to be the right half of a character in the > buffer, the I-beam cursor will appear to the _left_ of that > character; I would expect it to be on the right. The hit detection > is definitely off; the exact place to click on a character to get the > cursor on the right of it appears to begin about 10-20% from the > right edge of the drawn area for that character. > > For example, if I have the string 'ad' and I want the cursor to > appear between 'a' and 'd', I could click on the right edge of > 'a' (the vertical part), the whitespace in between the two > characters, or anywhere on 'd' excluding its right vertical edge. > > Needless to say, the normal mouse targeting of click and type leads > to a lot of misplaced text. I agree with the OP and would like to see the behavior changed, however, only in case `cursor-type' is set to `bar' or to ('bar . width). > > In GNU Emacs 22.1.50.1 (powerpc-apple-darwin7.9.0, Carbon Version > 1.6.0) > of 2007-06-06 on applecore.inf.ed.ac.uk - Aquamacs Distribution 1.0a > Windowing system distributor `Apple Inc.', version 10.4.9 > 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: > smart-frame-positioning-mode: t > aquamacs-styles-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 > mac-input-method-mode: t > tool-bar-mode: 0 > 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 > line-number-mode: t > transient-mark-mode: t > > Recent input: > > > > Recent messages: > Loading /Users/ebailey/Library/Preferences/Aquamacs Emacs/ > customizations.el (source)...done > Loading /Users/ebailey/Library/Preferences/Aquamacs Emacs/frame- > positions.el (source)...done > For an introduction to Aquamacs Emacs, type Apple-?. > Copyright (C) 2007 Free Software Foundation, Inc. (C) 2007 D. > Reitter. No Warranty. > You may redistribute Aquamacs under the GNU General Public License. > Type C-h C-c to view. > Loading emacsbug...done > Sending... > Loading mailclient...done > Loading browse-url...done > Sending...done >