all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
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 10:53:58 +0200	[thread overview]
Message-ID: <F333670D-CD58-45FC-BE76-80BA6516C797@swipnet.se> (raw)
In-Reply-To: <jwvzjtk8dhb.fsf-monnier+emacs@gnu.org>

Hello.

18 jul 2013 kl. 10:46 skrev Stefan Monnier <monnier@IRO.UMontreal.CA>:

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

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.

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

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.




  reply	other threads:[~2013-07-18  8:53 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
2013-07-18  8:53           ` Jan Djärv [this message]
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

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

  git send-email \
    --in-reply-to=F333670D-CD58-45FC-BE76-80BA6516C797@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.