[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to jump to running emacs with emacsclient
From: |
Lennart Borgman |
Subject: |
Re: How to jump to running emacs with emacsclient |
Date: |
Mon, 28 Jun 2010 03:42:27 +0200 |
On Mon, Jun 28, 2010 at 12:11 AM, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Sun, Jun 27, 2010 at 21:33, Dan Davison <dandavison7@gmail.com> wrote:
>> Using gnome on ubuntu, a shell command like
>
>> 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?
>
> You could try perhaps
>
> emacsclient -n --eval '(progn (raise-frame)
> (select-frame-set-input-focus (selected-frame)))'
Doesn't select-frame-set-input-focus do raise-frame?
Message not available