Difference between revisions of "Webjump"

From WikEmacs
Jump to navigation Jump to search
(webjump)
 
(Add package box, an example, and a page category)
Line 1: Line 1:
Webjump is a programmable Web hotlist (or bookmark) facility that uses Emacs [[completion]] to select a hotlist item and can prompt for query and option parameters.  The Webjump home page is: http://www.neilvandyke.org/webjump/
+
{{Package
 +
|name=webjump
 +
|description=Programmable Web Hotlist
 +
|author = Neil W. Van Dyke
 +
|maintainer = Unknown
 +
|in_emacs=yes
 +
|source=http://www.neilvandyke.org/webjump/
 +
}}
 +
 
 +
Webjump is a programmable Web hotlist facility that uses Emacs [[completion]] to select a hotlist item and can prompt for query and option parameters.
 +
 
 +
You can invoke it with {{Command|webjump}}, and you will be immediately given a list of sites you may want to reach (some notable examples are the EmacsWiki and search sites like DuckDuckGo and Google.)
 +
 
 +
== Examples ==
 +
 
 +
To add WikEmacs and the Emacs StackExchange site:
 +
 
 +
<syntaxhighlight lang="lisp">
 +
 
 +
  (setq webjump-sites
 +
      (append '(
 +
                ("WikEmacs" . [simple-query "www.wikemacs.org"
 +
                                            "www.wikemacs.org/wiki/"
 +
                                            ""])
 +
                ("Emacs SE"  . [simple-query "emacs.stackexchange.com"
 +
                                              <nowiki>"https://emacs.stackexchange.com/search?q="</nowiki>
 +
                                              ""])
 +
                )
 +
              webjump-sample-sites))
 +
</syntaxhighlight>
 +
 
 +
[[Category:Package]]

Revision as of 10:17, 28 October 2016

webjump
Description Programmable Web Hotlist
Author Neil W. Van Dyke
Maintainer Unknown
Source http://www.neilvandyke.org/webjump/
Part of Emacs yes

Webjump is a programmable Web hotlist facility that uses Emacs completion to select a hotlist item and can prompt for query and option parameters.

You can invoke it with M-x webjump, and you will be immediately given a list of sites you may want to reach (some notable examples are the EmacsWiki and search sites like DuckDuckGo and Google.)

Examples

To add WikEmacs and the Emacs StackExchange site:

 (setq webjump-sites
       (append '(
                 ("WikEmacs" . [simple-query "www.wikemacs.org"
                                             "www.wikemacs.org/wiki/"
                                             ""])
                 ("Emacs SE"   . [simple-query "emacs.stackexchange.com"
                                               <nowiki>"https://emacs.stackexchange.com/search?q="</nowiki>
                                               ""])
                 )
               webjump-sample-sites))