From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier 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 04:46:19 -0400 Message-ID: References: <78889CC5-61FF-41D0-9525-E884814A31EE@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374137193 13990 80.91.229.3 (18 Jul 2013 08:46:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2013 08:46:33 +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 Thu Jul 18 10:46:33 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 1Uzjr6-0000jt-S1 for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2013 10:46:32 +0200 Original-Received: from localhost ([::1]:42584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uzjr4-0005jd-Ap for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2013 04:46:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uzjr0-0005jX-D9 for emacs-devel@gnu.org; Thu, 18 Jul 2013 04:46:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uzjqy-0008NJ-Po for emacs-devel@gnu.org; Thu, 18 Jul 2013 04:46:26 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:40740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uzjqy-0008NA-LS for emacs-devel@gnu.org; Thu, 18 Jul 2013 04:46:24 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r6I8kKTD001825; Thu, 18 Jul 2013 04:46:22 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 750DFAE354; Thu, 18 Jul 2013 04:46:19 -0400 (EDT) In-Reply-To: ("Jan =?iso-8859-1?Q?Dj=E4rv=22's?= message of "Thu, 18 Jul 2013 10:07:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4642=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4642> : streams <1002321> : uri <1480064> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:161991 Archived-At: >> 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. Exactly my point: you don't need to "disable" your code under ttys, since the code is not run anyway in that case. > 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. 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. Stefan