From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60662 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: gnus-button-alist: Don't treat " as part MID Date: Tue, 02 Aug 2005 19:57:29 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123005839 17488 80.91.229.2 (2 Aug 2005 18:03:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2005 18:03:59 +0000 (UTC) Original-X-From: ding-owner+M9195=ding+2Daccount=gmane.org@lists.math.uh.edu Tue Aug 02 20:03:53 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E015W-0000Fx-7k for ding-account@gmane.org; Tue, 02 Aug 2005 20:02:02 +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 1E015V-0003YL-01 for ding-account@gmane.org; Tue, 02 Aug 2005 13:02:01 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1E015Q-0003YD-00 for ding@lists.math.uh.edu; Tue, 02 Aug 2005 13:01:56 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1E015N-0006XF-FZ for ding@lists.math.uh.edu; Tue, 02 Aug 2005 13:01:53 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1E009I-0006zE-00 for ; Tue, 02 Aug 2005 19:01:52 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E012t-0008CZ-EA for ding@gnus.org; Tue, 02 Aug 2005 19:59:19 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Aug 2005 19:59:19 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Aug 2005 19:59:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 64 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 (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 \"]* --8<---------------cut here---------------start------------->8--- --- gnus-art.el 29 Jul 2005 19:11:46 +0200 6.381.2.46 +++ gnus-art.el 02 Aug 2005 17:23:42 +0200 @@ -6254,7 +6254,7 @@ (defcustom gnus-button-alist '(("<\\(url:[>\n\t ]*?\\)?\\(nntp\\|news\\):[>\n\t ]*\\([^>\n\t ]*@[^>\n\t ]*\\)>" 0 (>= gnus-button-message-level 0) gnus-button-handle-news 3) - ("\\b\\(nntp\\|news\\):\\([^>\n\t ]*@[^>)!;:,\n\t ]*\\)" 0 t + ("\\b\\(nntp\\|news\\):\\([^>\n\t ]*@[^>)!;:,\n\t \"]*\\)" 0 t gnus-button-handle-news 2) ("\\(\\b<\\(url:[>\n\t ]*\\)?\\(nntp\\|news\\):[>\n\t ]*\\(//\\)?\\([^>\n\t ]*\\)>\\)" 1 (>= gnus-button-message-level 0) gnus-button-fetch-group 5) --8<---------------cut here---------------end--------------->8--- (2) The domain part can only contain alphanumeric characters, `.' and `-'. ==> @[a-z0-9.-]+ --8<---------------cut here---------------start------------->8--- --- gnus-art.el 29 Jul 2005 19:11:46 +0200 6.381.2.46 +++ gnus-art.el 02 Aug 2005 17:34:53 +0200 @@ -6254,7 +6254,7 @@ (defcustom gnus-button-alist '(("<\\(url:[>\n\t ]*?\\)?\\(nntp\\|news\\):[>\n\t ]*\\([^>\n\t ]*@[^>\n\t ]*\\)>" 0 (>= gnus-button-message-level 0) gnus-button-handle-news 3) - ("\\b\\(nntp\\|news\\):\\([^>\n\t ]*@[^>)!;:,\n\t ]*\\)" 0 t + ("\\b\\(nntp\\|news\\):\\([^>\n\t ]*@[a-z0-9.-]+\\)" 0 t gnus-button-handle-news 2) ("\\(\\b<\\(url:[>\n\t ]*\\)?\\(nntp\\|news\\):[>\n\t ]*\\(//\\)?\\([^>\n\t ]*\\)>\\)" 1 (>= gnus-button-message-level 0) gnus-button-fetch-group 5) --8<---------------cut here---------------end--------------->8--- I'd prefer (2), but maybe I'm missing something. Opinions? Bye, Reiner. P.S.: The page http://schneegans.de/usenet/mid-schreibweisen/ summarizes the behavior of different newsreaders (in German; "Ja"="Yes" and "Nein"="No"). -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/