[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] Re: Changes in font locking

From: Reiner Steib
Subject: [AUCTeX-devel] Re: Changes in font locking
Date: Wed, 14 Mar 2007 21:54:21 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

On Wed, Mar 14 2007, Stephen J. Turnbull wrote:

> Quite obviously the bugs themselves and the reporters' demeanor have a
> huge amount to do with it, write access or not very little, and very
> few reporters receive cross words, and even fewer are ignored.

>From your reply to Katsumi Yamaoka who found added a workaround [2] in
`dgnushack.el' [1] to make mail splitting work again in Gnus with
XEmacs 21.5:

,----[ ]
| "Gnus doesn't work, so it's a syntax table bug in XEmacs" is not
| worth investigating for me, [...]

>From your reply to Steve Youngs who pointed out that XEmacs 21.4 and
XEmacs 21.5 behave differently wrt syntax tables:

,----[ ]
| No sane person expects anything related to Gnus to be deterministic.

And these are only quotes from the one of the (three years old) thread
related to `with-syntax-table'.  Not exactly encouraging in my book.

Bye, Reiner.

--8<---------------cut here---------------start------------->8---
;; Work around for an incompatibility (XEmacs 21.4 vs. 21.5), see the
;; following threads:
;; Subject: attachment problems found but not fixed
;; Subject: Splitting mail -- XEmacs 21.4 vs 21.5
;; Subject: XEmacs 21.5 and Gnus fancy splitting.
(when (and (featurep 'xemacs)
           (let ((table (copy-syntax-table emacs-lisp-mode-syntax-table)))
             (modify-syntax-entry ?= " " table)
               (with-syntax-table table
                 (insert "foo=bar")
                 (goto-char (point-min))
                 (forward-sexp 1)
  ;; The original `with-syntax-table' uses `copy-syntax-table' which
  ;; doesn't seem to copy modified syntax entries in XEmacs 21.5.
  (defmacro with-syntax-table (syntab &rest body)
    "Evaluate BODY with the SYNTAB as the current syntax table."
    `(let ((stab (syntax-table)))
             ;;(set-syntax-table (copy-syntax-table ,syntab))
             (set-syntax-table ,syntab)
         (set-syntax-table stab)))))
--8<---------------cut here---------------end--------------->8---

[2] Now I think would have been better _not_ to add a workaround in
    dgnushack.el.  Maybe the problem would have received more
    attention if more XEmacs users would have complained.
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]