public inbox for howm-eng@lists.osdn.me
 help / color / mirror / Atom feed
From: yacinechaouche at yahoo.com (chaouche yacine)
Subject: [Howm-eng 158] Re: Search  by page title with autocompletion
Date: Sun, 26 Aug 2018 09:18:00 +0000 (UTC)	[thread overview]
Message-ID: <957986296.2737121.1535275080422@mail.yahoo.com> (raw)
In-Reply-To: <1831809796.2750350.1535274943047@mail.yahoo.com>


   On Sunday, August 26, 2018, 10:15:43 AM GMT+1, chaouche yacine <yacinechaouche at yahoo.com> 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 <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 

  reply	other threads:[~2018-08-26  9:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1342622028.2136501.1534156304228.ref@mail.yahoo.com>
2018-08-13 10:31 ` [Howm-eng 155] " yacinechaouche
2018-08-23 12:06   ` [Howm-eng 156] " khi
2018-08-26  9:15     ` [Howm-eng 157] " yacinechaouche
2018-08-26  9:18       ` yacinechaouche [this message]
2018-08-26  9:18       ` [Howm-eng 159] " yacinechaouche
2018-09-02 13:10         ` [Howm-eng 160] " khi
2018-09-02 13:16           ` [Howm-eng 161] " yacinechaouche
2018-09-10 14:50           ` [Howm-eng 162] " yacinechaouche
2018-09-22 14:52             ` [Howm-eng 163] " khi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=957986296.2737121.1535275080422@mail.yahoo.com \
    --to=howm-eng@lists.osdn.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).