all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cursor placement on mouse click
       [not found] <69A81AB8-278D-45C6-B2AD-41A747231EE9@cs.stanford.edu>
@ 2007-06-13 11:11 ` David Reitter
  2007-06-14 20:03   ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: David Reitter @ 2007-06-13 11:11 UTC (permalink / raw)
  To: emacs- devel

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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cursor placement on mouse click
  2007-06-13 11:11 ` cursor placement on mouse click David Reitter
@ 2007-06-14 20:03   ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2007-06-14 20:03 UTC (permalink / raw)
  To: David Reitter; +Cc: emacs-devel

> 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).

And not in overwrite-mode where clicking on a character means the user
wants to replace it.

-- 
Juri Linkov
http://www.jurta.org/emacs/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-14 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <69A81AB8-278D-45C6-B2AD-41A747231EE9@cs.stanford.edu>
2007-06-13 11:11 ` cursor placement on mouse click David Reitter
2007-06-14 20:03   ` Juri Linkov

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.