emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [tip] search this mailing list with helm-surfraw
@ 2021-04-05  9:25 Juan Manuel Macías
  2021-04-25  5:00 ` Bastien
  0 siblings, 1 reply; 6+ messages 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] 6+ messages in thread

* Re: [tip] search this mailing list with helm-surfraw
  2021-04-05  9:25 [tip] search this mailing list with helm-surfraw Juan Manuel Macías
@ 2021-04-25  5:00 ` Bastien
  2021-04-25  5:10   ` Greg Minshall
  2021-04-27 20:20   ` Juan Manuel Macías
  0 siblings, 2 replies; 6+ messages in thread
From: Bastien @ 2021-04-25  5:00 UTC (permalink / raw)
  To: Juan Manuel Macías; +Cc: orgmode

Hi Juan,

Juan Manuel Macías <maciaschain@posteo.net> writes:

> 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:

Neat!  

You might want to write another one for the public-inbox archive:

E.g. https://orgmode.org/list/?q=Juan+Manuel+Mac%C3%ADas


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [tip] search this mailing list with helm-surfraw
  2021-04-25  5:00 ` Bastien
@ 2021-04-25  5:10   ` Greg Minshall
  2021-04-25  6:07     ` Bastien
  2021-04-27 20:20   ` Juan Manuel Macías
  1 sibling, 1 reply; 6+ messages in thread
From: Greg Minshall @ 2021-04-25  5:10 UTC (permalink / raw)
  To: Bastien; +Cc: Juan Manuel Macías, orgmode

Bastien,

> You might want to write another one for the public-inbox archive:
>
> E.g. https://orgmode.org/list/?q=Juan+Manuel+Mac%C3%ADas


okay, i'll bite: what *is* the difference between
https://orgmode.org/list and
https://lists.gnu.org/archive/html/emacs-orgmode/ ?

cheers, Greg


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [tip] search this mailing list with helm-surfraw
  2021-04-25  5:10   ` Greg Minshall
@ 2021-04-25  6:07     ` Bastien
  2021-04-25 13:16       ` Greg Minshall
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2021-04-25  6:07 UTC (permalink / raw)
  To: Greg Minshall; +Cc: Juan Manuel Macías, orgmode

Hi Greg,

Greg Minshall <minshall@umich.edu> writes:

> okay, i'll bite: what *is* the difference between
> https://orgmode.org/list and
> https://lists.gnu.org/archive/html/emacs-orgmode/ ?

https://lists.gnu.org/archive/html/emacs-orgmode/ is the official
archive of the GNU mailing list called emacs-orgmode@gnu.org.

https://orgmode.org/list/ is a public-inbox instance giving access
to the complete archive of the emacs-orgmode@gnu.org mailing list.

From my experience, searches on https://orgmode.org/list/ are both
more reliable and faster.  Linking to an article on public-inbox is 
also handy, because it relies on the message-id of the email, so
while https://lists.gnu.org/archive is the official place for GNU
mailing lists archives, https://orgmode.org/list/ is the service
we link to both in Worg and Woof! (https://updates.orgmode.org)

I hope this is not confusing.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [tip] search this mailing list with helm-surfraw
  2021-04-25  6:07     ` Bastien
@ 2021-04-25 13:16       ` Greg Minshall
  0 siblings, 0 replies; 6+ messages in thread
From: Greg Minshall @ 2021-04-25 13:16 UTC (permalink / raw)
  To: Bastien; +Cc: Juan Manuel Macías, orgmode

Bastien,

> I hope this is not confusing.

no, that's perfectly clear.  thanks.

Greg


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [tip] search this mailing list with helm-surfraw
  2021-04-25  5:00 ` Bastien
  2021-04-25  5:10   ` Greg Minshall
@ 2021-04-27 20:20   ` Juan Manuel Macías
  1 sibling, 0 replies; 6+ messages in thread
From: Juan Manuel Macías @ 2021-04-27 20:20 UTC (permalink / raw)
  To: Bastien; +Cc: orgmode

Hi Bastien,

Bastien writes:

> Neat!  
>
> You might want to write another one for the public-inbox archive:
>
> E.g. https://orgmode.org/list/?q=Juan+Manuel+Mac%C3%ADas

I was unaware that searches in the public-box archive are faster...
Thank you very much for the advice :-)

Best regards,

Juan Manuel 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-04-27 20:20 UTC | newest]

Thread overview: 6+ messages (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
2021-04-25  5:00 ` Bastien
2021-04-25  5:10   ` Greg Minshall
2021-04-25  6:07     ` Bastien
2021-04-25 13:16       ` Greg Minshall
2021-04-27 20:20   ` Juan Manuel Macías

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).