Skip to content
Ask StackExchange in Emacs
Emacs Lisp
Branch: master
Clone or download
Alex Ragone
Latest commit 901e0b8 Sep 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Aug 29, 2019
README.org feat: added skip-unanswered Sep 14, 2019
asx.el feat: added skip-unanswered Sep 14, 2019
example.gif Initial commit Aug 29, 2019

README.org

example.gif

This package allows you to search any StackExchange site specified in asx-sites and insert the top post in an Org-mode buffer. For better searching, this uses Google and DuckDuckGo as it is superior to StackExchange’s searching capabilities. More search engines can be defined using asx-search-engine-alist.

Inspired by this reddit post and howdoyou.el, I decided to build a more robust experience and make it compatible with Org-mode.

I chose to scrape the StackExchange posts, as StackExchange’s API only allows searching/getting posts from a single site.

Install

Available on MELPA.

Usage

Run M-x asx and enter query when prompted.

Configuration

VariableNotesDefault
asx-sitesSites to search.("stackoverflow.com" ...)
asx-search-engineSearch engine to use.google
asx-search-engine-alistAlist of search engine configuration.((google ..) (duckduckgo ..))
asx-number-of-answersAnswers to include.3
asx-prompt-post-pIf non-nil, prompt for post to show. Otherwise show the first post.nil
asx-buffer-nameName of buffer to insert post.*AskStackExchange*
asx-skip-unansweredIf non-nil, skip posts which have no answers.t

Commands

VariableNotes
asxSearch for query.
asx-jumpJump to post.
asx-next-postGo to next post.
asx-previous-postGo to previous post.
asx-reload-postReload current post.
asx-go-back-to-first-postGo to first post.

Similar projects

You can’t perform that action at this time.