emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Invoking org-protocol via emacsclient switches buffer
@ 2013-02-14 17:04 Marcus Klemm
  2013-02-28  7:52 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Marcus Klemm @ 2013-02-14 17:04 UTC (permalink / raw)
  To: emacs-orgmode

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Invoking org-protocol via emacsclient switches buffer
  2013-02-14 17:04 Invoking org-protocol via emacsclient switches buffer Marcus Klemm
@ 2013-02-28  7:52 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-02-28  7:52 UTC (permalink / raw)
  To: Marcus Klemm; +Cc: emacs-orgmode

Hi Marcus,

Marcus Klemm <marcus.klemm@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-28  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-14 17:04 Invoking org-protocol via emacsclient switches buffer Marcus Klemm
2013-02-28  7:52 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).