From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Power: blink-cursor-mode is a pig Date: Fri, 30 Dec 2011 10:19:10 +0100 Message-ID: References: <4EFCFDCA.6060802@dancol.org> <831urmv30g.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325236782 16964 80.91.229.12 (30 Dec 2011 09:19:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2011 09:19:42 +0000 (UTC) Cc: Daniel Colascione , Emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 30 10:19:38 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RgYcj-0000ds-N7 for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2011 10:19:37 +0100 Original-Received: from localhost ([::1]:38727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgYci-0005Qt-Lm for ged-emacs-devel@m.gmane.org; Fri, 30 Dec 2011 04:19:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgYcg-0005QZ-E7 for Emacs-devel@gnu.org; Fri, 30 Dec 2011 04:19:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RgYcf-0004IY-Jj for Emacs-devel@gnu.org; Fri, 30 Dec 2011 04:19:34 -0500 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:59619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgYcd-0004IM-Ba; Fri, 30 Dec 2011 04:19:31 -0500 Original-Received: by lagv3 with SMTP id v3so3993003lag.0 for ; Fri, 30 Dec 2011 01:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=GMEJ6azppVodFGMgOuhh1cmInaukRegGGXxNFnFTws8=; b=nChfAktfjTDYXLUSODVGqd9A8D99qRISH3LIvHMlRFOwybVUXAIcWprDQUFzNKC96H 9+7NmQYgMmUyQX0CUagt8e8UWca545zuDPbFE3gbe318RCWm86uYaDcslnwrr29luRXr Z0b4YZ3BNSzzmT9SM7GuRWgw3qZHAAoEax3/c= Original-Received: by 10.152.131.131 with SMTP id om3mr30842158lab.38.1325236770251; Fri, 30 Dec 2011 01:19:30 -0800 (PST) Original-Received: by 10.152.124.44 with HTTP; Fri, 30 Dec 2011 01:19:10 -0800 (PST) In-Reply-To: <831urmv30g.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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:147036 Archived-At: On Fri, Dec 30, 2011 at 10:10, Eli Zaretskii wrote: > > Let me turn the table and ask you why do you think we need to deliver > the focus-lost event to Lisp, if all we want is stop the cursor from > blinking? =C2=A0Cursor blinking is implemented on the low level in C; why > can't we disable it at that same level, without bothering the command > loop and the input queue with events they don't need to see? I agree that fixing blink cursor on a low level might be better. However the events focus-lost/focus-got can still be useful. For example I have long ago suggested to use focus-got for checking if a displayed file have changed.