In Praise Of The Google AJAX Search API
Emacspeak has always provided Google Search with a single keystroke from anywhere on the audio desktop. But with the coming of the Google AJAX Search API it becomes possible to integrate Google Search at a far deeper level into your fingertips! The AJAX API demonstrates the true speed of Google Search, since you dont need to wait for an HTML page to download and render --- results are served as a light-weight JSON data structure.
What You Can Now Do
gsearch (part of the
provides an interactive command
gsearch-google-at-point --- I have this bound to key
hyper-/ in Emacs.
Executing this command from anywhere inside Emacs does the
- Grabs word under point, and prompts in the minibuffer for a search-term --- with the word we just grabbed as the default.
- Fetches other relevant search terms in the background via
Google Suggest, and makes these available via Emacs' minibuffer
history mechanism. Use keys
M-pto cycle through these if needed.
ENTERperforms a Google Search using the AJAX API, and displays the title and content snippet for the first search result.
- Executing command
gsearch-google-at-pointsubsequently at the same location opens the first search result.
Search And Enjoy!