From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60681 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-button-alist: Don't treat " as part MID Date: Thu, 04 Aug 2005 10:22:44 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123118621 11132 80.91.229.2 (4 Aug 2005 01:23:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Aug 2005 01:23:41 +0000 (UTC) Original-X-From: ding-owner+M9211=ding+2Daccount=gmane.org@lists.math.uh.edu Thu Aug 04 03:23:35 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E0URz-0006d0-SX for ding-account@gmane.org; Thu, 04 Aug 2005 03:23:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1E0URy-0007Y1-01 for ding-account@gmane.org; Wed, 03 Aug 2005 20:23:10 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1E0URq-0007Xo-00 for ding@lists.math.uh.edu; Wed, 03 Aug 2005 20:23:02 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1E0URk-0004zD-4N for ding@lists.math.uh.edu; Wed, 03 Aug 2005 20:22:56 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1E0TVf-0003f9-00 for ; Thu, 04 Aug 2005 02:22:55 +0200 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.50) id 1E0URq-0005Ft-4U for ding@gnus.org; Wed, 03 Aug 2005 20:23:03 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:V36Mmh0tUIZxzLy+tiE5CuIuVRI= X-Hashcash: 1:20:050804:ding@gnus.org::04SpxeM8A8k/S2Ch:00004WgY X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60681 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60681 >>>>> In Reiner Steib wrote: > Gnus treats the trailing quote `"' as part of the MID in case (d) and > (f): > (a) > (b) news:b4m64uo7ij8.fsf@jpl.org > (c) > (d) "news:b4m64uo7ij8.fsf@jpl.org" > (e) > (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.