From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: raising an iconified emacs server Date: Tue, 18 Dec 2007 20:36:47 -0800 (PST) Organization: http://groups.google.com Message-ID: <34906f03-7cc0-4dc6-9cb0-9f19811aabda@b1g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198039247 15122 80.91.229.12 (19 Dec 2007 04:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2007 04:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 19 05:40:57 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J4qjp-0004PX-1b for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 05:40:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4qjV-00049q-Mn for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 23:40:37 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!b1g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 59.95.30.48 Original-X-Trace: posting.google.com 1198039007 11587 127.0.0.1 (19 Dec 2007 04:36:47 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 19 Dec 2007 04:36:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b1g2000pra.googlegroups.com; posting-host=59.95.30.48; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070508 Iceweasel/2.0.0.4 (Debian-2.0.0.4-0etch1), gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:154772 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50198 Archived-At: 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?? Also one more thing: Where do I get the 'emacs as server' info files (under debian etch)? Thanks Rustom