[Howm-eng 160] Re: Search by page title with autocompletion

Back to archive index

khi****@users***** khi****@users*****
Sun Sep 2 22:10:35 JST 2018


Ah. Regexp was wrong. Sorry...

;; Though this is not completion, you can find notes by their titles.
;; (fixed [2018-09-02])
(defun my-howm-search-title (title)
  (interactive "sSearch title: ")
  (message title)
  (howm-search (format "^= +%s" (regexp-quote title)) nil))

> Is the first code supposed to be used with Keyword completion C-c , i ?

No. It modifies the result of "C-c , c" (howm-create).
You will get "= <<< " instead of "= " in the first line of
each new note.

> ;; Set initial contents of new notes
> (setq howm-template ("= <<< %title%cursor\n%date %file\n\n"))

-- 
khi****@users*****




More information about the Howm-eng mailing list
Back to archive index