* [Howm-eng 40] customization
@ 2008-04-05 13:41 khi
2008-04-06 0:00 ` [Howm-eng 41] customization xma
0 siblings, 1 reply; 8+ messages in thread
From: khi @ 2008-04-05 13:41 UTC (permalink / 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Howm-eng 41] Re: customization
2008-04-05 13:41 [Howm-eng 40] customization khi
@ 2008-04-06 0:00 ` xma
2008-04-07 12:49 ` [Howm-eng 43] " khi
0 siblings, 1 reply; 8+ messages in thread
From: xma @ 2008-04-06 0:00 UTC (permalink / raw)
For your information, I post a copy of my private email (+ a new answer)
to this ML. Thanks for permission > Maillard-san.
Maillard-san ? I like this :) (I really should learn japanese one day)
> 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?
This is an idea but why not take advantage of the abbrev
mechanism offered by emacs itself ? I do not know whether emacs
permits such abreviations though. Plus, with emacs 23, something
has changed on this side. (I am putting emacs-devel into the Cc
to get their feeling about this particular point).
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.
Nice but I think I will stick with this setting since "->" is
something I am using a lot when writing notes/documentations.
Xavier
--
http://www.gnu.org
http://www.april.org
http://www.lolica.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Howm-eng 43] Re: customization
2008-04-06 0:00 ` [Howm-eng 41] customization xma
@ 2008-04-07 12:49 ` khi
2008-04-08 0:00 ` [Howm-eng 46] " xma
0 siblings, 1 reply; 8+ messages in thread
From: khi @ 2008-04-07 12:49 UTC (permalink / raw)
Hi.
At Sun, 6 Apr 2008 02:00:20 +0200,
Xavier Maillard wrote:
> This is an idea but why not take advantage of the abbrev
> mechanism offered by emacs itself ? I do not know whether emacs
> permits such abreviations though. Plus, with emacs 23, something
> has changed on this side. (I am putting emacs-devel into the Cc
> to get their feeling about this particular point).
Hmm, I cannot understand your suggestion. Would you give me a
concrete example of desired behaviors (not codes) ?
By the way, do you know that you can type "C-c , i" to insert a
registered keyword with completions? It is equivalent to typing
"C-c , ," and RET on "[Key>]". You don't need to type >>> for such a
keyword; it is automatically linked to the original come-from tag <<<.
--
khi at users.sourceforge.jp
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Howm-eng 46] Re: customization
2008-04-07 12:49 ` [Howm-eng 43] " khi
@ 2008-04-08 0:00 ` xma
2008-04-09 13:12 ` [Howm-eng 54] " khi
0 siblings, 1 reply; 8+ messages in thread
From: xma @ 2008-04-08 0:00 UTC (permalink / raw)
> This is an idea but why not take advantage of the abbrev
> mechanism offered by emacs itself ? I do not know whether emacs
> permits such abreviations though. Plus, with emacs 23, something
> has changed on this side. (I am putting emacs-devel into the Cc
> to get their feeling about this particular point).
Hmm, I cannot understand your suggestion. Would you give me a
concrete example of desired behaviors (not codes) ?
Well something as simple as "> " expanding to ">>> ".
By the way, do you know that you can type "C-c , i" to insert a
registered keyword with completions?
Yes I know this _but_ it won't insert the >>> thingie if the
keyword does not exist first. So in my case (I am starting so my
keyword bank is almost empty), it is pretty useless currently.
Regards,
Xavier
--
http://www.gnu.org
http://www.april.org
http://www.lolica.org
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-04-15 22:03 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-05 13:41 [Howm-eng 40] customization khi
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
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).