From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Several suggestions for image support Date: 19 Apr 2004 17:17:23 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87zn98ybzl.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082390572 23692 80.91.224.253 (19 Apr 2004 16:02:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Apr 2004 16:02:52 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 19 18:02:39 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFbEF-0000V6-00 for ; Mon, 19 Apr 2004 18:02:39 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFbEF-0006ZL-00 for ; Mon, 19 Apr 2004 18:02:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFb8M-0002RQ-V4 for emacs-devel@quimby.gnus.org; Mon, 19 Apr 2004 11:56:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BFav5-00009p-Kn for emacs-devel@gnu.org; Mon, 19 Apr 2004 11:42:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BFaWg-0003SX-SC for emacs-devel@gnu.org; Mon, 19 Apr 2004 11:18:10 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFaWR-0003RC-Nn for emacs-devel@gnu.org; Mon, 19 Apr 2004 11:17:23 -0400 Original-Received: from fencepost.gnu.org ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.24) id 1BFaVL-0005cD-9r; Mon, 19 Apr 2004 11:16:15 -0400 Original-To: Stefan Monnier In-Reply-To: Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21890 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21890 Stefan Monnier writes: > >> > I already suggested to use two new primitives (that have incidentally > >> > been requested for other purpose): > >> > > >> > point-to-pixel > >> > and > >> > pixel-to-point > >> > > >> > which turn a (displayed) buffer position into a display position and vice > >> > versa. All the rest should then be reasonably easy to do in Elisp. > >> > >> I don't see how. Absolutely not. Emacs moves point out of images. > >> Without stopping points, point will not remain inside of the image > >> anywhere. > > OK, maybe we'd need window-start-to-pixel as well, or somesuch. Which will not make Emacs' cursor stop in image parts AFAICS, nor will it enable a cursor display covering only part of the image. Conversion routines alone will not make Emacs place its cursor on "sensible" parts of the image. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum