all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Marcus Klemm <marcus.klemm@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Invoking org-protocol via emacsclient switches buffer
Date: Thu, 28 Feb 2013 08:52:14 +0100	[thread overview]
Message-ID: <87sj4hmjlu.fsf@bzg.ath.cx> (raw)
In-Reply-To: <loom.20130214T175205-429@post.gmane.org> (Marcus Klemm's message of "Thu, 14 Feb 2013 17:04:33 +0000 (UTC)")

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

      reply	other threads:[~2013-02-28  7:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 17:04 Invoking org-protocol via emacsclient switches buffer Marcus Klemm
2013-02-28  7:52 ` Bastien [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sj4hmjlu.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=marcus.klemm@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.