emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: "Gary ." <emacs-orgmode@garydjones.name>
Cc: emacs-orgmode@gnu.org
Subject: Re: Pro/Con Lists
Date: Thu, 08 Apr 2010 14:58:56 +0200	[thread overview]
Message-ID: <83d3yap0bz.fsf@yahoo.it> (raw)
In-Reply-To: <k2l5bb689681004080046i1b086173j6ad2a5954a8f9ad6@mail.gmail.com> (Gary .'s message of "Thu, 8 Apr 2010 09:46:23 +0200")

"Gary ." <emacs-orgmode@garydjones.name> 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

      parent reply	other threads:[~2010-04-08 12:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08  7:46 Pro/Con Lists Gary .
2010-04-08 11:17 ` Łukasz Stelmach
2010-04-08 12:58 ` Giovanni Ridolfi [this message]

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=83d3yap0bz.fsf@yahoo.it \
    --to=giovanni.ridolfi@yahoo.it \
    --cc=emacs-orgmode@garydjones.name \
    --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).