From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: finger-pointer curser as default for mouse-face text Date: Mon, 25 Oct 2004 07:47:44 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098704912 28040 80.91.229.6 (25 Oct 2004 11:48:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2004 11:48:32 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, drew.adams@oracle.com, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 25 13:48:18 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CM3Kj-0004fo-00 for ; Mon, 25 Oct 2004 13:48:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CM3SN-00050P-Am for ged-emacs-devel@m.gmane.org; Mon, 25 Oct 2004 07:56:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CM3SF-00050C-GL for emacs-devel@gnu.org; Mon, 25 Oct 2004 07:56:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CM3SE-0004zf-IP for emacs-devel@gnu.org; Mon, 25 Oct 2004 07:56:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CM3SE-0004zV-FB for emacs-devel@gnu.org; Mon, 25 Oct 2004 07:56:02 -0400 Original-Received: from [206.47.199.166] (helo=simmts8-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CM3KC-0003zT-Bs; Mon, 25 Oct 2004 07:47:44 -0400 Original-Received: from empanada.home ([67.71.35.140]) by simmts8-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041025114743.ZOUR1692.simmts8-srv.bellnexxia.net@empanada.home>; Mon, 25 Oct 2004 07:47:43 -0400 Original-Received: by empanada.home (Postfix, from userid 502) id 76A3933B99F; Mon, 25 Oct 2004 07:47:44 -0400 (EDT) Original-To: David Kastrup In-Reply-To: (David Kastrup's message of "Mon, 25 Oct 2004 09:22:19 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28896 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28896 >> What is the behavior of latex-preview in the case of mouse-1 and in >> the case of mouse-2? Is mouse-face applied to the actual text or >> just to the (before|after)-string? > The behavior of preview-latex when clicking with mouse-1 on a preview > image is to simply set point on the image (i.e., the behavior is just > the default, and preview-latex does not tamper with it). You will > often need to do this to cut and paste the text passage that is hidden > by the image, for example, it you are doing a mathematical derivation > and start with the source text of the last equation in order to derive > the next one. When clicking with mouse-2 on the image, the image is > replaced by the underlying text. The image has a mouse-face that is > visible indication that you can mouse-2 the image. So it's the image (which is placed on a before-string) which has the `mouse-face', not the buffer's text, right? So Kim's patch won't interfere since Kim's patch checks (get-char-property (point) 'mouse-face) which should return nil in your case. Have you tried his patch or were you just "running it in your head" (like I usually do myself)? Stefan