[Top][All Lists]

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

RE: display problem

From: Drew Adams
Subject: RE: display problem
Date: Sun, 27 May 2007 18:18:58 -0700

> Drew Adams wrote:
> > emacs -Q
> >
> > (aset standard-display-table ?\014 [10 33030176 33030176 33030176
> >
> > See two attached images. In Emacs 22 (all recent builds), this is
> > displays correctly. In Emacs 23: 1) Each character appears as an empty
> > rectangle.
> What do you mean by Emacs 23? Thinking about this might help with your
> problem.

What does Emacs mean by "Emacs 23"? See my mail, where "Help > Send bug
report" reported the version and build information.

If you understand the problem, and it is in fact user ignorance, please feel
free to explain.

FYI, the display-table entries were generated using Kim's proposal for a
post-Emacs 22 release `make-glyph-code':

(defun make-glyph-code (char &optional face)
  "Return a glyph code representing char CHAR with face FACE."
  (if face (logior char (lsh (face-id face) 19)) char))

The face used was this:

(defface my-highlight
  '((((type x w32 mac graphic) (class color))
      (:box (:line-width 3 :style pressed-button)))
     (t (:inverse-video t)))
        "..." :group 'faces)

The vector was generated using this:

(aset standard-display-table
      (vconcat "\n"
               (mapcar (lambda (c) (make-glyph-code c 'my-highlight))
               "          Section (Printable Page)          ")))

I admit to not understanding a lot about glyphs, character codes, or
Unicode. Perhaps it is silly to expect that `make-glyph-code' would work as
proposed for Emacs 23 also. Please explain. Otherwise, if this is a bug,

reply via email to

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