From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Blink cursor changes, possible W32 breakage. Date: Tue, 16 Jul 2013 13:48:49 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1373975344 3949 80.91.229.3 (16 Jul 2013 11:49:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2013 11:49:04 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 16 13:49:04 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 1Uz3kd-0005Ir-JW for ged-emacs-devel@m.gmane.org; Tue, 16 Jul 2013 13:49:03 +0200 Original-Received: from localhost ([::1]:43660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz3kd-0003Qn-9q for ged-emacs-devel@m.gmane.org; Tue, 16 Jul 2013 07:49:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz3kY-0003QS-MR for emacs-devel@gnu.org; Tue, 16 Jul 2013 07:49:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz3kW-0007hS-AM for emacs-devel@gnu.org; Tue, 16 Jul 2013 07:48:58 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:65435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz3kW-0007gC-3K for emacs-devel@gnu.org; Tue, 16 Jul 2013 07:48:56 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 1C74BC341 for ; Tue, 16 Jul 2013 13:48:50 +0200 (CEST) Original-Received: (qmail 20138 invoked by uid 89); 16 Jul 2013 11:48:50 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.melmac.se with ESMTPA; 16 Jul 2013 11:48:50 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id C83691A1D17 for ; Tue, 16 Jul 2013 11:48:49 +0000 (UTC) X-Mailer: Apple Mail (2.1508) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 62.20.26.67 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:161924 Archived-At: Hello. 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. This works on NS and X but not on W32. I tried to be careful to not = break W32, but it might happen anyway. If anybody wants to implement = this for W32, you basically need to implement generating a = FOCUS_OUT_EVENT, like xterm,c and nsterm.m does and adjust those places = in keyboard.c and frame.el that checks for X and NS only. Jan D.