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: Re: [Emacs-diffs] trunk r113431: Stop cursor blink after blink-cursor-blinks (10), stop timers when not blinking. Date: Thu, 18 Jul 2013 10:53:58 +0200 Message-ID: References: <78889CC5-61FF-41D0-9525-E884814A31EE@swipnet.se> 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 1374137646 19417 80.91.229.3 (18 Jul 2013 08:54:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2013 08:54:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 18 10:54:05 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 1UzjyN-0004TR-JF for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2013 10:54:03 +0200 Original-Received: from localhost ([::1]:46466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzjyN-0008Ka-65 for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2013 04:54:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzjyK-0008KV-U1 for emacs-devel@gnu.org; Thu, 18 Jul 2013 04:54:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzjyJ-0002Nc-Uo for emacs-devel@gnu.org; Thu, 18 Jul 2013 04:54:00 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:52483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzjyJ-0002Mw-N1 for emacs-devel@gnu.org; Thu, 18 Jul 2013 04:53:59 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 4EC549AC0 for ; Thu, 18 Jul 2013 10:53:57 +0200 (CEST) Original-Received: (qmail 29611 invoked by uid 89); 18 Jul 2013 08:53:57 -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; 18 Jul 2013 08:53:57 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 01ED81A1CD1; Thu, 18 Jul 2013 08:53:56 +0000 (UTC) In-Reply-To: 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:161994 Archived-At: Hello. 18 jul 2013 kl. 10:46 skrev Stefan Monnier : >>> Why does it matter? Such global compatibility details should = presumably >>> be handled elsewhere by simply not enabling the blink-cursor timers >>> under ttys if it doesn't work (tho I do know it can be made to work = in >>> some cases). >> blink-cursor-mode is not enabled by default on ttys. >=20 > Exactly my point: you don't need to "disable" your code under ttys, > since the code is not run anyway in that case. I did not disable it for ttys in particular, but for w32. If there is = no focus-in implementation for w32 (as the case is right now), cursors = won't start blinking when a frame gets focus again. >=20 >> Also, there is really no concept of focus-out or focus-in in a tty >> session, we can't know when we have or loose focus. >=20 > I don't think we really need focus-in/focus-out for the feature to be > useful: you can just blink N times every time Emacs becomes idle and > then stop blinking. But then the above applies, it won't stop blinking if the (for example) = xterm looses focus and it wont start blining when the xterm regains = focus. The latter is more serious IMHO. Jan D.