all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: David Reitter <david.reitter@gmail.com>
Cc: 2044-done@emacsbugs.donarmstrong.com,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: mouse position bug and half a fix
Date: Sun, 25 Jan 2009 12:02:17 -0500	[thread overview]
Message-ID: <87d4ebz5d2.fsf@cyd.mit.edu> (raw)
In-Reply-To: <F81A4165-786B-45C7-B05A-B29175BBF3EE@gmail.com> (David Reitter's message of "Sat, 24 Jan 2009 22:15:13 -0500")

David Reitter <david.reitter@gmail.com> writes:

> The problem is that  (posn-point (event-start start-event))  in mouse-
> drag-region does not give us the correct location; in fact, the xy
> coordinates in the event are wrong.
>
> My guess is that whatever algorithm determines the character position
> under the mouse cursor forgets to switch to the appropriate window
> buffer before looking up the faces when iterating over the window
> contents.

I've checked in a fix.  Thanks.




  reply	other threads:[~2009-01-25 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-25  3:15 mouse position bug and half a fix David Reitter
2009-01-25 17:02 ` Chong Yidong [this message]
2009-01-25 14:39   ` bug#2044: posn-point wrong when face-remapping-alist used David Reitter
2009-01-25 17:10     ` bug#2044: marked as done (posn-point wrong when face-remapping-alist used) Emacs bug Tracking System

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=87d4ebz5d2.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=2044-done@emacsbugs.donarmstrong.com \
    --cc=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.