From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59541 Path: main.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Using versions instead of XEmacs codenames in User-Agent Date: Sat, 08 Jan 2005 19:09:08 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105208508 17741 80.91.229.6 (8 Jan 2005 18:21:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Jan 2005 18:21:48 +0000 (UTC) Original-X-From: ding-owner+M8081@lists.math.uh.edu Sat Jan 08 19:21:39 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CnLDW-0001Em-00 for ; Sat, 08 Jan 2005 19:21:38 +0100 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 1CnL4C-0000fx-00; Sat, 08 Jan 2005 12:12:00 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CnL45-0000fr-00 for ding@lists.math.uh.edu; Sat, 08 Jan 2005 12:11:53 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CnL3v-0002fA-Si for ding@lists.math.uh.edu; Sat, 08 Jan 2005 12:11:44 -0600 Original-Received: from main.gmane.org ([80.91.224.249]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1CnL3u-0000QN-00 for ; Sat, 08 Jan 2005 19:11:42 +0100 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CnL3u-0006qx-00 for ; Sat, 08 Jan 2005 19:11:42 +0100 Original-Received: from dialin-145-254-252-230.arcor-ip.net ([145.254.252.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Jan 2005 19:11:42 +0100 Original-Received: from Reiner.Steib by dialin-145-254-252-230.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Jan 2005 19:11:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dialin-145-254-252-230.arcor-ip.net X-Face: 1;h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB;kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm;%Od * Reiner Steib writes: > [ Dropping codenames, use full version numbers in User-Agent ] > > > Unless there are objections against my suggestion, I'll install it in > > the stable branch and in the trunk. Steve, I'd like to ask you to > > wait for my patch and then also use full version numbers instead of > > codenames for SXEmacs. > > Will do. But, as Katsumi suggested, perhaps make inclusion > of the codename customisable. I'm not sure how this options should be merged into the current choices of `gnus-user-agent'. Additionally, I don't have an XEmacs for testing before Monday. Here is a preliminary version of my patch in case someone want to work on it now: --8<---------------cut here---------------start------------->8--- --- gnus-util.el 17 Dec 2004 10:27:52 -0000 6.104.2.6 +++ gnus-util.el 6 Jan 2005 13:50:57 -0000 @@ -1530,17 +1530,22 @@ emacs-version) (concat (match-string 1 emacs-version) - (format "/%d.%d" emacs-major-version emacs-minor-version) - (if (match-beginning 3) - (match-string 3 emacs-version) - "") - (if (boundp 'xemacs-codename) - (concat - " (" xemacs-codename - (if system-v - (concat ", " system-v ")") - ")")) - ""))) + (if (boundp 'emacs-program-version) + (concat (format "/%s" emacs-program-version) + (if system-v + (concat " (" system-v ")") + "")) + (format "/%d.%d" emacs-major-version emacs-minor-version) + (if (match-beginning 3) + (match-string 3 emacs-version) + "") + (if (boundp 'xemacs-codename) + (concat + " (" xemacs-codename + (if system-v + (concat ", " system-v ")") + ")")) + "")))) (t emacs-version)))) --8<---------------cut here---------------end--------------->8--- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/