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: Mon, 28 Jun 2010 03:36:21 -0700 (PDT) Organization: http://groups.google.com Message-ID: <111bd33e-c6ad-4257-b0ff-d448d73cccb6@23g2000prb.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291839379 19021 80.91.229.12 (8 Dec 2010 20:16:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 20:16:19 +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 08 21:16:13 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 1PQQQv-0004J6-0u for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 21:16:13 +0100 Original-Received: from localhost ([127.0.0.1]:46656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQQQu-0000ll-Bb for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 15:16:12 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!23g2000prb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 220.225.32.141 Original-X-Trace: posting.google.com 1277721382 25773 127.0.0.1 (28 Jun 2010 10:36:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 28 Jun 2010 10:36:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 23g2000prb.googlegroups.com; posting-host=220.225.32.141; posting-account=zxnIggoAAAAkoGQuCvDNXME-leggJAEC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:179296 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:75963 Archived-At: On Jun 28, 12:33=A0am, 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? > > Dan 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