Re: [O] Invoking org-protocol via emacsclient switches buffer

2013-02-27 Thread Bastien
Hi Marcus,

Marcus Klemm marcus.kl...@googlemail.com writes:

 I wrote myself a small bash script that uses dmenu and emacsclient
 to get notes into Org-Mode via org-protocol-capture. I've set up
 some capture templates that fill in the provided information and
 configured them to immediate finish without further interaction.

 Most of the time I just have one Emacs frame displaying my agenda.
 Now, when I invoke my script, the notes get added to my org file
 just fine but Emacs also switches away from my agenda to the org
 file the notes get inserted into.

 Is there a way to prevent that?

Can you share a bit more of your configuration so that we can try to
reproduce the problem?  E.g. the relevant part of your script and an
example capture template.

Also please mention what version of Org and Emacs you are using...

Thanks in advance!

-- 
 Bastien



[O] Invoking org-protocol via emacsclient switches buffer

2013-02-14 Thread Marcus Klemm
Hello Org-Mode team,

I wrote myself a small bash script that uses dmenu and emacsclient
to get notes into Org-Mode via org-protocol-capture. I've set up
some capture templates that fill in the provided information and
configured them to immediate finish without further interaction.

Most of the time I just have one Emacs frame displaying my agenda.
Now, when I invoke my script, the notes get added to my org file
just fine but Emacs also switches away from my agenda to the org
file the notes get inserted into.

Is there a way to prevent that?