From mboxrd@z Thu Jan 1 00:00:00 1970 From: khi at users.sourceforge.jp (khi at users.sourceforge.jp) Date: Sat, 22 Sep 2018 23:52:06 +0900 Subject: [Howm-eng 163] Re: Search by page title with autocompletion In-Reply-To: <624484633.182884.1536591000996@mail.yahoo.com> References: <1342622028.2136501.1534156304228.ref@mail.yahoo.com> <1342622028.2136501.1534156304228@mail.yahoo.com> <871sapl233.wl@id.domain> <1831809796.2750350.1535274943047@mail.yahoo.com> <989387812.2721345.1535275119433@mail.yahoo.com> <87va7o9h9w.wl@id.domain> <624484633.182884.1536591000996@mail.yahoo.com> Message-ID: <878t3tmvop.wl@id.domain> 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 "^=.*". 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))