Dear kazuyuki san,
After thinking a bit I think I can achieve the same by searching with "C-c , g"
then precede page titles with "^=.*<regexp>". What do you think ?
Yassine.
On Sunday, September 2, 2018, 2:10:50 PM GMT+1, <[email protected]>
wrote:
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"))
--
[email protected]
_______________________________________________
Howm-eng mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/howm-eng
_______________________________________________
Howm-eng mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/howm-eng