emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: Oscar Carlsson <oscar.carlsson@gmail.com>,
	Matt Lundin <mdl@imapmail.org>,
	emacs-orgmode@gnu.org, Jeff Horn <jrhorn424@gmail.com>
Subject: Re: Re: Sending org buffer as mail?
Date: Fri, 17 Dec 2010 03:02:01 -0700	[thread overview]
Message-ID: <87wrn8emzq.fsf@gmail.com> (raw)
In-Reply-To: <4D0B25FD.1030708@gmail.com> (Rainer M. Krug's message of "Fri, 17 Dec 2010 09:57:33 +0100")

[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]

Rainer M Krug <r.m.krug@gmail.com> writes:

> On 12/17/2010 07:48 AM, Eric Schulte wrote:
> Hi eric
>
>> I'm attaching a new version of org-mime.el which incorporates Matt's
>> function below.  There are now two new functions, `org-mime-org-buffer'
>> and `org-mime-org-subtree' each of which takes a format argument
>> specifying the format of the final email, one of 'org, 'ascii, or 'html.
>
> This sounds perfect.
>
> So now a *subtree* or *org buffer* can be send as
> *org*, *ascii or *html*.
>
> Right?
>

Correct, all one need do is to write an interactive wrapping function
similar to the example in my previous email.  Note: In the version
attached to this email the functions are renamed to
`org-mime-send-buffer' and `org-mime-send-subtree'.

>
> I just would like to suggest two more things:
>
> 1) to be able to mail the subtree or buffer as an attached pdf.
>
> Thinking of it, this could also be used for the other formats which
> result in one file, e.g. ascii, taskjuggle and I think all others except
> of the html?
>

Sounds like a good idea, this shouldn't be overly hard to implement
using the existing attachment features of org-mime.

>
> 2) the format of the inline text (and the attached one?) could be
> specified as a property, as a property - this would make sending the
> email consistent.
>

I'm attaching another version of org-mime which provides the
org-mime-subtree interactive command which uses the MAIL_FMT property to
determine the format of the mail message to populate.

Thanks -- Eric


[-- Attachment #2: org-mime.el --]
[-- Type: application/emacs-lisp, Size: 10446 bytes --]

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-12-17 10:02 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16  8:04 Sending org buffer as mail? Rainer M Krug
2010-12-16  8:17 ` Oscar Carlsson
2010-12-16  8:25   ` Jeff Horn
2010-12-16  8:54     ` Rainer M Krug
2010-12-16 10:38       ` Oscar Carlsson
2010-12-16 10:41         ` Rainer M Krug
2010-12-16 12:38           ` Rainer M Krug
2010-12-16 13:49             ` Oscar Carlsson
2010-12-16 21:27             ` Sebastian Rose
2010-12-16 21:34             ` Sebastian Rose
2010-12-17  1:06       ` Matt Lundin
2010-12-17  1:27         ` Eric Schulte
2010-12-17  6:48           ` Eric Schulte
2010-12-17  8:57             ` Rainer M Krug
2010-12-17 10:02               ` Eric Schulte [this message]
2010-12-17 11:54           ` Matt Lundin
2010-12-17 21:25             ` Eric Schulte
2010-12-19 12:21               ` Niels Giesen
2010-12-19 20:47                 ` Samuel Wales
2010-12-19 23:39                 ` Eric Schulte
2010-12-21 20:55                   ` Niels Giesen
2010-12-27 14:53                     ` Eric Schulte
2010-12-27 18:11                       ` Niels Giesen
2010-12-28  3:58                         ` Eric Schulte
2010-12-27 17:53                     ` Samuel Wales
2010-12-17 14:47           ` Jean-Marie Gaillourdet
2010-12-17 21:26             ` Eric Schulte
2010-12-18 23:26               ` Ethan Ligon
2010-12-20  1:46                 ` Eric Schulte
2010-12-20 10:20                   ` Sébastien Vauban
2010-12-16 10:37     ` Oscar Carlsson
2010-12-16 13:22       ` Eric Schulte
2010-12-16 13:39         ` Rainer M Krug
2010-12-16 14:45         ` Sébastien Vauban
2010-12-16 14:56           ` Eric Schulte
2010-12-16 16:19             ` Sébastien Vauban
2010-12-16 18:20               ` Eric Schulte
2010-12-16 18:29       ` Jeff Horn

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=87wrn8emzq.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    --cc=mdl@imapmail.org \
    --cc=oscar.carlsson@gmail.com \
    --cc=r.m.krug@gmail.com \
    /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).