From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Brockman Newsgroups: gmane.emacs.help Subject: Re: Cursor change on loss of focus Date: Mon, 16 May 2005 16:09:19 +0200 Message-ID: <87zmuvmfe8.fsf@wigwam.deepwood.net> References: <1115767320.727820.264770@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116360576 24372 80.91.229.2 (17 May 2005 20:09:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 May 2005 20:09:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 17 22:09:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DY8IR-0005rk-Rh for geh-help-gnu-emacs@m.gmane.org; Tue, 17 May 2005 22:04:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DY8Kk-0005VV-2T for geh-help-gnu-emacs@m.gmane.org; Tue, 17 May 2005 16:06:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DXklK-0004uK-2l for help-gnu-emacs@gnu.org; Mon, 16 May 2005 14:56:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DXhJt-0005u8-13 for help-gnu-emacs@gnu.org; Mon, 16 May 2005 11:15:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DXgKj-0005cN-3v for help-gnu-emacs@gnu.org; Mon, 16 May 2005 10:12:37 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DXgQc-0004vb-6r for help-gnu-emacs@gnu.org; Mon, 16 May 2005 10:18:42 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DXgGi-0004GM-6P for help-gnu-emacs@gnu.org; Mon, 16 May 2005 16:08:28 +0200 Original-Received: from c-54b670d5.028-10-67766c2.cust.bredbandsbolaget.se ([213.112.182.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 May 2005 16:08:28 +0200 Original-Received: from daniel by c-54b670d5.028-10-67766c2.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 May 2005 16:08:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-54b670d5.028-10-67766c2.cust.bredbandsbolaget.se X-Face: :&2UWGm>e24)ip~'K@iOsA&JT3JX*v@1-#L)=dUb825\Fwg#`^N!Y*g-TqdS AevzjFJe96f@V'ya8${57/T'"mTd`1o{TGYhHnVucLq!D$r2O{IN)7>.0op_Y`%r;/Q +(]`3F-t10N7NF\.Mm0q}p1:%iqTi:5]1E]rDF)R$9.!,Eu'9K':y9^U3F8UCS1M+A$ 8[[[WT^`$P[vu>P+8]aQMh9giu&fPCqLW2FSsGs User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:J+3W20XRkdwaJTCiIy2scFGcZ+k= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26756 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26756 william.m.miller@gmail.com writes: > I'm using Emacs 21.3.50.1 under Cygwin/X. [...] > Is there a way to turn the blinking block cursor into an empty block > cursor when I move the focus to a different X window (i.e., a > different, non-Emacs application)? This already works for me with both the latest CVS snapshot Emacs and the Debian-packaged Emacs 21, using ratpoison and XFree86 4.3.0. I don't remember if this also works in GNOME (or with other window managers), but it seems extremely unlikely that there would be such an annoying-yet-simple problem with what is probably(?) the most common environment in which people use Emacs (i.e., GNOME/Linux). > I can't count the number of times I've started typing Emacs > keystrokes to other programs, intending to work with the text in my > Emacs window, and I think it's because I subconsciously key on the > blinking block cursor to recognize which window is going to receive > my keystrokes, rather than looking at the color of the window's > title bar. This has happened several times to me too; it's really annoying. Indeed, under ratpoison, the cursor is the ONLY way to tell which window is active, and I've found that XTerm or Emacs sometimes get confused as to which window is active and which is inactive, most often resulting in both cursors being filled. I think this happens to Emacs more often than it happens to XTerm (I'm not even sure that it happens to XTerm at all); in any case, it happens *very* rarely. > Any suggestions would be appreciated. By far the most likely cause of the problem is the Cygwin X server. Unfortunately, I don't know enough about X to be able to guess what the exact problem might be. Do you have the same problem with other X applications, such as XTerm? -- Daniel Brockman