chaouche yacine
yacin****@yahoo*****
Mon Sep 10 23:50:00 JST 2018
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, <khi****@users*****> 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")) -- khi****@users***** _______________________________________________ Howm-eng mailing list Howm-****@lists***** https://lists.osdn.me/mailman/listinfo/howm-eng -------------- next part -------------- An HTML attachment was scrubbed... URL: https://lists.osdn.me/mailman/archives/howm-eng/attachments/20180910/051f890e/attachment.htm