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

Back to archive index

khi****@users***** khi****@users*****
Sat Sep 22 23:52:06 JST 2018


Hi.

Yes. The below code does it automatically.

> 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 ? 

>  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))




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