From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Visher Subject: Re: Add TODO from external app? Date: Wed, 16 Apr 2014 14:15:26 -0400 Message-ID: References: <87lhv5w76q.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WaUNU-0002lC-Lc for emacs-orgmode@gnu.org; Wed, 16 Apr 2014 14:16:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WaUNT-00068J-NO for emacs-orgmode@gnu.org; Wed, 16 Apr 2014 14:16:08 -0400 In-Reply-To: <87lhv5w76q.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org, Lawrence Bottorff On Wed, Apr 16, 2014 at 12:31 PM, Bastien wrote: > Hi Lawrence, > > Lawrence Bottorff 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