unofficial mirror of emacs-devel@gnu.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:07:21 +0200	[thread overview]
Message-ID: <BBA82A0F-2159-45FB-ABFC-FD7610F59FAB@swipnet.se> (raw)
In-Reply-To: <jwv61w89ups.fsf-monnier+emacs@gnu.org>

Hello.

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

>>>> * 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.
> 
> Hmm... why is it in the special map?

Because switch-frame is there, and this is similar.

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




  reply	other threads:[~2013-07-18  8:07 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 [this message]
2013-07-18  8:46         ` Stefan Monnier
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=BBA82A0F-2159-45FB-ABFC-FD7610F59FAB@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 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).