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:07:21 +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 1374134847 21709 80.91.229.3 (18 Jul 2013 08:07:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2013 08:07:27 +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:07:28 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 1UzjFH-0005pI-Cz for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2013 10:07:27 +0200 Original-Received: from localhost ([::1]:54308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzjFG-0002bU-NT for ged-emacs-devel@m.gmane.org; Thu, 18 Jul 2013 04:07:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzjFD-0002bL-IR for emacs-devel@gnu.org; Thu, 18 Jul 2013 04:07:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzjFC-0003E8-M4 for emacs-devel@gnu.org; Thu, 18 Jul 2013 04:07:23 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:44088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzjFC-0003BP-ER for emacs-devel@gnu.org; Thu, 18 Jul 2013 04:07:22 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id B3A519923 for ; Thu, 18 Jul 2013 10:07:19 +0200 (CEST) Original-Received: (qmail 3359 invoked by uid 89); 18 Jul 2013 08:07:19 -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:07:19 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 65C301A1CD3; Thu, 18 Jul 2013 08:07:19 +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:161990 Archived-At: Hello. 18 jul 2013 kl. 09:48 skrev Stefan Monnier : >>>> * src/keyboard.c (Qfocus_in, Qfocus_out): New static objects. >>>> (make_lispy_focus_in, make_lispy_focus_out): Declare and define. >>> Please document this in etc/NEWS. Many people have asked for such >>> "hooks" to highlight the frame/buffer/window that has focus. >> The objects, events or functions? I thought that events in = special_map was >> kind of "internal", but I see switch-frame is documented. I can = document >> focus-in/out in a similar way. >=20 > Hmm... why is it in the special map? Because switch-frame is there, and this is similar. >=20 >>>> +** The blink cursor stops blinking after 10 blinks (default) on X = and NS. >>> Why not everywhere? >> A non-gui Emacs has no control of the cursor, it is a property of the >> underlying terminal. >=20 > 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. It can be enabled = manually, but it has no effect other than running the timers. 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. Jan D.