Gnus development mailing list
 help / color / mirror / Atom feed
From: Steve Youngs <steve@youngs.au.com>
Subject: [PATCH] SXEmacs User-Agent string
Date: Thu, 06 Jan 2005 11:49:07 +1000	[thread overview]
Message-ID: <microsoft-free.871xczwcmk.fsf@youngs.au.com> (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 --]

             reply	other threads:[~2005-01-06  1:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-06  1:49 Steve Youngs [this message]
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

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=microsoft-free.871xczwcmk.fsf@youngs.au.com \
    --to=steve@youngs.au.com \
    /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).