[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to determine (from Elisp) whether the Emacs frame has focus?
From: |
tomas |
Subject: |
Re: How to determine (from Elisp) whether the Emacs frame has focus? |
Date: |
Sat, 14 Nov 2015 11:45:51 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Nov 14, 2015 at 09:44:25AM +0100, Marcin Borkowski wrote:
[...]
> That I know, I did my homework. Still, evaluating
Sorry, I didn't want to imply otherwise -- I just misunderstood your
problem.
> (progn (sit-for 3) (selected-frame))
>
> and immediately going to, say, Evince, does not make Emacs say "nil", as
> I (somehow) expected.
Got it. Yes, it seems you'll have to hook on focus events, then.
> > Thanks, Jon for prompting me to read manuals and learn something :)
>
> That's usually good;-).
:-)
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlZHEN8ACgkQBcgs9XrR2kZUXQCfX5cZuGFY655hPP3dYc4togk/
TEUAn12VE7uLjYIWYvqa2G+bqv5EP3c9
=3fVc
-----END PGP SIGNATURE-----
Re: How to determine (from Elisp) whether the Emacs frame has focus?, Eli Zaretskii, 2015/11/14
- Re: How to determine (from Elisp) whether the Emacs frame has focus?, Random832, 2015/11/14
- Re: How to determine (from Elisp) whether the Emacs frame has focus?, Eli Zaretskii, 2015/11/14
- Re: How to determine (from Elisp) whether the Emacs frame has focus?, Marcin Borkowski, 2015/11/14
- Re: How to determine (from Elisp) whether the Emacs frame has focus?, Eli Zaretskii, 2015/11/14
- Re: How to determine (from Elisp) whether the Emacs frame has focus?, Marcin Borkowski, 2015/11/16
- Re: How to determine (from Elisp) whether the Emacs frame has focus?, Eli Zaretskii, 2015/11/16
- Re: How to determine (from Elisp) whether the Emacs frame has focus?, Nicolas Richard, 2015/11/16
- Re: How to determine (from Elisp) whether the Emacs frame has focus?, Marcin Borkowski, 2015/11/16