unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Edmondson <dme@dme.org>
To: Pieter Praet <pieter@praet.org>
Cc: Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: [PATCH v4?] emacs: add `notmuch-show-stash-mlarchive-link{, -and-go}'
Date: Fri, 27 Jan 2012 09:18:40 +0000	[thread overview]
Message-ID: <cunsjj1jyfj.fsf@hotblack-desiato.hh.sledj.net> (raw)
In-Reply-To: <1327653866-30084-1-git-send-email-pieter@praet.org>

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

Much nicer :-)

On Fri, 27 Jan 2012 09:44:26 +0100, Pieter Praet <pieter@praet.org> wrote:
> +(defcustom notmuch-show-stash-mlarchive-link-alist
> +  '(("Gmane" . "http://mid.gmane.org/")
> +    ("MARC" . "http://marc.info/?i=")
> +    ("Mail Archive, The" . "http://mail-archive.com/search?l=mid&q=")
> +    ;; FIXME: can these services be searched by `Message-Id' ?
> +    ;; ("MarkMail" . "http://markmail.org/")
> +    ;; ("Nabble" . "http://nabble.com/")
> +    ;; ("opensubscriber" . "http://opensubscriber.com/")
> +    )
> +  "List of Mailing List Archives to use when stashing links."
> +  :type '(alist :key-type (string :tag "Name")
> +		:value-type (string :tag "URL"))
> +  :group 'notmuch-show)

Add a comment saying that the URI is the result of concatenating this
with the message id.

If someone wants to do something more complicated they can submit
another patch (maybe it should be an option to have the `cdr' be a
function that is called with the message id as an argument?).

> +	   (substring (notmuch-show-get-message-id) 4 -1))))

We should put this logic in one place and re-use it.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2012-01-27  9:18 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24  9:37 [PATCH] emacs: Add `notmuch-show-stash-gmane' and `notmuch-show-stash-gmane-and-go' David Edmondson
2012-01-25  0:50 ` Pieter Praet
2012-01-25  6:31   ` David Edmondson
2012-01-25 10:18     ` Tomi Ollila
2012-01-25 10:41       ` David Edmondson
2012-01-25 13:00         ` Tomi Ollila
2012-01-26 13:05           ` Pieter Praet
2012-01-26 13:07     ` Pieter Praet
2012-01-26 13:13       ` [RFC] " Pieter Praet
2012-01-26 14:40         ` David Edmondson
2012-01-27  8:42           ` Pieter Praet
2012-01-27  8:44             ` [PATCH v4?] emacs: add `notmuch-show-stash-mlarchive-link{,-and-go}' Pieter Praet
2012-01-27  9:18               ` David Edmondson [this message]
2012-01-30  7:18                 ` [PATCH v4?] emacs: add `notmuch-show-stash-mlarchive-link{, -and-go}' Pieter Praet
2012-01-27 16:36             ` [RFC] Re: [PATCH] emacs: Add `notmuch-show-stash-gmane' and `notmuch-show-stash-gmane-and-go' Dmitry Kurochkin
2012-01-30  7:19               ` Pieter Praet
2012-01-30  7:12 ` [PATCH v2 1/2] emacs: `notmuch-show-get-message-id': optionally return Message-Id sans prefix Pieter Praet
2012-01-30  8:29   ` David Edmondson
2012-01-30  7:12 ` [PATCH v2 2/2] emacs: add `notmuch-show-stash-mlarchive-link{, -and-go}' Pieter Praet
2012-01-30  8:30   ` David Edmondson
2012-02-19 20:50 ` [PATCH] emacs: Add `notmuch-show-stash-gmane' and `notmuch-show-stash-gmane-and-go' Pieter Praet
2012-02-19 20:50   ` [PATCH v6 1/3] emacs: `notmuch-show-get-message-id': optionally return Message-Id sans prefix Pieter Praet
2012-02-25 14:40     ` David Bremner
2012-02-28 18:40       ` Pieter Praet
2012-02-29 12:19         ` David Bremner
2012-03-01 17:12           ` Pieter Praet
2012-02-19 20:50   ` [PATCH v6 2/3] test: emacs: expand subtest "Stashing in notmuch-show" wrt stashing Mailing List Archive URIs Pieter Praet
2012-02-19 20:50   ` [PATCH v6 3/3] emacs: add `notmuch-show-stash-mlarchive-link{, -and-go}' Pieter Praet

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://notmuchmail.org/

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

  git send-email \
    --in-reply-to=cunsjj1jyfj.fsf@hotblack-desiato.hh.sledj.net \
    --to=dme@dme.org \
    --cc=notmuch@notmuchmail.org \
    --cc=pieter@praet.org \
    /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://yhetil.org/notmuch.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).