From: khi at users.sourceforge.jp (khi at users.sourceforge.jp)
Subject: [Howm-eng 163] Re: Search by page title with autocompletion
Date: Sat, 22 Sep 2018 23:52:06 +0900 [thread overview]
Message-ID: <878t3tmvop.wl@id.domain> (raw)
In-Reply-To: <624484633.182884.1536591000996@mail.yahoo.com>
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))
prev parent reply other threads:[~2018-09-22 14:52 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 ` [Howm-eng 158] " yacinechaouche
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 ` khi [this message]
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=878t3tmvop.wl@id.domain \
--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).