Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] SXEmacs User-Agent string
@ 2005-01-06  1:49 Steve Youngs
  2005-01-06 13:41 ` Using versions instead of XEmacs codenames in User-Agent (was: [PATCH] SXEmacs User-Agent string) Reiner Steib
  0 siblings, 1 reply; 13+ messages in thread
From: Steve Youngs @ 2005-01-06  1:49 UTC (permalink / raw)


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

Does anybody have any objections to me committing this?  I'll wait a
couple of days before committing, just in case.

Gnus patch:
ChangeLog files diff command: cvs -q diff -U 0
Files affected:               lisp/ChangeLog
Source files diff command:    cvs -q diff -uN
Files affected:               lisp/gnus-util.el

Index: lisp/ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v
retrieving revision 7.587
diff -u -U0 -r7.587 ChangeLog
--- lisp/ChangeLog	3 Jan 2005 16:05:14 -0000	7.587
+++ lisp/ChangeLog	6 Jan 2005 01:45:42 -0000
@@ -0,0 +1,4 @@
+2005-01-06  Steve Youngs  <steve@youngs.au.com>
+
+	* gnus-util.el (gnus-emacs-version): Add matching for SXEmacs.
+
Index: lisp/gnus-util.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-util.el,v
retrieving revision 7.23
diff -u -u -r7.23 gnus-util.el
--- lisp/gnus-util.el	17 Dec 2004 10:27:43 -0000	7.23
+++ lisp/gnus-util.el	6 Jan 2005 01:45:36 -0000
@@ -1498,6 +1498,16 @@
 	      (if system-v
 		  (concat " (" system-v ")")
 		"")))
+     ((string-match "sxemacs--" emacs-version)
+      (concat "SXEmacs"
+	      (format "/%d.%d" emacs-major-version emacs-minor-version)
+	      (if (boundp 'sxemacs-codename)
+		  (concat
+		   " (" sxemacs-codename
+		   (if system-v
+		       (concat ", " system-v ")")
+		     ")"))
+		"")))
      ((string-match
        "\\([A-Z]*[Mm][Aa][Cc][Ss]\\)[^(]*\\(\\((beta.*)\\|'\\)\\)?"
        emacs-version)

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|                   Te audire no possum.                   |
|             Musa sapientum fixa est in aure.             |
|----------------------------------<steve@youngs.au.com>---|

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-01-10 23:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06  1:49 [PATCH] SXEmacs User-Agent string Steve Youngs
2005-01-06 13:41 ` Using versions instead of XEmacs codenames in User-Agent (was: [PATCH] SXEmacs User-Agent string) Reiner Steib
2005-01-06 23:00   ` Using versions instead of XEmacs codenames in User-Agent Katsumi Yamaoka
2005-01-06 23:29   ` Steve Youngs
2005-01-08 18:09     ` Reiner Steib
2005-01-09  1:28       ` Steve Youngs
2005-01-09 20:55         ` Reiner Steib
2005-01-09 23:09           ` Steve Youngs
2005-01-10  8:42             ` Bjørn Mork
2005-01-10  9:20               ` Steve Youngs
2005-01-10 10:39                 ` Bjørn Mork
2005-01-10 15:07             ` Reiner Steib
2005-01-10 23:29               ` Steve Youngs

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).