From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83185 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: XEmacs builds failing - gnus-spec.el Date: Tue, 21 May 2013 08:55:48 +0900 Organization: Emacsen advocacy group Message-ID: References: <87a9nqu62k.fsf@topper.koldfront.dk> <5277.1368999929@rawbw.com> <8761yetyx5.fsf@topper.koldfront.dk> <87sj1isjmw.fsf@topper.koldfront.dk> <87li7asg2y.fsf@topper.koldfront.dk> <871u92yuar.fsf@randomsample.de> <87a9npprn0.fsf@topper.koldfront.dk> <874ndxppzz.fsf@topper.koldfront.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1369094273 31322 80.91.229.3 (20 May 2013 23:57:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 May 2013 23:57:53 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31451@lists.math.uh.edu Tue May 21 01:57:52 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UeZxf-0005Vw-UE for ding-account@gmane.org; Tue, 21 May 2013 01:57:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1UeZvy-00087f-Sb; Mon, 20 May 2013 18:56:06 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1UeZvx-00087R-9X for ding@lists.math.uh.edu; Mon, 20 May 2013 18:56:05 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UeZvr-0002yQ-Jx for ding@lists.math.uh.edu; Mon, 20 May 2013 18:56:04 -0500 Original-Received: from mail-hampton.hostforweb.net ([216.246.13.138] helo=hampton.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UeZvp-0000rg-V2 for ding@gnus.org; Tue, 21 May 2013 01:55:58 +0200 Original-Received: from localhost.localdomain ([127.0.0.1]:43942 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1UeZvi-001RFe-Es for ding@gnus.org; Mon, 20 May 2013 18:55:50 -0500 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.130008 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:cdAseWh5wDo/JbK0COzxqve6o+0= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.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-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83185 Archived-At: --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Adam Sj=F8gren wrote: > Oh, I can - evaluating: > (message (format "%s" ?\u00AB)) > in both mule and nomule XEmacs 21.4.22 gives me: > Symbol's value as variable is void: 00AB Yes, XEmacs 21.4 doesn't support such read sequence. > I wonder if it would work to simply replace ?\u00AB with 171. ?\=AB is ok for XEmacs 21.4 if it loads the Mule-UCS package that provides the utf-8 coding system. To use it, do: (require 'un-define) But as for loading gnus-spec.el, there's another problem for XEmacs 21.4; the coding cookie, put in the `Local Variables' section at the end of the file, won't be effective. So, gnus-spec.el will not necessarily be loaded as a utf-8 file. AFAIK, the only effective coding cookie is the one put at the beginning of a file. A patch that involves those consideration is below. BTW, isn't it possible for Gnus to drop the XEmacs 21.4 support? --=-=-= Content-Type: text/x-patch; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable --- dgnushack.el~ 2013-01-06 22:08:11 +0000 +++ dgnushack.el 2013-05-20 23:53:55 +0000 @@ -24,6 +24,13 @@ =20 ;;; Code: =20 +(if (and (featurep 'xemacs) + (fboundp 'find-coding-system) + (not (find-coding-system 'utf-8))) + (condition-case nil + (require 'un-define) + (error nil))) + (defvar dgnushack-default-load-path (copy-sequence load-path)) =20 (defalias 'facep 'ignore) --- gnus-spec.el~ 2013-05-20 22:12:26 +0000 +++ gnus-spec.el 2013-05-20 23:53:57 +0000 @@ -1,4 +1,4 @@ -;;; gnus-spec.el --- format spec functions for Gnus +;;; gnus-spec.el --- format spec functions for Gnus -*- coding: utf-8 -*- =20 ;; Copyright (C) 1996-2013 Free Software Foundation, Inc. =20 @@ -441,7 +441,7 @@ (delim (aref (match-string 2) 0))) (if (or (=3D delim ?\() (=3D delim ?\{) - (=3D delim ?\u00AB)) ; =AB + (=3D delim ?\=AB)) (replace-match (concat "\"(" (cond ((=3D delim ?\() "mouse") ((=3D delim ?\{) "face") @@ -732,8 +732,4 @@ =20 (provide 'gnus-spec) =20 -;; Local Variables: -;; coding: utf-8 -;; End: - ;;; gnus-spec.el ends here --=-=-=--