unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* raise-frame doesn't work in Fedora Core 4
@ 2006-10-31 11:12 Kenichi Handa
  2006-10-31 11:57 ` Katsumi Yamaoka
                   ` (2 more replies)
  0 siblings, 3 replies; 34+ messages in thread
From: Kenichi Handa @ 2006-10-31 11:12 UTC (permalink / raw)


I've just got a report saying that the problem reported here:

http://www.archivum.info/emacs-devel@gnu.org/2005-06/msg01570.html

is not yet fixed.

The contents is this:

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


---
Kenichi Handa
handa@m17n.org

^ permalink raw reply	[flat|nested] 34+ messages in thread
[parent not found: <b9yoe9xece4.fsf@jpl.org>]

end of thread, other threads:[~2007-09-16 10:25 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-31 11:12 raise-frame doesn't work in Fedora Core 4 Kenichi Handa
2006-10-31 11:57 ` Katsumi Yamaoka
2006-10-31 12:24   ` Jan Djärv
2006-10-31 15:37   ` Stefan Monnier
2006-10-31 17:19     ` Jan D.
2006-10-31 19:01       ` Stefan Monnier
2006-11-01  7:08         ` Jan Djärv
2006-11-01 23:15         ` Chong Yidong
2006-11-01 23:21           ` David Kastrup
2006-11-02 16:48             ` Stefan Monnier
2006-11-02 21:47             ` Richard Stallman
2006-11-01  3:50     ` Masatake YAMATO
2006-11-01  4:51       ` Katsumi Yamaoka
2006-11-01  2:14   ` Richard Stallman
2006-11-01  7:28     ` Jan Djärv
2006-11-01 16:43     ` Stefan Monnier
2006-11-02  4:43       ` Richard Stallman
2006-11-02  7:56         ` Jan Djärv
2006-11-02 16:45           ` Stefan Monnier
2006-11-03  7:54             ` Jan D.
2006-11-03  8:55           ` Jan D.
2006-11-03  8:59   ` Jan D.
2006-11-09 10:27     ` Katsumi Yamaoka
2006-11-01  2:14 ` Richard Stallman
2006-11-01  7:24   ` Jan Djärv
2006-11-02  4:42     ` Richard Stallman
2006-11-02  7:30       ` Jan Djärv
2006-11-02  8:23         ` David Kastrup
2006-11-03  7:07         ` Richard Stallman
2006-11-02 17:46 ` Chip Coldwell
2006-11-02 19:25   ` Chip Coldwell
     [not found] <b9yoe9xece4.fsf@jpl.org>
2005-06-27 23:41 ` raise-frame doesn't work in Fedora Core 4 (was Re: `make-frame' makes...) Katsumi Yamaoka
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

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