From: Richard Stallman <rms@gnu.org>
To: Vinicius Jose Latorre <viniciusjl@ig.com.br>
Cc: monnier@iro.umontreal.ca, drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: Integer & glyph (trunk and emacs_unicode)
Date: Fri, 16 Nov 2007 23:53:29 -0500 [thread overview]
Message-ID: <E1ItFgP-0000zZ-3u@fencepost.gnu.org> (raw)
In-Reply-To: <473D9A31.8040408@ig.com.br> (message from Vinicius Jose Latorre on Fri, 16 Nov 2007 10:25:05 -0300)
(let ((id (and face (face-id face))))
(if (and (numberp id)
;; Due to limitations on Emacs integer values, only
;; face ids below a certain limit can be used.
(= id (lsh (lsh id glyph-char-bits) (- glyph-char-bits))))
(logior char (lsh id glyph-char-bits))
char))
Is there any problem if I implement this solution in trunk and Emacs
unicode?
It's not _wrong_, but we've already decided to replace the
mechanism with the use of cons cells.
And I am pretty sure someone has already written the code for that.
Who was it?
next prev parent reply other threads:[~2007-11-17 4:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-15 21:15 Integer & glyph (trunk and emacs_unicode) Vinicius Jose Latorre
2007-11-15 21:12 ` Stefan Monnier
2007-11-16 3:39 ` Drew Adams
2007-11-16 13:25 ` Vinicius Jose Latorre
2007-11-17 4:53 ` Richard Stallman [this message]
2007-11-17 16:17 ` Kim F. Storm
2007-11-17 23:31 ` Richard Stallman
2007-11-16 18:33 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1ItFgP-0000zZ-3u@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=viniciusjl@ig.com.br \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.