From mboxrd@z Thu Jan 1 00:00:00 1970 From: yacinechaouche at yahoo.com (chaouche yacine) Date: Sun, 26 Aug 2018 09:18:00 +0000 (UTC) Subject: [Howm-eng 158] Re: Search by page title with autocompletion In-Reply-To: <1831809796.2750350.1535274943047@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> Message-ID: <957986296.2737121.1535275080422@mail.yahoo.com> On Sunday, August 26, 2018, 10:15:43 AM GMT+1, chaouche yacine wrote: Hello ! I put both code in my .emacs but got no matches :( Is the first code supposed to be used with Keyword completion C-c , i ? Yassine. On Thursday, August 23, 2018, 1:06:22 PM GMT+1, khi at users.sourceforge.jp wrote: Hi. Howm has auto-completion only for *keywords*.? So you need to write the title as "= <<< Plan" instead of "= Plan" for auto-completion. You can set it default as follows, but I'm afraid of efficiency. ;; Set initial contents of new notes (setq howm-template ("= <<< %title%cursor\n%date %file\n\n")) Or, ... ;; Though this is not completion, you can find notes by their titles. (defun my-howm-search-title (title) ? (interactive "sSearch title: ") ? (howm-search (format "^=\\s+%s" (regexp-quote title)) nil)) Most titles in my notes are empty because considering suitable titles is bothersome for quick note taking.? I regard howm as a tool not for well-organized documentation but for scribble / clutter-writing. -- khi at users.osdn.me _______________________________________________ Howm-eng mailing list Howm-eng at lists.osdn.me 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/20180826/3b468a5e/attachment.htm