[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:
,----[ http://article.gmane.org/gmane.emacs.gnus.general/56508 ]
| "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:
,----[ http://article.gmane.org/gmane.emacs.gnus.general/56509 ]
| 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.
[1]
--8<---------------cut here---------------start------------->8---
;; Work around for an incompatibility (XEmacs 21.4 vs. 21.5), see the
;; following threads:
;;
;; http://thread.gmane.org/gmane.emacs.gnus.general/56414
;; Subject: attachment problems found but not fixed
;;
;; http://thread.gmane.org/gmane.emacs.gnus.general/56459
;; Subject: Splitting mail -- XEmacs 21.4 vs 21.5
;;
;; http://thread.gmane.org/gmane.emacs.xemacs.beta/20519
;; 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-temp-buffer
(with-syntax-table table
(insert "foo=bar")
(goto-char (point-min))
(forward-sexp 1)
(eolp)))))
;; 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)))
(unwind-protect
(progn
;;(set-syntax-table (copy-syntax-table ,syntab))
(set-syntax-table ,syntab)
,@body)
(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 | http://rsteib.home.pages.de/
- Re: [AUCTeX-devel] Changes in font locking, (continued)
- [AUCTeX-devel] Re: Changes in font locking, David Kastrup, 2007/03/14
- [AUCTeX-devel] Re: Changes in font locking, Stephen J. Turnbull, 2007/03/14
- [AUCTeX-devel] Re: Changes in font locking, David Kastrup, 2007/03/14
- [AUCTeX-devel] Re: Changes in font locking, Stephen J. Turnbull, 2007/03/15
- [AUCTeX-devel] Re: Changes in font locking, David Kastrup, 2007/03/15
- [AUCTeX-devel] Re: Changes in font locking, Stephen J. Turnbull, 2007/03/15
- [AUCTeX-devel] Re: Changes in font locking, David Kastrup, 2007/03/16
- [AUCTeX-devel] Re: Changes in font locking, David Kastrup, 2007/03/15
- [AUCTeX-devel] Re: Changes in font locking,
Reiner Steib <=
- [AUCTeX-devel] Re: Changes in font locking, Stephen J. Turnbull, 2007/03/15
- [AUCTeX-devel] Re: Changes in font locking, David Kastrup, 2007/03/15
- Re: [AUCTeX-devel] Re: Changes in font locking, Ralf Angeli, 2007/03/13
- Re: [AUCTeX-devel] Re: Changes in font locking, David Kastrup, 2007/03/13
- Re: [AUCTeX-devel] Re: Changes in font locking, Ralf Angeli, 2007/03/13
- Re: [AUCTeX-devel] Re: Changes in font locking, David Kastrup, 2007/03/13
- Re: [AUCTeX-devel] Re: Changes in font locking, Olivier Galibert, 2007/03/14
- Re: [AUCTeX-devel] Re: Changes in font locking, Ralf Angeli, 2007/03/14
- Re: [AUCTeX-devel] Re: Changes in font locking, Robert Pluim, 2007/03/13
- Re: [AUCTeX-devel] Re: Changes in font locking, David Kastrup, 2007/03/13