emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Neff <nathan.neff@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Capture from terminal command line?
Date: Thu, 29 Sep 2011 09:13:15 -0500	[thread overview]
Message-ID: <CAC=HedAM0=izf+C=ZQUa-QhmSuTE2Wo6e86g=00N7tnZ+rb34A@mail.gmail.com> (raw)

I'm looking for a way to capture notes from a terminal,
without having to jump over to emacs.

In the past, I simply append the text from the command line
to my ~/refile.org file, but if I have emacs running and have a modified
~/refile.org buffer, then I run into complications.

I think that a good way would be to have a bash script
that tells emacs to run one of the org-capture functions,
along with the newly entered text from the command line.

Can anyone point me to the right function to call?

Thanks,
--Nate

             reply	other threads:[~2011-09-29 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 14:13 Nathan Neff [this message]
2011-09-29 17:01 ` Capture from terminal command line? Eric Schulte

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to='CAC=HedAM0=izf+C=ZQUa-QhmSuTE2Wo6e86g=00N7tnZ+rb34A@mail.gmail.com' \
    --to=nathan.neff@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 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).