unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: Dirk Hohndel <hohndel@infradead.org>,
	Sebastian Spaeth <Sebastian@SSpaeth.de>,
	Notmuch list <notmuch@notmuchmail.org>
Subject: Re: RFC: User-Agent header
Date: Fri, 09 Apr 2010 19:55:17 -0700	[thread overview]
Message-ID: <874ojkf23u.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <m3r5mqgeq8.fsf@x200.gr8dns.org>

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

On Thu, 08 Apr 2010 08:12:47 -0700, Dirk Hohndel <hohndel@infradead.org> wrote:
> On Thu, 08 Apr 2010 10:26:01 +0200, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:
>
> > No patch yet, just asking if this is a good idea or not.

Yes. A fine idea.

> I think it's a very good idea. But it should be something that includes
> the other components of how you send email...
> 
> Like
> 
> User-Aget: Emacs 23 Message-mode / notmuch-0.1.1

A quick grep through some of my recent mails does show precedent for
this kind of thing:

  User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (gnu/linux)

Unsurprisingly, these suer-agent strings can become arbitrarily
unwieldy:

  User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0pre Thunderbird/3.0.4

Or extremely simple:

  User-Agent: Sup/0.11

I don't see the advantage of duplicating the name and version in the
parenthesized comment, but here's an idea that looks useful:

  User-Agent: Loom/3.14 (http://gmane.org/)

So I propose something like:

  User-Agent: Notmuch/0.2 (http://notmuchmail.org) Emacs/23.1.1 (gnu/linux)

If anybody wants to start assembling a patch to generate that, that
would be great.

-Carl



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

  reply	other threads:[~2010-04-10  2:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08  8:26 RFC: User-Agent header Sebastian Spaeth
2010-04-08 15:12 ` Dirk Hohndel
2010-04-10  2:55   ` Carl Worth [this message]
2010-04-10  4:43     ` Dirk Hohndel
2010-04-10 13:16     ` Jameson Rollins
2010-04-10 14:00     ` Sebastian Spaeth
2010-04-10 14:45       ` Dirk Hohndel
2010-04-10 14:02   ` Xavier Maillard
2010-04-11 22:12 ` Sebastian Spaeth
2010-04-12  5:45   ` David Edmondson
2010-04-12  8:30   ` [PATCH] " Sebastian Spaeth
2010-04-13 17:44     ` Carl Worth
2010-04-13 22:55       ` Xavier Maillard
2010-04-14  7:38       ` [PATCH 13/13] notmuch.el: Add a function to insert a notmuch user-agent header Sebastian Spaeth
2010-04-14  7:44         ` David Edmondson
2010-04-14  9:52           ` Sebastian Spaeth
2010-04-14  7:44       ` [PATCH] RFC: User-Agent header Sebastian Spaeth
2010-04-15 19:52         ` Carl Worth

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=874ojkf23u.fsf@yoom.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=Sebastian@SSpaeth.de \
    --cc=hohndel@infradead.org \
    --cc=notmuch@notmuchmail.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).