From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken manheimer Newsgroups: gmane.emacs.bugs Subject: bug#7412: 24.0.50 and 23.2.*; Cursor disappears over embedded images in recent --with-ns emacs Date: Mon, 15 Nov 2010 20:21:21 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd4d954ca76a50495216031 X-Trace: dough.gmane.org 1289871882 8641 80.91.229.12 (16 Nov 2010 01:44:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2010 01:44:42 +0000 (UTC) To: 7412@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 16 02:44:37 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PIAb2-0000rf-33 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Nov 2010 02:44:37 +0100 Original-Received: from localhost ([127.0.0.1]:54568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIAb0-0004CZ-Ro for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Nov 2010 20:44:30 -0500 Original-Received: from [140.186.70.92] (port=48509 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIAan-00047Q-9O for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2010 20:44:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIAah-0002cJ-2l for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2010 20:44:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIAah-0002cB-0z for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2010 20:44:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PIACL-0005VC-U6; Mon, 15 Nov 2010 20:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ken manheimer Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Nov 2010 01:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.128987030721129 (code B ref -1); Tue, 16 Nov 2010 01:19:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Nov 2010 01:18:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PIABj-0005Uk-7B for submit@debbugs.gnu.org; Mon, 15 Nov 2010 20:18:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PIAAM-0005TK-9P for submit@debbugs.gnu.org; Mon, 15 Nov 2010 20:16:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIAF6-0007gG-Kf for submit@debbugs.gnu.org; Mon, 15 Nov 2010 20:21:56 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:47800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIAF3-0007fr-PN for submit@debbugs.gnu.org; Mon, 15 Nov 2010 20:21:52 -0500 Original-Received: from [140.186.70.92] (port=58489 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIAEx-0000yA-4y for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2010 20:21:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIAEs-0007em-7o for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2010 20:21:42 -0500 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:42227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIAEs-0007ef-3F for bug-gnu-emacs@gnu.org; Mon, 15 Nov 2010 20:21:38 -0500 Original-Received: by yxt3 with SMTP id 3so74394yxt.0 for ; Mon, 15 Nov 2010 17:21:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=xUP0QWciIFAGZ9pzgj4HjM60l63VpLUvsEO3jDQHfkI=; b=XUWnhSKXhHqN7ZtFPcaWiVcaNWN8v5GbpIpUEoqjyqeuyV8K7/kZYxuH7lFvSlX41d r3Eoay+zLM3WKjtaOyOHnWqAqpDLx13VwFX85wqRMtPBEaFdqbOp6qHTy4wdT+FPcSCH LJkZdm1G6jSOkLLeQQLTzSaRGjl7lRmLSY/s8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=lcV4X9nCW/E++wpCq4SYDB9nju5PFx1zrRqFLwxPgCnb/OjiBGBHxfOgMchnV7HYrQ oO2h4LvfGiQ+KjVy8oLxaNcBbMtyhDKHcPglKiKfdYOkIwECCrvy3bw9cNqltsGy7x6y wQsfcjm+Nn7ki6KJ2Tb0cUhf2/+sQBTF89+/g= Original-Received: by 10.151.7.8 with SMTP id k8mr3429063ybi.290.1289870497182; Mon, 15 Nov 2010 17:21:37 -0800 (PST) Original-Received: by 10.150.192.14 with HTTP; Mon, 15 Nov 2010 17:21:21 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 15 Nov 2010 20:18:22 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 15 Nov 2010 20:19:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41660 Archived-At: --000e0cd4d954ca76a50495216031 Content-Type: text/plain; charset=ISO-8859-1 In recent emacs (23.* and 24.0) on Mac OS X snow leopard, built using "./configure --with-ns", the text cursor disappears when it is over embedded images. To reproduce the problem, substitute a path to the frown.xpm on your system in the following and evaluate it: (insert-image (create-image "/usr/local/share/emacs/23.1.90/etc/images/smilies/frown.xpm" 'xpm)) Then move the cursor over the resulting frown smilie, and all traces of the cursor will disappear. The cursor will reappear if you move it off of the frownie. This problem occurs whatever shape I assign to cursor-type. I've experienced this problem with checkouts built from the trunk as of today (Nov 15, 2010) and the tag EMACS_23_2, and i also see it when using the "Emacs for OS X Modified" downloaded from http://vgoulet.act.ulaval.ca/en/ressources/emacs/mac (23.2.50). Perhaps a related problem: setting the foreground color of the cursor with 'customize-face cursor' face has no effect - the foreground color of text under the cursor is always the same as the text when it is not covered by the cursor. Setting the background color does what it is supposed to do. -- ken manheimer http://myriadicity.net In GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32) of 2010-11-15 on crisp Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns'' 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x 4 f e m a C-a C-f C-f C-k t m p / x C-b C-y C-SPC C-e C-b C-w C-f s-^ C-g C-p C-d C-d C-n ) C-x C-e C-b C-b C-f C-f C-x u C-a C-n C-k C-x C-s C-x o s-x C-g M-x e m a c s - b u r e C-a C-k r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set [2 times] Quit t Undo! Saving file /Users/klm/tmp/x... Wrote /Users/klm/tmp/x kill-region: The mark is not set now, so there is no region Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) bug-gnu-emacs@gnu.org --000e0cd4d954ca76a50495216031 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
In recent emacs (23.* and 24.0) on Mac OS X snow leopard, built using<= /div>
"./configure --with-ns", the text cursor disappears whe= n it is over
embedded images.

To reprodu= ce the problem, substitute a path to the frown.xpm on your
system in the following and evaluate it:

(ins= ert-image
=A0=A0(create-image "/usr/local/share/emacs/23.1.9= 0/etc/images/smilies/frown.xpm"
=A0=A0'xpm))
<= br>
Then move the cursor over the resulting frown smilie, and all traces o= f
the cursor will disappear. =A0The cursor will reappear if you m= ove it off
of the frownie.

This problem = occurs whatever shape I assign to cursor-type.

I've experienced this problem with checkouts built = from the trunk as of
today (Nov 15, 2010) and the tag EMACS_23_2,= and i also see it when
using the "Emacs for OS X Modified&q= uot; downloaded from
Perhaps a related problem: setting the foreground color of the= cursor
with 'customize-face cursor' face has no effect - the foregrou= nd color
of text under the cursor is always the same as the text = when it is not
covered by the cursor. =A0Setting the background c= olor does what it is
supposed to do.
--
ken manheimer

=

In GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.4.0, NS a= pple-appkit-1038.32)
=A0of 2010-11-15 on crisp
Windowing system distributor `Appl= e', version 10.3.1038
configured using `configure =A0'--w= ith-ns''

Important settings:
=A0= =A0value of $LC_ALL: nil
=A0=A0value of $LC_COLLATE: nil
=A0=A0value of $LC_CTYPE: ni= l
=A0=A0value of $LC_MESSAGES: nil
=A0=A0value of $LC_M= ONETARY: nil
=A0=A0value of $LC_NUMERIC: nil
=A0=A0valu= e of $LC_TIME: nil
=A0=A0value of $LANG: en_US.UTF-8
=A0=A0value of $XMODIFIERS= : nil
=A0=A0locale-coding-system: utf-8-unix
=A0=A0defa= ult enable-multibyte-characters: t

Major mode: Lis= p Interaction

Minor modes in effect:
=A0=A0tooltip-mode: t<= /div>
=A0=A0mouse-wheel-mode: t
=A0=A0tool-bar-mode: t
<= div>=A0=A0menu-bar-mode: t
=A0=A0file-name-shadow-mode: t
=A0=A0global-font-lock-mode: t
=A0=A0font-lock-mode: t
=A0=A0auto-composition-mode: t
=
=A0=A0auto-encryption-mode: t
=A0=A0auto-compression-mode: t=
=A0=A0line-number-mode: t
=A0=A0transient-mark-mode: t=

Recent input:
C-x 4 f e m a <tab> <s-backspace> = C-a C-f C-f C-k t=A0
m p / x <return> <down-mouse-1> = <mouse-1> <double-down-mouse-1>=A0
<mouse-movement= > <double-drag-mouse-1> C-b C-y C-SPC=A0
C-e C-b C-w C-f s-^ C-g C-p C-d C-d C-n <s-backspace>=A0
<backspace> <backspace> <backspace> <backspace> = <backspace>=A0
<backspace> <backspace> ) C-x C-= e C-b C-b C-f C-f C-x=A0
u C-a C-n C-k C-x C-s C-x o s-x C-g M-x e m a c s -=A0
b u &= lt;tab> <backspace> <backspace> r e <tab> C-a C-k=A0
r e p o r <tab> <return>

Rece= nt messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set [2 times]
Quit
t
Undo!
Saving file /Users/klm/tmp/x...
Wrote /Users/klm/tmp/x
kill-region: The mark is not set now, so there is no region
= Quit

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr m= essage rfc822 mml easymenu mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
=
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailhead= er
emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel ns= -win
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax<= /div>
facemenu font-core frame cham georgian utf-8-lang misc-lang vietn= amese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak=
czech european ethiopic indian cyrillic chinese case-table epa-h= ook
jka-cmpr-hook help simple abbrev loaddefs button minibuffer f= aces
cus-face files text-properties overlay md5 base64 format env code-page= s
mule custom widget hashtable-print-readable backquote
make-network-process ns multi-tty emacs)
--000e0cd4d954ca76a50495216031--