From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: Masatake YAMATO <jet@gyve.org>
Subject: raise-frame doesn't work in Fedora Core 4 (was Re: `make-frame' makes...)
Date: Tue, 28 Jun 2005 08:41:35 +0900 [thread overview]
Message-ID: <b9yzmtbv040.fsf_-_@jpl.org> (raw)
In-Reply-To: b9yoe9xece4.fsf@jpl.org
>>>>> In the emacs-pretest-bug list, Katsumi Yamaoka wrote:
> I did them in the Fedora Core 4 platform. Since `raise-frame'
> does nothing in this platform, I'm trying to advise it to be
> replaced with `delete-frame' and `make-frame' as follows:
That `raise-frame' didn't work was a life-and-death problem for
me. For instance, I couldn't make the Emacs frame (which was
existing but was lowered behind the other frames) pop to the
front using `C-x 5 b'.
Now I realized I can use the program called `wmctrl'[1] to solve
the problem. Here's an new advice:
(defadvice raise-frame (after make-it-work (&optional frame) activate)
"Make it work."
(call-process
"wmctrl" nil nil nil "-i" "-R"
(frame-parameter (or frame (selected-frame)) 'outer-window-id)))
It's enough for me, though `wmctrl' does the overkill; `raise-frame'
doesn't always put the input focus on the frame as far as I know,
but `wmctrl' behaves like `select-frame-set-input-focus'. Anyway,
it suggests that the function that `wmctrl' provides can be
incorporated into Emacs, doesn't it? I would very much appreciate
someone achieving it. I have only the knowledge that Fedora Core 4
uses the metacity window manager, sorry.
[1] http://sweb.cz/tripie/utils/wmctrl/
next parent reply other threads:[~2005-06-27 23:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <b9yoe9xece4.fsf@jpl.org>
2005-06-27 23:41 ` Katsumi Yamaoka [this message]
2005-06-28 15:48 ` raise-frame doesn't work in Fedora Core 4 Johan Bockgård
2007-09-14 6:24 ` Katsumi Yamaoka
2007-09-16 10:25 ` 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=b9yzmtbv040.fsf_-_@jpl.org \
--to=yamaoka@jpl.org \
--cc=jet@gyve.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 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.