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

Zurück zum Archiv-Index

chaouche yacine yacin****@yahoo*****
Sun Aug 26 18:18:00 JST 2018


   On Sunday, August 26, 2018, 10:15:43 AM GMT+1, chaouche yacine <yacin****@yahoo*****> 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****@users***** <khi****@users*****> 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****@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/20180826/3b468a5e/attachment.htm 



More information about the Howm-eng mailing list
Zurück zum Archiv-Index