public inbox for howm-eng@lists.osdn.me
 help / color / mirror / Atom feed
* [Howm-eng 15] rd-mode
@ 2005-11-12 17:46 khi
  0 siblings, 0 replies; only message in thread
From: khi @ 2005-11-12 17:46 UTC (permalink / raw)


Hi, all.

I'll answer to a question about rd-mode here.
Though it has no essential relation with howm,
their combination is my favorite style.

RD is a document format for Ruby language, like POD for Perl.
It is just a format, and it can be used independently of Ruby.
  http://takahr.dhis.portside.net/cgi-bin/rwiki.cgi?cmd=view;name=rd-draft
  http://raa.ruby-lang.org/gonzui/source/rwiki/rd/rd-draft.rd
Howm borrows its headline format "= foobar".

Using RDtool, we can convert RD to HTML.
  http://raa.ruby-lang.org/list.rhtml?name=RDtool
You will find README.html and README.rd in howm's doc/ directory;
the former is generated from the latter.

RDtool also provides rd-mode.el, a major-mode for RD.
It can be combined with howm.
(In fact, any major-mode can be combined with howm.)
I always use rd-mode in my notes.

In addition, I like hierarchically itemized note-taking like below.
It is usual ItemList in RD. But, rd-mode doesn't have convenient
commands for heavily nested items.

To help this style, I wrote an extension, rd-mode-plus.el.
  http://howm.sourceforge.jp/a/rd-mode-plus.el
It has several commands for hierarchy operations.
It also makes outline-mode recognize this structure.

* command
  * add new item
    * C-c C-a ==> same level
    * C-c C-o ==> higher level
    * C-c C-l ==> lower level
  * move item
    * C-c < ==> to higher level
      * All lower-level items are also moved accordingly.
      * C-u C-c < ==> move all same-level items at once.
    * C-c > ==> to lower level
  * yank
    * C-c C-p ==> yank with auto-indent
      * C-u C-c C-p ==> yank, indent, and fill
      * (setq rd-yank-ignore-empty-line t) ==> ignore indent of empty lines

-- 
khi at users.sourceforge.jp


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-12 17:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-12 17:46 [Howm-eng 15] rd-mode khi

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 NNTP newsgroup(s).