all messages for Emacs-related lists mirrored at yhetil.org
 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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.