public inbox for howm-eng@lists.osdn.me
 help / color / mirror / Atom feed
From: khi at users.sourceforge.jp (khi at users.sourceforge.jp)
Subject: [Howm-eng 40]  customization
Date: Sat, 05 Apr 2008 22:41:26 +0900	[thread overview]
Message-ID: <m3ve2wl8qh.wl@id.domain> (raw)

Hi, all.

For your information, I post a copy of my private email (+ a new answer)
to this ML. Thanks for permission > Maillard-san.

============================

> First question: where is the documentation ? 

Thank you for your interest.  There are few English documents of
howm-mode because I am lazy.  So, I would like to post a copy of this
answer to howm-eng ML.  Is it OK?
http://lists.sourceforge.jp/mailman/archives/howm-eng/

This tutorial (erased draft) may also help you.
http://web.archive.org/web/20060206055009/http://dto.twu.net/HowmTutorial.howm.html

> Ok another question: do you have tips or tricks to speed up go-to
> link and friends ? I mean, typing >>> is "hard" and "counter
> productive". So I need to find a way to type these "tags" faster.

Do you mean a simple key binding like this?

(eval-after-load "howm"
  '(define-key howm-mode-map "\C-c,>"
               (lambda () (interactive) (insert ">>> "))))

Or, do you have a better idea?

If you like to change the tag ">>>" itself to a shorter one, do
something like (setq howm-ref-header "->") *before* loading howm-mode.
This variable is defined at the head of howm-mode.el, and several
other variables are set dependently on it.

> Question: globally, how can I customise howm. I do not like the
> default "template" of the note (I do not need date >>>> file on
> every note for example).

">>> file" is erased if you type "\C-/" or "\C-x u" (undo) just after
creating a new note.  To customize the template,
(setq howm-view-title-header "= %title%cursor\n%date\n\n")

You can try M-x customize-group RET howm RET to browse most other
settings.

============================

> Ah, yes, another question :) Is there a way to have "named" note
> instead of dated ? I mean, automatically with some magic key
> binding and not by saving my note as foo.howm.

(global-set-key "\C-c,f" 'howm-create-interactively)
(autoload 'howm-create-interactively "howm" "Hitori Otegaru Wiki Modoki" t)

It is undocumented because I don't like to take care of file names. ;-)

howm-open-naMed-file (C-c , M) may be also interesting.
It is available in howm-1.3.3 or later.
http://lists.sourceforge.jp/mailman/archives/howm-eng/2005/000010.html
http://lists.sourceforge.jp/mailman/archives/howm-eng/2005/000013.html

-- 
khi at users.sourceforge.jp



             reply	other threads:[~2008-04-05 13:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-05 13:41 khi [this message]
2008-04-06  0:00 ` [Howm-eng 41] customization xma
2008-04-07 12:49   ` [Howm-eng 43] " khi
2008-04-08  0:00     ` [Howm-eng 46] " xma
2008-04-09 13:12       ` [Howm-eng 54] " khi
2008-04-12  0:00         ` [Howm-eng 69] " xma
2008-04-14 15:09           ` [Howm-eng 71] " khi
2008-04-15 22:03             ` [Howm-eng 80] " xma

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ve2wl8qh.wl@id.domain \
    --to=howm-eng@lists.osdn.me \
    /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.
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).