[O] Org minor mode in mail-mode

2011-03-09 Thread René
Here is the the configuration I run

   (defun turn-on-full-org-mailing ()
 (turn-on-orgstruct++)
 (turn-on-orgtbl)
 (load org-html-mail))

   (add-hook 'mail-mode-hook 'turn-on-full-org-mailing)

in order make use of Org minor mode (struct, tbl) within mail-mode.

Unfortunately with this, calling M-q (fill-paragraph) right after the
header separator (--text follows this line--) leads to filling the
header along with the first paragraph of my mail.

It turns out that the org minor mode rebinds M-q to
`orgstruct-hijacker-command-22' :

,
| M-q runs the command orgstruct-hijacker-command-22, which is an
| interactive Lisp function.
|
| It is bound to M-q.
|
| (orgstruct-hijacker-command-22 arg)
|
| In Structure, run `fill-paragraph'.
| Outside of structure, run the binding of `\361'.
`

Any idea on how to make use of org minor mode in mail-mode and still
be able to fill-paragraph without impacting mail headers? 

--
René





[Orgmode] Re: Embedding the style when exporting to HTML

2010-12-23 Thread René
Christian Moe mail at christianmoe.com writes:

 Something roughly along these lines, perhaps (warning: I'm still 
 fairly new to Elisp and this comes with ABSOLUTELY NO WARRANTY):

Thanks.

Works great




___
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


[Orgmode] Re: How to add comments in a plain list

2009-09-22 Thread René
Bernt Hansen bernt at norang.ca writes:
 You can ident the comment like this
 
  1. first
  2. second
 
 # comment about second item
 
  3. third
  4. fourth

Unfortunately in this case your comment gets exported since the `#' is indented.

Of course one doesn't want the comments to appear in the html version of the
document. 

Is there a way to easily solve this issue?



___
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


[Orgmode] Re: How to add comments in a plain list

2009-09-22 Thread René
Eric S Fraga ucecesf at ucl.ac.uk writes:
 At Tue, 22 Sep 2009 10:10:41 -0400, Bernt Hansen wrote:
  At column 0 - probably not.
  
   1. first
   2. second
  #+ comment about second item
  #+ Another comment goes here
   3. third
   4. fourth
  
  The #+ comment probably isn't officially supported either... it just
  happens to work.  Sorry about the run-around :)

Unfortunately, in this case Emacs doesn't fontify those lines as if they were
comments.





___
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


[Orgmode] How to add comments in a plain list

2009-09-21 Thread René
Is there a way to insert comments in a plain list without breaking it into two
distinct lists?

Such a list:

 1. first
 2. second
 # comment about second item
 3. third
 4. fourth

is actually considered as

 1. first
 2. second
 # comment about second item
 1. third
 2. fourth



___
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