From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52202 Path: main.gmane.org!not-for-mail From: deskpot@despammed.com (Vasily Korytov) Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug in rfc2047.el Date: Sun, 04 May 2003 04:08:49 +0400 Sender: ding-owner@lists.math.uh.edu Message-ID: <878ytny3n2.fsf@unix.home> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1052006844 5354 80.91.224.249 (4 May 2003 00:07:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 4 May 2003 00:07:24 +0000 (UTC) Original-X-From: ding-owner+M745@lists.math.uh.edu Sun May 04 02:07:23 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19C72I-0001OD-00 for ; Sun, 04 May 2003 02:07:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19C73B-00018A-00; Sat, 03 May 2003 19:08:17 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19C732-000182-00 for ding@lists.math.uh.edu; Sat, 03 May 2003 19:08:08 -0500 Original-Received: (qmail 23580 invoked by alias); 4 May 2003 00:08:07 -0000 Original-Received: (qmail 23575 invoked from network); 4 May 2003 00:08:07 -0000 Original-Received: from main.gmane.org (80.91.224.249) by sclp3.sclp.com with SMTP; 4 May 2003 00:08:07 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19C71j-0001N4-00 for ; Sun, 04 May 2003 02:06:47 +0200 Mail-Followup-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19C71i-0001Mt-00 for ; Sun, 04 May 2003 02:06:46 +0200 Original-Lines: 43 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code) Cancel-Lock: sha1:2EuB80u9zjbKmo+F2/CSwSAawyU= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52202 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52202 --=-=-= Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit On Sun, 04 May 2003 01:28:42 +0200, Karl Pflästerer wrote: > For XEmacs the parameter must be `'syntax' not `'syntax-table'. This isn't the only error. I'm not sure, if I broke smth, but here is the patch, that leads gnus here to byte-compile. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=rfc2047.el.patch Index: rfc2047.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/rfc2047.el,v retrieving revision 6.45 diff -u -r6.45 rfc2047.el --- rfc2047.el 3 May 2003 14:20:49 -0000 6.45 +++ rfc2047.el 4 May 2003 00:06:35 -0000 @@ -246,11 +246,7 @@ ;; skip to the end of regions appropriately. Nb. ietf-drums does ;; things differently. (defconst rfc2047-syntax-table - ;; This is what we should do, but XEmacs doesn't support the optional - ;; arg of `make-syntax-table': -;; (let ((table (make-char-table 'syntax-table '(2)))) - (let ((table (make-char-table 'syntax-table))) - (map-char-table (lambda (k v) (aset table k '(2))) table) + (let ((table (make-syntax-table '(2)))) (modify-syntax-entry ?\\ "\\" table) (modify-syntax-entry ?\" "\"" table) (modify-syntax-entry ?\( "." table) --=-=-= -- I accept RFC3156 and RFC2440-compatible encrypted mail. PGP key fingerprint: 123A 7CCE 6E26 6233 0D87 E01A A0F8 3524 FCD8 1841 --=-=-=--