Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: gnus-button-alist: Don't treat " as part MID
Date: Thu, 04 Aug 2005 10:22:44 +0900	[thread overview]
Message-ID: <b4md5outs0r.fsf@jpl.org> (raw)
In-Reply-To: <v9hde8dxx2.fsf@marauder.physik.uni-ulm.de>

>>>>> In <v9hde8dxx2.fsf@marauder.physik.uni-ulm.de> Reiner Steib wrote:

> Gnus treats the trailing quote `"' as part of the MID in case (d) and
> (f):

> (a) <b4m64uo7ij8.fsf@jpl.org>

> (b) news:b4m64uo7ij8.fsf@jpl.org

> (c) <news:b4m64uo7ij8.fsf@jpl.org>

> (d) "news:b4m64uo7ij8.fsf@jpl.org"

> (e) <URL:news:b4m64uo7ij8.fsf@jpl.org>

> (f) "URL:news:b4m64uo7ij8.fsf@jpl.org"

> AFAICS, `"' can't be part of the domain part, so I suggest apply one
> of the following patches.

> (1) Minimal change; don't allow `"' ==> @[^>)!;:,\n\t \"]*

It is similar to the ways that ffap-url-at-point (ffap.el) and
thing-at-point-url-at-point (thingatpt.el) do.

> (2) The domain part can only contain alphanumeric characters, `.' and
>     `-'.  ==> @[a-z0-9.-]+

> I'd prefer (2), but maybe I'm missing something.  Opinions?

I think (2) is also good since it aims to narrow to use for
nntp\|news which should contain only MIDs.  Though I don't care
which you use, it will have to be fixed anyway.



  reply	other threads:[~2005-08-04  1:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 17:57 Reiner Steib
2005-08-04  1:22 ` Katsumi Yamaoka [this message]
2005-08-04 12:38   ` Reiner Steib

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

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

  git send-email \
    --in-reply-to=b4md5outs0r.fsf@jpl.org \
    --to=yamaoka@jpl.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.
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 NNTP newsgroup(s).