all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matt Price <matt.price@utoronto.ca>
To: Dan Espen <dane@mk.telcordia.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: starting an external command from emacs
Date: Wed, 12 Nov 2008 22:48:33 -0500	[thread overview]
Message-ID: <1226548113.8767.1562.camel@localhost> (raw)
In-Reply-To: <icfxlwsfu4.fsf@verizon.net>

On Wed, 2008-11-12 at 18:08 -0500, Dan Espen wrote:
> Matt Price <matt.price@utoronto.ca> writes:
> 
> > hi,
> >
> > i'm a not-especially-technical person who uses emacs as a
> > straightforward text editor; in fact i'm experimenting with living
> > inside emacs most of the time on my main laptop, largely to eliminate
> > distractions while i'm writing.  however, some significant fraction of
> > the stuff i write is intended to be emailed away.  I'd like to do two
> > things:
> >
> > (1) write a function that takes the contents of the current buffer and
> > inserts it into a message; 
> > (2) use an external script to query an already-existing contacts
> > database (for me it's evolution or gmail), and pass that address on to
> > the to-header of the resultant message.
> >
> > (2) seemed difficult to me.  so what i'm trying right now is to write a
> > function that invokes mutt with an address string, then, within mutt,
> > use emacsclient as my editor, post-mode as my mode, and insert the text
> > into the message body.  This is what i have so far:
> 
> Have you looked at VM, MH-E, rmail, GNUS?
> (Existing Emacs mail interfaces.)

hi dan,

i did look briefly at all of these, but two issues for me:

- all of them feel a little daunting 
- one of my problems right now is that my contacts info is spread out in
far too many places already -- mutt, evolution, and gmail, not to
mention my unsyncable palm.  i'd really like to be able to query these
databases directly -- mutt has various scripts that let you do this,
which is why i was drawn to it.  these scripts generally produce a
series of lines as output, one email address per line.  if i could write
a function that ran these ecternal scripts and took their output as a
list, from which the user could choose one as a to address... then i'd
certainly be willingt o use any of the already-existant emacs mail
readers.  the thing is, of course, that i'm really NOT looking to read
my mail -- i'm trying to avoid making that any easier -- all i want to
do is send my mail, and be able to use my contacts database from inside
emacs.  what woul you suggest i do?

thanks,
matt


-- 
Matt Price
matt.price@utoronto.ca




  reply	other threads:[~2008-11-13  3:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.201.1226528857.26697.help-gnu-emacs@gnu.org>
2008-11-12 23:08 ` starting an external command from emacs Dan Espen
2008-11-13  3:48   ` Matt Price [this message]
     [not found]   ` <mailman.217.1226563070.26697.help-gnu-emacs@gnu.org>
2008-11-13 13:54     ` Dan Espen
2008-11-13 15:50 ` Xah
2008-11-14 13:24   ` break a chunk of text into a list of lines Matt Price
2008-11-14 15:33   ` starting an external command from emacs Matt Price
     [not found]   ` <mailman.365.1226676836.26697.help-gnu-emacs@gnu.org>
2008-11-14 19:43     ` Xah
2008-11-14 20:31     ` Andreas Politz
     [not found]   ` <mailman.359.1226672766.26697.help-gnu-emacs@gnu.org>
2008-11-14 19:33     ` break a chunk of text into a list of lines Xah
2008-11-14 20:43     ` Andreas Politz
2008-11-15 16:35       ` interactive function: generate tab-completion list with another function Matt Price
2008-11-16  3:42         ` syntax: anonymous vs. named functions Matt Price
2008-11-16  8:01           ` Drew Adams
2008-11-16 15:48             ` Matt Price
2008-11-17  1:06               ` Drew Adams
     [not found]               ` <mailman.552.1226883997.26697.help-gnu-emacs@gnu.org>
2008-11-17  8:08                 ` Andreas Politz
2008-11-12 19:59 starting an external command from emacs Matt Price
2008-11-13  0:17 ` Andy Stewart

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=1226548113.8767.1562.camel@localhost \
    --to=matt.price@utoronto.ca \
    --cc=dane@mk.telcordia.com \
    --cc=help-gnu-emacs@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 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.