From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alexander Verbovetsky Newsgroups: gmane.emacs.help Subject: Re: changing cursor color depending on input method Date: Fri, 20 Feb 2004 20:21:04 +0300 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <4034ED4E.9060603@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1077298505 11669 80.91.224.253 (20 Feb 2004 17:35:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2004 17:35:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 20 18:34:56 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AuEYC-000472-00 for ; Fri, 20 Feb 2004 18:34:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AuEVy-0000FO-4F for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Feb 2004 12:32:38 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!df237.ecfor.rssi.RU!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 11 Original-NNTP-Posting-Host: df237.ecfor.rssi.ru (193.232.31.237) Original-X-Trace: news.uni-berlin.de 1077297665 48784956 I 193.232.31.237 ([209459]) Original-Xref: shelby.stanford.edu gnu.emacs.help:121078 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17028 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17028 Looks like this can be a solution (not very smart :-) (add-hook 'post-command-hook '(lambda () (set-cursor-color (if current-input-method "red" "black"))))) Alex