emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Example of thesis in org-mode and LaTeX
Date: Tue, 04 Dec 2007 11:20:44 +0000	[thread overview]
Message-ID: <87zlwq3dv7.fsf@bzg.ath.cx> (raw)
In-Reply-To: <f46c52560712031942j2d9b1e7cn63ab06de91b4fafb@mail.gmail.com> (Rustom Mody's message of "Tue, 4 Dec 2007 09:12:21 +0530")

"Rustom Mody" <rustompmody@gmail.com> writes:

> On Dec 4, 2007 7:44 AM, Daniel Clemente <n142857@gmail.com> 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

  parent reply	other threads:[~2007-12-04 11:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-04  2:14 Example of thesis in org-mode and LaTeX Daniel Clemente
2007-12-04  3:42 ` Rustom Mody
2007-12-04  4:02   ` Daniel Clemente
2007-12-04 11:20   ` Bastien [this message]
2007-12-05 11:53     ` ignotus
2007-12-05 13:00       ` Bastien
2007-12-05 13:18         ` Rustom Mody
2007-12-05 21:19           ` Mike Newman
2007-12-06 12:26           ` Daniel Clemente
2007-12-09  0:25             ` Bastien
     [not found]       ` <acf852aa0712050613lf21c99exe8fd3f3d1a9b97cf@mail.gmail.com>
2007-12-05 14:14         ` Fwd: " Carsten Dominik
2007-12-04 11:29 ` Bastien
2007-12-09  9:33 ` Gour

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=87zlwq3dv7.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@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 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).