"Rustom Mody" <[EMAIL PROTECTED]> writes:

> On Dec 4, 2007 7:44 AM, Daniel Clemente <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> * intro  ;(warning: orgstruct-powered e-mail...)
>>
>>   I recently published my final thesis, written entirely with org-mode:
>
> Bravo!
>
> One of the things I learn from your mail is orgstruct.
>
> Could you elaborate a little on how you use orgstruct to compose your
> mail?  For example whats your major mode, and mail client? And how
> they interact with orgstruct?

I use `orgstruct-mode' as a minor mode when composing a message in
message-mode (my mailer is Gnus.)

This is as simple as:

  (add-hook 'message-mode-hook 'turn-on-orgstruct)

Then you can edit your email as if it where an Org file.  You can move
headings, items of a list, etc.  The only drawback is that the default
key for sending an email is C-c C-c, which is also a *very* important
key in Org.

For example, if the point is on a checkbox, C-c C-c will toggle it.  But
what if the point is not exactly at a position where Org's C-c C-c have
a specific meaning?  The email will be sent, which might surprise the
user.  For now I solve this by not using Org's C-c C-c key while
composing an email, but there might be better solution.

I also used to have orgtbl-mode turned on by default, but I'm now
turning it on and off explicitely:

  (add-hook 'message-mode-hook 'turn-on-orgtbl)

HTH,

-- 
Bastien


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

Reply via email to