From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pranav Peshwe Newsgroups: gmane.emacs.help Subject: Re: How to jump to running emacs with emacsclient Date: Wed, 30 Jun 2010 09:56:58 +0530 Message-ID: References: <87vd948e4h.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6d386fac362ff048a37c310 X-Trace: dough.gmane.org 1278000009 8436 80.91.229.12 (1 Jul 2010 16:00:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 16:00:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Dan Davison Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 01 18:00:07 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 1OUMBC-0005L1-N8 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jul 2010 17:59:59 +0200 Original-Received: from localhost ([127.0.0.1]:55533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUMBC-0006E1-6J for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jul 2010 11:59:58 -0400 Original-Received: from [140.186.70.92] (port=54381 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTot8-0004cz-GF for help-gnu-emacs@gnu.org; Wed, 30 Jun 2010 00:27:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTot2-0000tl-Bl for help-gnu-emacs@gnu.org; Wed, 30 Jun 2010 00:27:01 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:55723) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTot2-0000tX-9K for help-gnu-emacs@gnu.org; Wed, 30 Jun 2010 00:27:00 -0400 Original-Received: by gyf1 with SMTP id 1so282913gyf.0 for ; Tue, 29 Jun 2010 21:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=adIWvm2diPujo1v5UpJX/h6VCwpjwHUbedSqVOX2uUA=; b=jqvHmXWWS/3kzZ7/mnDR3fBkEd9MDQEoXboxLmGr5IE42/iiyBStkMex5GO06Uou51 Np2MDHq994GhTBeu9GEgdXOzdycTxx61A9mTJjb2AqvVwXsBDNBiofCUSVowB1d8K+uY gBaDRrrlyjTVBKu6Pm5mrgQ/Jmm+bSaFC5D/c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xPtvQH81u0VO9o038wxKcLVUCfsrwGv8WO34AhlKAidLm6W4/8BLaPhyhFwepBZKOG xmj91C5MD8ACaIMTWQhD9MEJauVSFlCfMmatU0z7gXL5onU9t4ZeL3gojr7GyCwEVzjf j2uMy83FofbqssSm1uNRIIsIekdco89hda7Xs= Original-Received: by 10.101.146.3 with SMTP id y3mr9711242ann.199.1277872019038; Tue, 29 Jun 2010 21:26:59 -0700 (PDT) Original-Received: by 10.100.202.7 with HTTP; Tue, 29 Jun 2010 21:26:58 -0700 (PDT) In-Reply-To: <87vd948e4h.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 01 Jul 2010 11:58:35 -0400 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:74032 Archived-At: --0016e6d386fac362ff048a37c310 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Jun 28, 2010 at 1:03 AM, Dan Davison wrote: > Using gnome on ubuntu, a shell command like > > emacsclient /some/file > > switches window focus to the running emacs and visits the file. > > I'd like to do this without specifying a file to visit, so that I can > (in gnome) bind a command to a key that will cause my window manager to > simply jump to emacs and show the current buffer. How? > > Hi Dan, A crude but practical way to accomplish that is - open emacs(or any app for that matter) in its own workspace and assign a shortcut key in gnome to switch to that workspace. HTH. Best regards, Pranav --0016e6d386fac362ff048a37c310 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Jun 28, 2010 at 1:03 AM, Dan Davison <dandavison7@gma= il.com> wrote:
Using gnome on ubuntu, a shell command like

emacsclient /some/file

switches window focus to the running emacs and visits the file.

I'd like to do this without specifying a file to visit, so that I can (in gnome) bind a command to a key that will cause my window manager to
simply jump to emacs and show the current buffer. How?


Hi Dan,
=A0 = =A0 =A0 =A0 =A0 =A0A crude but practical way to accomplish that is - open <= br> emacs(or any app for that matter) in its own workspace and assign a shortcut key in gnome to switch to that workspace.

HTH.

Best regards,
Pranav=A0

--0016e6d386fac362ff048a37c310--