unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Daniel Martín" <mardani29@yahoo.es>
To: Juri Linkov <juri@linkov.net>
Cc: Ag Ibragimov <agzam.ibragimov@gmail.com>,  emacs-devel@gnu.org
Subject: Re: lists.gnu.org/archive web search is broken?
Date: Fri, 22 Jul 2022 21:55:56 +0200	[thread overview]
Message-ID: <m1y1wkkjlf.fsf@yahoo.es> (raw)
In-Reply-To: <864jz9ziym.fsf@mail.linkov.net> (Juri Linkov's message of "Fri,  22 Jul 2022 10:28:17 +0300")

Juri Linkov <juri@linkov.net> writes:

>
> The nicest way is indeed to download locally from
> https://lists.gnu.org/archive/mbox/emacs-devel/
> https://lists.gnu.org/archive/mbox/bug-gnu-emacs/
>
> This gives the power of using grep with any regexps, and even
> special mailbox searching programs like `grepmail` that can match
> on headers, mail body and MIME attachments.

Based on this approach, I have a small Bash function that uses Wget to
download the complete mailing list history into a single mbox file.

function download_mailing_list() {
    url=$1
    list_name=$2
    wget -r -nH --cut-dirs=2 --no-parent -A "*-*" --reject="index.html*" $url
    cd $list_name
    cat * > $list_name.mbox
}

Example:

download_mailing_list https://lists.gnu.org/archive/mbox/emacs-devel/ emacs-devel

will download all the history of emacs-devel and generate a single
emacs-devel.mbox file.  (Caveat emptor, you might want to convert it to
a more efficient format.)



  reply	other threads:[~2022-07-22 19:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22  0:07 lists.gnu.org/archive web search is broken? Ag Ibragimov
2022-07-22  5:14 ` Visuwesh
2022-07-22  7:23   ` Eli Zaretskii
2022-07-22 10:33     ` Visuwesh
2022-07-22  7:22 ` Eli Zaretskii
2022-07-22  7:28 ` Juri Linkov
2022-07-22 19:55   ` Daniel Martín [this message]
2022-07-22 22:02     ` Ag Ibragimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1y1wkkjlf.fsf@yahoo.es \
    --to=mardani29@yahoo.es \
    --cc=agzam.ibragimov@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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