Hi, (B (BI've updated the Troubleshooting section of the emacs-w3m info. (BHere is an extract: (B (B,---- (B| * Q. Why doesn't the emacs-w3m frame pop up to the front? (B| (B| It is quite convenient that the `M-x w3m RET' command makes the (B| emacs-w3m frame pop to the front even if it is hidden under the (B| other frames. However, it was reported that it does not work when (B| running Emacs on some platforms (e.g., Fedora Core Linux) in which (B| the `metacity' window manager is used. In those systems, other (B| features which raise the Emacs frames will not work, either. If (B| you are in such a miserable circumstance, it might be worth trying (B| the following advice: (B| (B| (if (or (featurep 'xemacs) (not window-system)) (B| nil (B| (defadvice raise-frame (B| (after make-it-work (&optional frame) activate) (B| "Make it work with the aid of wmctrl." (B| (call-process (B| "wmctrl" nil nil nil "-i" "-R" (B| (frame-parameter (or frame (selected-frame)) (B| 'outer-window-id)))) (B| (B| Where `wmctrl' is the external command which you can get from: (B| (B| `http://sweb.cz/tripie/utils/wmctrl/' (B| (B| Note that you have to install the `wmctrl' command before putting (B| the advice into the `~/.emacs' file. (B| (B| In addition to this, if your Emacs has been built with the (B| `--with-gtk' option, the following advice also might be necessary: (B| (B| (if (or (featurep 'xemacs) (B| (not window-system) (B| (not (featurep 'gtk))) (B| nil (B| (defadvice select-frame (around set-input-focus (B| (frame) activate) (B| "Run `select-frame-set-input-focus'." (B| (setq ad-return-value (and (framep frame) (B| (frame-live-p frame) (B| frame)) (B| (ad-deactivate 'select-frame) (B| (unwind-protect (B| (select-frame-set-input-focus frame) (B| (ad-activate 'select-frame)))) (B| (B| It is said that those workarounds will become needless when the (B| next version of Emacs 22.1 is released. (B`---- (B (BFurthermore, I use this advice personally. It is useful when (B`pop-to-buffer' raises a frame (i.e., the case where (B`pop-up-frames' is bound to t).