emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Pro/Con Lists


From: Giovanni Ridolfi
Subject: Re: [Orgmode] Pro/Con Lists
Date: Thu, 08 Apr 2010 14:58:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (windows-nt)

"Gary ." <address@hidden> writes:

Hi, Gary
> Is there a decent way to create 
a PROs/Cons list
> these using Org Mode? 

Depends on your level of decency ;-)

* Suggestion 1 
  + PROS
   + fast
   + furious
  + CONS
   + rough
   + noisy

* Suggestion 2
  + PROS fast
  + PROS furious
  + CONS rough
  + CONS noisy

You can write a function that writes the words 
"PROS" & "CONS" and bind it to a keystroke.

You can also write a function that, in the HTML exported file,
substitutes the words "PROS" & "CONS" with the appropriate class,
e.g.:

(defun gio-red-cons () ""(interactive) ()  (setq a (point-min))  
(while (< a (point-max)) (re-search-forward " PROS" nil nil )  (replace-match 
"<span class=\"todo TODO\">CONS<\/span>" ) (setq a (point))) )


and use it in the post-export-hook (see the manual)
to have coloured PROS and CONS

HTH
Giovanni




reply via email to

[Prev in Thread] Current Thread [Next in Thread]