help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient usage


From: Andrea Vettorello
Subject: Re: emacsclient usage
Date: Tue, 18 Dec 2007 10:58:58 +0100

On Dec 18, 2007 9:07 AM, rustom <address@hidden> wrote:
>
> On Dec 17, 8:03 pm, Nikos Apostolakis <address@hidden> wrote:
> > rustom <address@hidden> writes:

[...]

>
> Thanks that was quite helpful.
> Ive set gconf-editor->apps->metacity->keybinding-commands->command_1
> to the foll:
>
> bash -c "wmctrl -a emacs-snapshot-gtk;  emacsclient.emacs-snapshot -e
> '(remember)'"
>
> The wmctrl is required because the emacsclient on its own does not
> activate the emacs window.
> And because of that the bash -c is required.
> Is there a neater way?

I've mangled emacsclient.c to spawn an Emacs instance if none is found
running, and IIRC changed the Gnome mime type to use emacsclient to
edit text files...


-- 
Andrea




reply via email to

[Prev in Thread] Current Thread [Next in Thread]