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

Back to archive index

chaouche yacine yacin****@yahoo*****
Sun Sep 2 22:16:44 JST 2018


Works great ! thanks for awesome support !
Yassine.

    On Sunday, September 2, 2018, 2:10:50 PM GMT+1, khi****@users***** <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/20180902/62a918c9/attachment.htm 



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