From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Example of thesis in org-mode and LaTeX Date: Tue, 04 Dec 2007 11:20:44 +0000 Message-ID: <87zlwq3dv7.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzVpe-0000GA-85 for emacs-orgmode@gnu.org; Tue, 04 Dec 2007 06:20:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzVpc-0000E1-5J for emacs-orgmode@gnu.org; Tue, 04 Dec 2007 06:20:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzVpc-0000Dl-2V for emacs-orgmode@gnu.org; Tue, 04 Dec 2007 06:20:52 -0500 Received: from nf-out-0910.google.com ([64.233.182.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzVpb-0007lu-LW for emacs-orgmode@gnu.org; Tue, 04 Dec 2007 06:20:51 -0500 Received: by nf-out-0910.google.com with SMTP id f5so2825832nfh for ; Tue, 04 Dec 2007 03:20:48 -0800 (PST) In-Reply-To: (Rustom Mody's message of "Tue, 4 Dec 2007 09:12:21 +0530") 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 "Rustom Mody" writes: > On Dec 4, 2007 7:44 AM, Daniel Clemente 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