public inbox for howm-eng@lists.osdn.me
 help / color / mirror / Atom feed
* [Howm-eng 5] Re: Elisp hyperlinks for howm, part 1
@ 2005-07-13  9:59 khi
  0 siblings, 0 replies; only message in thread
From: khi @ 2005-07-13  9:59 UTC (permalink / raw)


Hi.

At Wed, 13 Jul 2005 00:58:34 -0300,
eduardoochs at fastmail.fm wrote:
>   (find-filehowm "MainTasks")
>   (find-filehowm "MainTasks" "RcircTasks")

Do you mean something like this?

(defun find-filehowm (file &optional title)
  (find-file (expand-file-name file howm-directory))
  (howm-mode 1)
  (when title
    (goto-char (point-min))
    (re-search-forward (concat "^= +" (regexp-quote title) "$"))))

-- 
khi at users.sourceforge.jp


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

only message in thread, other threads:[~2005-07-13  9:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-13  9:59 [Howm-eng 5] Re: Elisp hyperlinks for howm, part 1 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).