unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Miles <numbchild@gmail.com>
To: Emacs Devel <emacs-devel@gnu.org>
Subject: [Feature request] hope webjump.el can add tags searching support
Date: Thu, 21 Jan 2021 04:45:57 +0000	[thread overview]
Message-ID: <PAXPR08MB6640EE75BDC2C910149343F3A3A10@PAXPR08MB6640.eurprd08.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2386 bytes --]


I tried to email to <nwv@acm.org>, but email failed.

: <nwv@acm.org>: Recipient address rejected: Access denied

So I emailed here. If this is wrong, I'm sorry about this in advance.

# ==============================================================================

Recently I migrated web browser bookmarks into your writted Emacs extension
webjump.el. It's really great. I like it very much. I used to use another
extension "engine-mode.el".

I found webjump need one improvement for bookmarks searching. It's "tags". Hope
can webjump can support tags searching. Currently webjump only search bookmark
names is very limited for filtering lot of bookmarks.

User can add tags in bookmarks definition like this:

#+begin_src emacs-lisp
(setq webjump-sites
      '(;; Search Engines
        ("Google" . ([simple-query "google.com" "https://www.google.com.tw/search?safe=off&q=" ""]
                     ("search engine" "google")))
        ("DuckDuckGo" . ([simple-query "duckduckgo.com" "https://duckduckgo.com/?q=" ""]
                         ("search engine" "privacy")))
        ("DogeDoge" . ([simple-query "dogedoge.com" "https://www.dogedoge.com/results?q=" ""]
                       ("search engine")))
        ("Blekko" . ([simple-query "blekko.com" "https://blekko.com/#?q=" ""]
                     ("search engine" "vertical")))
        ("Bing" . ([simple-query "bing.com" "http://cn.bing.com/search?q=" ""]
                   ("search engine" "Microsoft")))
        ;; Q&A
        ("Stack Exchange" . ([simple-query "stackexchange.com" "http://stackexchange.com/search?q=" ""]
                             ("Q&A" "programming")))
        ("Stack Overflow" . ([simple-query "stackoverflow.com" "https://stackoverflow.com/search?q=" ""]
                             ("Q&A" "programming")))
        ("Quora" . ([simple-query "quora.com" "https://www.quora.com/search?q=" ""]
                    ("Q&A")))
        ))
#+end_src

The upper code is just an example. Of course you have your design for the data
structure for webjump.

Hope to see this improvement.

Regards,

-- 
[ stardiviner ]
       I try to make every word tell the meaning that I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2021-01-21  4:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21  4:45 Christopher Miles [this message]
2021-01-21  5:52 ` [Feature request] hope webjump.el can add tags searching support Stefan Monnier
2021-01-22  4:35   ` Christopher Miles
2021-01-22 13:55     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=PAXPR08MB6640EE75BDC2C910149343F3A3A10@PAXPR08MB6640.eurprd08.prod.outlook.com \
    --to=numbchild@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).