emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Visher <tim.visher@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode@gnu.org, Lawrence Bottorff <borgauf@gmail.com>
Subject: Re: Add TODO from external app?
Date: Wed, 16 Apr 2014 14:15:26 -0400	[thread overview]
Message-ID: <CAHa53uyPEY8gt+C8rk5osAi3UwghL9S2HGrg3W98QR_vjXfr0w@mail.gmail.com> (raw)
In-Reply-To: <87lhv5w76q.fsf@bzg.ath.cx>

On Wed, Apr 16, 2014 at 12:31 PM, Bastien <bzg@gnu.org> wrote:
> Hi Lawrence,
>
> Lawrence Bottorff <borgauf@gmail.com> writes:
>
>> I've seen various things for interacting with org mode from external
>> apps. I found org-protocol, as well as a Mutt-to-org mode article.
>> Per the tittle, I want to be able to add new TODO items from, say, an
>> email or a PHP-based web page form. Is this just brute force external
>> file manipulation, i.e., e.g., my PHP code would simply open a .org
>> file and concatenate a properly formatted TODO line . . . or are
>> there more sophisticated ways of talking to emacs/org-mode from
>> without?
>
> I'm aware of such sophisticated ways, so for now simply open a .org
> file and write to it.

Emacs can be used as a scripting environment so if you can figure out
how to do it from elisp that might be a more sophisticated way.

That said, one of the beauties of org is that it's just plain text and
the format for a link is pretty darn simple. So I've always just
written to the file using the format.

--

In Christ,

Timmy V.

http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail

      reply	other threads:[~2014-04-16 18:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01 15:41 Add TODO from external app? Lawrence Bottorff
2014-04-01 17:08 ` Anthony Lander
2014-04-02  3:07 ` Jeff Kowalski
2014-04-16 16:31 ` Bastien
2014-04-16 18:15   ` Tim Visher [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

  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=CAHa53uyPEY8gt+C8rk5osAi3UwghL9S2HGrg3W98QR_vjXfr0w@mail.gmail.com \
    --to=tim.visher@gmail.com \
    --cc=borgauf@gmail.com \
    --cc=bzg@gnu.org \
    --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).