From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: cursor doesn't show through transparent images in emacs 22, unlike emacs 21 Date: Sat, 26 Aug 2006 23:37:25 +0200 Message-ID: References: <2cd46e7f0608181622w23c7d2b0h9b963deeadfd1c06@mail.gmail.com> <2cd46e7f0608191849g521593acm1f9dbc355315ffd6@mail.gmail.com> <2cd46e7f0608200810ge8885f7l7ffc88fd30a8a3eb@mail.gmail.com> <85zmdx2o5n.fsf@lola.goethe.zz> <2cd46e7f0608220645i4c9677d3mf778b3ded10dba07@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156628349 31351 80.91.229.2 (26 Aug 2006 21:39:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Aug 2006 21:39:09 +0000 (UTC) Cc: ken.manheimer@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 26 23:39:07 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GH5rq-0007KX-CE for ged-emacs-devel@m.gmane.org; Sat, 26 Aug 2006 23:39:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GH5rp-0007nj-VQ for ged-emacs-devel@m.gmane.org; Sat, 26 Aug 2006 17:39:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GH5rc-0007kT-Sj for emacs-devel@gnu.org; Sat, 26 Aug 2006 17:38:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GH5rb-0007iH-Nk for emacs-devel@gnu.org; Sat, 26 Aug 2006 17:38:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GH5rb-0007i1-JS for emacs-devel@gnu.org; Sat, 26 Aug 2006 17:38:47 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GH60B-00058m-5A; Sat, 26 Aug 2006 17:47:39 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id D6F5CA50035; Sat, 26 Aug 2006 23:38:35 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 26 Aug 2006 08:22:47 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58928 Archived-At: Richard Stallman writes: > A block cursor on an image is shown by using the cursor color > as the background color in the image. > > I think this means that if the image blocks out the background color, > then the cursor won't appear. Is that correct? I think that is a problem. Maybe -- but it's not a new problem. It's the same as it was in 21.x, and I don't recall any reports of that behaviour being a problem. > But it looks like the problem that was reported is different. How > do they differ? The current complaint is that we unconditionally replace the box cursor by a hollow cursor on images -- even small images (comparable in size to a character glyph) where the box cursor would do fine (and did fine in emacs 21.x). My change addresses this problem by making a distinction between small and "larger" images. IMO, this is the right fix for emacs 22. OTOH, my change does not try to address (the never-repoprted, non-existent?) problem with using a box cursor on images. -- Kim F. Storm http://www.cua.dk