unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <jwvzjtk8dhb.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <BBA82A0F-2159-45FB-ABFC-FD7610F59FAB@swipnet.se> ("Jan Djärv"'s message of "Thu, 18 Jul 2013 10:07:21 +0200")

>> 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



  reply	other threads:[~2013-07-18  8:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Uz3d3-00077D-3L@vcs.savannah.gnu.org>
2013-07-16 21:22 ` [Emacs-diffs] trunk r113431: Stop cursor blink after blink-cursor-blinks (10), stop timers when not blinking Stefan Monnier
2013-07-17  7:31   ` Jan Djärv
2013-07-17 18:22     ` Eli Zaretskii
2013-07-18  7:48     ` Stefan Monnier
2013-07-18  8:07       ` Jan Djärv
2013-07-18  8:46         ` Stefan Monnier [this message]
2013-07-18  8:53           ` Jan Djärv
2013-07-18 22:10             ` Stefan Monnier
2013-07-20  7:55         ` Stefan Monnier
2013-07-20  9:49           ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvzjtk8dhb.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).