From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: How to jump to running emacs with emacsclient Date: Mon, 28 Jun 2010 04:16:54 +0200 Message-ID: References: <87vd948e4h.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1277691465 12920 80.91.229.12 (28 Jun 2010 02:17:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Jun 2010 02:17:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Dan Davison To: Lennart Borgman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 28 04:17:43 2010 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.69) (envelope-from ) id 1OT3up-0002tT-98 for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jun 2010 04:17:43 +0200 Original-Received: from localhost ([127.0.0.1]:46847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OT3uo-0005zd-LH for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Jun 2010 22:17:42 -0400 Original-Received: from [140.186.70.92] (port=52569 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OT3uP-0005zY-6x for help-gnu-emacs@gnu.org; Sun, 27 Jun 2010 22:17:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OT3uN-0004F7-Tf for help-gnu-emacs@gnu.org; Sun, 27 Jun 2010 22:17:17 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:55301) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OT3uN-0004F1-Mm for help-gnu-emacs@gnu.org; Sun, 27 Jun 2010 22:17:15 -0400 Original-Received: by bwz9 with SMTP id 9so520207bwz.0 for ; Sun, 27 Jun 2010 19:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=zK8Mt/BZ7o/t4A6BNQJu7eDtKBQwoGRz7VZ7Uma8wR0=; b=xaOtioTrRF14m1G00Fv2Jjv6ObRWw1wm2dWh9t/3IbMW02tlYcz45FO3UpVm8Owv8I c3sSXPCvMOrzwneHBOEXePVC7Cwo3zTymgRUPOf5L6Yiz+DueX5nzanyB+wQVn7rL9uz RfBKh0sJdKd6JoR+GslgxOOx75gKw6CBFVvdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=JjeFJmklKLFz3hc2pV6XhkreIhu9CYtN5V1+sH/hsHGDyizovw/4Ob7hL7SIUT0uij RjOkHXorZ6/FG429yor8ytFmuIYgn1liFvd4QjNEox3GyU8WXKEUI698DXJQjsZSGOBF GoQyCVJ/MBX4wirjtaeV+ZECwsOPWc0i7xYEg= Original-Received: by 10.204.83.80 with SMTP id e16mr3030012bkl.43.1277691434316; Sun, 27 Jun 2010 19:17:14 -0700 (PDT) Original-Received: by 10.204.66.77 with HTTP; Sun, 27 Jun 2010 19:16:54 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:73992 Archived-At: On Mon, Jun 28, 2010 at 03:57, Lennart Borgman wrote: > It does call raise-frame, but I get a bit curious. Was there something > in your testing that indicated that you needed another raise-frame or > was it "just to be sure"? Neither. It was just that I started from emacsclient -n --eval '(raise-frame)' and then needed to get the focus and I added it without checking whether select-frame-set-input-focus already raised the frame. I wasn't writing code, just trying to find a workaround for the OP's request. Juanma