Subject: > Again Gnuclient

From: David Biesack <[email-masked]>
Date: Tue, 8 Oct 1996 15:42:02 -0400

> Hello again,
> 
> the GnuClient keeps me awake. Great program, but one drawback is 
> left: a few days ago someone asked to de-iconify emacs on gnuclient 
> request or to bring it to front. 

try this:

(require 'advice)
(defadvice server-edit-files (after
                              server-raise-frame
                              activate)
  (raise-frame (selected-frame))
  (setq gnuserv-frame (selected-frame)))

(defadvice server-edit-files (after
                              server-raise-frame
                              activate)
  (raise-frame (selected-frame))
  (message "raising frame")
  (sit-for 1)
  (setq gnuserv-frame (selected-frame)))