From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Blink cursor changes, possible W32 breakage. Date: Tue, 16 Jul 2013 20:39:06 +0300 Message-ID: <83oba22ymd.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1373996350 29243 80.91.229.3 (16 Jul 2013 17:39:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2013 17:39:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 16 19:39:11 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uz9DS-00071e-7c for ged-emacs-devel@m.gmane.org; Tue, 16 Jul 2013 19:39:10 +0200 Original-Received: from localhost ([::1]:40051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz9DR-0006OI-Rp for ged-emacs-devel@m.gmane.org; Tue, 16 Jul 2013 13:39:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz9DN-0006Jw-FB for emacs-devel@gnu.org; Tue, 16 Jul 2013 13:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz9DM-0007kF-4K for emacs-devel@gnu.org; Tue, 16 Jul 2013 13:39:05 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:43338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz9DL-0007jm-PA for emacs-devel@gnu.org; Tue, 16 Jul 2013 13:39:04 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MQ100400I3M5Q00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Tue, 16 Jul 2013 20:39:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQ1004BOID10BC0@a-mtaout23.012.net.il>; Tue, 16 Jul 2013 20:39:02 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161937 Archived-At: > From: Jan Dj=E4rv > Date: Tue, 16 Jul 2013 13:48:49 +0200 >=20 > Just a heads up, I changed blink cursor in two ways, one is that it= stops blinking after blinking > blink-cursor-blinks number of times (10 by default), as inspired by= gnome-terminal. Also, timers are stopped when no blinking occurs. Why do we want that? Is there a way to get previous behavior? > This works on NS and X but not on W32. I tried to be careful to no= t break W32, but it might happen anyway. If anybody wants to impleme= nt this for W32, you basically need to implement generating a FOCUS_O= UT_EVENT, like xterm,c and nsterm.m does and adjust those places in k= eyboard.c and frame.el that checks for X and NS only. Sorry, I don't understand: w32 already implements the equivalent of FOCUS_OUT_EVENT, but why is that relevant? When no frame has focus, Emacs on Windows doesn't blink the cursors already. What am I missing? And what is the other thing you changed?