all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: emacs- devel <emacs-devel@gnu.org>
Subject: cursor placement on mouse click
Date: Wed, 13 Jun 2007 12:11:43 +0100	[thread overview]
Message-ID: <013157C8-F407-4550-A951-3B039E561308@gmail.com> (raw)
In-Reply-To: 69A81AB8-278D-45C6-B2AD-41A747231EE9@cs.stanford.edu

Begin forwarded message:

> From: Eric Bailey <ebailey@cs.stanford.edu>
> 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:
> <help-echo> <menu-bar> <help-menu> <report-emacs-bug>
> <menu-bar> <help-menu> <report-emacs-bug>
>
> 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
>

       reply	other threads:[~2007-06-13 11:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <69A81AB8-278D-45C6-B2AD-41A747231EE9@cs.stanford.edu>
2007-06-13 11:11 ` David Reitter [this message]
2007-06-14 20:03   ` cursor placement on mouse click Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=013157C8-F407-4550-A951-3B039E561308@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.