From: Richard Stallman <rms@gnu.org>
To: handa@m17n.org
Cc: emacs-devel@gnu.org
Subject: Re: bug of display-table & make-glyph-code
Date: Thu, 06 Sep 2007 01:00:55 -0400 [thread overview]
Message-ID: <E1IT9U7-0005AD-AB@fencepost.gnu.org> (raw)
In-Reply-To: <200708271732.22306.zslevin@gmail.com> (message from levin on Mon, 27 Aug 2007 17:32:22 +0800)
He says this fails in the latest unicode-2 sources.
Would you please DTRT?
Would someone please DTRT and ack?
From: levin <zslevin@gmail.com>
To: emacs-devel@gnu.org
Date: Mon, 27 Aug 2007 17:32:22 +0800
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
charset="gb18030"
Subject: bug of display-table & make-glyph-code
To reinvent this bug, please follow:
1. Please save the text below as glyph.org, visit it, and `M-x org-mode' to
turn on org mode.
2. Keep the first headline collapsed by pressing TAB (if neccessary) on it.
3. you can expand the second/third headline by press TAB on it.
4. eval the lisp code in the second headline, this CANNOT change "..."
display.
5. eval the lisp code in the third headline, this CAN change "..." display.
I find out that if make-glyph-code returns a negative int, then the
display table does not take effect on "..." display.
--------8<-------------8<--------
* Please keep me collapsed by pressing TAB (if neccessary)
some info to hide
* please eval me, this CANNOT change "..." display
(describe-face 'org-warning)
(face-id 'org-warning) # mine is 77 here
(unless buffer-display-table
(setq buffer-display-table (make-display-table)))
(set-display-table-slot buffer-display-table 'selective-display
(vconcat (mapcar
(lambda (c)
(make-glyph-code c 'org-warning))
"...")))
* please eval me, this can change ellipse display
(describe-face 'tooltip)
(face-id 'tooltip) # mine is 54 here
(unless buffer-display-table
(setq buffer-display-table (make-display-table)))
(set-display-table-slot buffer-display-table 'selective-display
(vconcat (mapcar
(lambda (c)
(make-glyph-code c 'tooltip))
"...")))
--------8<-------------8<--------
My environment:
In GNU Emacs 23.0.0.2 (i686-pc-linux-gnu)
of 2007-08-27 on MagicLinux
configured using `configure '--with-x-toolkit=no''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: zh_CN.GB18030
value of $XMODIFIERS: nil
locale-coding-system: chinese-gb18030-unix
default-enable-multibyte-characters: t
Major mode: Org
Minor modes in effect:
encoded-kbd-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-compression-mode: t
line-number-mode: t
--
Levin
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
prev parent reply other threads:[~2007-09-06 5:00 UTC|newest]
Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-27 9:32 bug of display-table & make-glyph-code levin
2007-09-04 16:45 ` Richard Stallman
2007-09-04 18:09 ` martin rudalics
2007-09-04 19:08 ` Glenn Morris
2007-09-05 5:58 ` levin
2007-09-05 7:22 ` Glenn Morris
2007-09-05 8:22 ` Du Jingwu
2007-09-05 20:02 ` Richard Stallman
2007-09-05 6:16 ` Richard Stallman
2007-09-05 7:21 ` Glenn Morris
2007-09-05 8:08 ` martin rudalics
2007-09-05 8:37 ` Glenn Morris
2007-09-05 9:58 ` martin rudalics
2007-09-05 16:44 ` Glenn Morris
2007-09-05 17:34 ` martin rudalics
2007-09-06 5:29 ` Glenn Morris
2007-09-06 8:49 ` martin rudalics
2007-09-07 1:44 ` Glenn Morris
2007-09-07 8:02 ` martin rudalics
2007-09-07 17:48 ` Glenn Morris
2007-09-08 8:52 ` martin rudalics
2007-09-08 7:00 ` Richard Stallman
2007-09-12 7:37 ` Glenn Morris
2007-09-12 8:28 ` martin rudalics
2007-10-11 23:57 ` dired-warning (was: bug of display-table & make-glyph-code) Juri Linkov
2007-10-12 7:06 ` dired-warning martin rudalics
2007-10-14 21:21 ` dired-warning Juri Linkov
2007-09-05 17:54 ` bug of display-table & make-glyph-code Eli Zaretskii
2007-09-05 8:51 ` levin
2007-09-06 4:59 ` Richard Stallman
2007-09-05 10:08 ` frame resizing under KDE (was Re: bug of display-table & make-glyph-code) Stephen Berman
2007-09-05 17:42 ` martin rudalics
2007-09-06 6:17 ` frame resizing under KDE (was Re: bug of display-table & make-glyph-code ) Levin
2007-09-06 12:01 ` frame resizing under KDE Stephen Berman
2007-09-06 1:15 ` bug of display-table & make-glyph-code Chong Yidong
2007-09-06 9:09 ` martin rudalics
2007-09-06 14:08 ` Stefan Monnier
2007-09-06 14:49 ` martin rudalics
2007-09-06 20:34 ` Stefan Monnier
2007-09-06 21:08 ` martin rudalics
2007-09-07 17:45 ` Stefan Monnier
2007-09-07 18:30 ` martin rudalics
2007-09-07 20:25 ` Stefan Monnier
2007-09-08 9:22 ` display-buffer-change (was Re: bug of display-table & make-glyph-code) martin rudalics
2007-09-09 19:33 ` display-buffer-change Stefan Monnier
2007-09-09 21:42 ` display-buffer-change martin rudalics
2007-09-10 6:57 ` display-buffer-change David Kågedal
2007-09-10 8:31 ` display-buffer-change martin rudalics
2007-09-10 6:48 ` display-buffer-change David Kågedal
2007-09-10 8:00 ` display-buffer-change martin rudalics
2007-09-07 6:32 ` bug of display-table & make-glyph-code Richard Stallman
2007-09-06 5:00 ` Richard Stallman
2007-09-06 5:27 ` Glenn Morris
2007-09-05 9:15 ` Kim F. Storm
2007-09-05 17:38 ` martin rudalics
2007-09-05 20:43 ` Kim F. Storm
2007-09-07 5:11 ` Kenichi Handa
2007-09-07 8:47 ` Eli Zaretskii
2007-09-07 12:25 ` Kenichi Handa
2007-09-07 18:37 ` Eli Zaretskii
2007-09-08 7:00 ` Richard Stallman
2007-09-10 2:43 ` Kenichi Handa
2007-09-10 3:18 ` Eli Zaretskii
2007-09-07 19:53 ` Richard Stallman
2007-09-10 1:12 ` Richard Stallman
2007-09-10 4:15 ` Kenichi Handa
2007-09-10 5:50 ` Stefan Monnier
2007-09-10 6:29 ` Kenichi Handa
2007-09-10 11:51 ` Kim F. Storm
2007-09-10 14:20 ` Leo
2007-09-11 12:49 ` Stefan Monnier
2007-09-11 20:30 ` Richard Stallman
2007-09-11 21:50 ` Kim F. Storm
2007-09-10 19:40 ` Eli Zaretskii
2007-09-11 0:28 ` Kenichi Handa
2007-09-12 8:45 ` Richard Stallman
2007-09-11 20:31 ` Richard Stallman
2007-09-12 6:55 ` Eli Zaretskii
2007-09-13 16:30 ` Richard Stallman
2007-09-10 23:54 ` Richard Stallman
2007-09-11 0:09 ` Drew Adams
2007-09-11 0:33 ` Kenichi Handa
2007-09-11 1:24 ` Drew Adams
2007-09-06 5:00 ` Richard Stallman [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1IT9U7-0005AD-AB@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).