Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Bug in rfc2047.el
Date: Sun, 04 May 2003 11:46:02 +0900	[thread overview]
Message-ID: <yotlwuh7o2dx.fsf@jpl.org> (raw)
In-Reply-To: <878ytny3n2.fsf@unix.home>

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

>>>>> In <878ytny3n2.fsf@unix.home> 
>>>>>	deskpot@despammed.com (Vasily Korytov) wrote:

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

But the patch doesn't fit to FSFmacs.  Here's another one:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 884 bytes --]

--- rfc2047.el~	2003-05-03 23:12:10 +0000
+++ rfc2047.el	2003-05-04 02:45:45 +0000
@@ -246,11 +246,13 @@
 ;; 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)
+    (if (featurep 'xemacs)
+	(progn
+	  (setq table (make-char-table 'syntax))
+	  (modify-syntax-entry t "w" table))
+      (setq table (make-char-table 'syntax-table))
+      (map-char-table (lambda (k v) (aset table k '(2))) table))
     (modify-syntax-entry ?\\ "\\" table)
     (modify-syntax-entry ?\" "\"" table)
     (modify-syntax-entry ?\( "." table)

      reply	other threads:[~2003-05-04  2:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-03 23:28 Karl Pflästerer
2003-05-04  0:08 ` Vasily Korytov
2003-05-04  2:46   ` Katsumi Yamaoka [this message]

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=yotlwuh7o2dx.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /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).