* [tip] search this mailing list with helm-surfraw
@ 2021-04-05 9:25 Juan Manuel Macías
0 siblings, 0 replies; only message in thread
From: Juan Manuel Macías @ 2021-04-05 9:25 UTC (permalink / raw)
To: orgmode
Hi all,
I am a fanatic Helm user, and within Helm I make intensive use of
helm-surfraw. It is necessary to install Surfraw on the system (in Arch
it is in the community repository). For who does not know, Surfraw
(https://en.wikipedia.org/wiki/Surfraw) is a script written by Julian
Assange that lets you perform searches across many engines and internet
sites. Every kind of search is controlled by a set of scripts called
elvi. We can also write our custom elvis, and save them in the
~/.config/surfraw/elvi/ folder. I have written some elvis for my
personal use, among them this simple script to search this mailing list,
which I share here in case someone finds it useful:
#+begin_src sh :shebang #!/bin/sh :tangle ~/.config/surfraw/elvi/orgmode-ml
# DESC: search Org Mode mailing list archives
# elvis: orgmode-ml -- Search Org Mode mailing list archives (https://lists.gnu.org/archive/html/emacs-orgmode/)
. surfraw || exit 1
w3_usage_hook () {
cat <<EOF
Usage: $w3_argv0 [search words]...
Description:
Search in Org Mode mailing list (https://lists.gnu.org/archive/html/emacs-orgmode/)
EOF
w3_global_usage
}
w3_config
w3_parse_args "$@"
if test -z "$w3_args"; then
w3_browse_url "https://lists.gnu.org/archive/html/emacs-orgmode/"
else
escaped_args=`w3_url_of_arg $w3_args`
w3_browse_url "https://lists.gnu.org/archive/cgi-bin/namazu.cgi?idxname=emacs-orgmode&sort=score&result=normal&max=20&submit=Search!&query=${escaped_args}"
fi
#+end_src
Best regards,
Juan Manuel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-05 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 9:25 [tip] search this mailing list with helm-surfraw Juan Manuel Macías
unofficial mirror of emacs-orgmode@gnu.org
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://yhetil.org/orgmode/0 orgmode/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 orgmode orgmode/ https://yhetil.org/orgmode \
emacs-orgmode@gnu.org
public-inbox-index orgmode
Example config snippet for mirrors.
Newsgroups are available over NNTP:
nntp://news.yhetil.org/yhetil.emacs.orgmode
nntp://news.gmane.io/gmane.emacs.orgmode
code repositories for project(s) associated with this inbox:
orgmode.git.git (no URL configured)
AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git