help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: raising an iconified emacs server


From: Lennart Borgman (gmail)
Subject: Re: raising an iconified emacs server
Date: Wed, 19 Dec 2007 11:21:45 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

rustom wrote:
I am trying to make an emacsclient call such that it pops up the emacs
server.
I have the following lines in my .emacs

(server-start)
(defun myserver ()
  (raise-frame)
  (remember)
)

Then when I call emacsclient.emacs-snapshot -e '(myserver)'
the icon for emacs just blinks in the icon-bar but it does not
activate the window

If I change (raise-frame) to (make-frame-visible) it activates the
emacs window but does not bring it to the top. This is so even if I
use both (raise-frame) and (make-frame-visible)

So any ideas about how to (1) activate (if necesary deiconify) and (2)
bring to top the emacs frame??


I have solved this by calling

  emacsclient -n

afterwards.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]