From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: [OT] Importing plain text attachments into Org Date: Sun, 23 Jan 2011 16:22:50 -0800 Message-ID: <87pqrnf8v9.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=53575 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhA99-00035s-SY for emacs-orgmode@gnu.org; Sun, 23 Jan 2011 19:19:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhA98-000859-PW for emacs-orgmode@gnu.org; Sun, 23 Jan 2011 19:19:03 -0500 Received: from lo.gmane.org ([80.91.229.12]:37803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhA98-000852-E2 for emacs-orgmode@gnu.org; Sun, 23 Jan 2011 19:19:02 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PhA97-0006lw-0U for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 01:19:01 +0100 Received: from c-67-164-33-170.hsd1.ca.comcast.net ([67.164.33.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 01:19:01 +0100 Received: from richard.lawrence by c-67-164-33-170.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 01:19:01 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Dear Orgsters, I'm hoping I can solicit a little advice about pulling email attachments into Org (via Gnus), since some of the folks on this list seem to have experience interacting with Gnus from Org. I realize that the meat of my question may be better asked on the Gnus list, but if anyone here has knowledge and/or a similar setup that you'd be willing to share, I would very much appreciate hearing about it. The background: I am about to begin teaching a writing-intensive course. Students will email me their papers every week. I have no desire to download, print, and read a bunch of .doc files by hand every week. (This is a pain, and requires proprietary software I don't have; and I find 12pt double-spaced Times New Roman much more difficult to read than a LaTeX article anyway.) So I am considering asking my students to email their papers in plain text. I would like to then apply some automated processing on my end that would: 1) Download each student's paper into a file in my "teaching" directory. 2) Apply some *very* simple transformations, like adding #+TITLE before their title, replacing Windows `smart quote' characters with ASCII ` and ', and generally making the files play nice with Org on a GNU box. I might also like to do things like run a word count at this stage to make sure they are within the guidelines for the course. 3) Use Org's export abilities to compile each paper into a PDF (or perhaps a single PDF for the whole week's submissions). 4) [Not necessary, but would be cool:] Automatically insert TODO items into my agenda for each paper I have to read; automatically grade students who don't turn in papers on time; etc. Does anyone have any ideas about how I might go about this, and whether it's worth the effort to automate it? (I will have about 100 papers to read this semester.) Thanks so much! Best, Richard