From: Katsumi Yamaoka <yamaoka@jpl.org>
To: emacs-devel@gnu.org
Subject: Make raise-frame work on Cygwin
Date: Thu, 17 May 2012 08:44:48 +0900 [thread overview]
Message-ID: <b4mzk97zo5r.fsf@jpl.org> (raw)
Hi,
raise-frame doesn't pop up an existing frame on Cygwin (rootless).
If there are many frames on a Windows screen, we have no means to
pop up a certain Emacs frame that is hidden by the other frames,
except for manually digging it up by mouse. But at last I found
a workaround:
(defadvice raise-frame (before make-it-work (&optional frame) activate)
"Make it work on Cygwin."
(when frame (make-frame-invisible frame)))
iconify-frame instead of make-frame-invisible there has no effect.
It also revealed that some ELisp applications call raise-frame two
or more times at a time since a raised frame blinks. ;-)
BTW, I still use wmctrl on Fedora:
http://lists.gnu.org/archive/html/emacs-devel/2006-10/msg01117.html
next reply other threads:[~2012-05-16 23:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 23:44 Katsumi Yamaoka [this message]
2012-05-17 6:59 ` Make raise-frame work on Cygwin Katsumi Yamaoka
2012-05-17 11:42 ` Katsumi Yamaoka
2012-05-17 12:37 ` martin rudalics
2012-05-17 9:09 ` martin rudalics
2012-05-17 11:30 ` Achim Gratz
2012-05-17 12:37 ` martin rudalics
2012-05-17 11:42 ` Katsumi Yamaoka
2012-05-17 12:37 ` martin rudalics
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=b4mzk97zo5r.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=emacs-devel@gnu.org \
/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).