From xemacs-m  Sat Mar 22 09:20:33 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA28494
	for <xemacs-beta@xemacs.org>; Sat, 22 Mar 1997 09:20:32 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id QAA06216; Sat, 22 Mar 1997 16:20:30 +0100 (MET)
Sender: hniksic@public.srce.hr
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Buffer-specific display-tables
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nA
        EL1M(".[qvI#a2E6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/X
        vhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 22 Mar 1997 16:20:30 +0100
Message-ID: <kigybbguf5t.fsf@jagor.srce.hr>
Lines: 22
X-Mailer: Gnus v5.4.33/XEmacs 19.14

Buffer-specific display tables don't seem to work for me.  Take this
snippet of code:

(let ((table (make-display-table)))
  (aset table ?\0 "?")
  (set-specifier current-display-table table (current-buffer)))

This should set ^@ to be printed as ? in the current buffer only.  If
I remove the `(current-buffer)' locale argument, I the behaviour is
correct, but it's not what I want.

Is this a bug in display-table code, specifiers code, or am I doing
something wrong?  Specifiers seem to be a powerful and simple-to-use
feature -- I'd hate this basic functionality to be buggy. :-(

The bug shows on XEmacs 19.14 and 20.0-b6, and probably in b9 and
19.15 too.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Psychos _do not_ explode when sunlight hits them."

