GNU bug report logs -
#2830
23.0.91; Private use area
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2830 in the body.
You can then email your comments to 2830 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2830
; Package
emacs
.
(Tue, 31 Mar 2009 06:10:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jonathan Coxhead <jonathan <at> doves.demon.co.uk>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 31 Mar 2009 06:10:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing
list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
(Not sure if this is a bug or a feature request.)
I have a file with characters from the Private Use Area of Unicode. I
also have
a font, Code2000, "http://code2000.net/CODE2000.ZIP" which has the
characters in
it. But emacs shows me squares instead of the characters. (Notepad can
display
it.)
Here are a few lines from my file:
s/b//g; # umbar
s/c//g; # quesse
s/d//g; # ando
s/f//g; # formen
s/g//g; # ungwe
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/pf/emacs-23.0.91/etc/DEBUG for instructions.
In GNU Emacs 23.0.91.1 (i386-mingw-nt5.1.2600)
of 2009-02-26 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
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: ENU
value of $XMODIFIERS: nil
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Perl
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
C-x C-f ~ / b i n / c i r t h . p l <return> <S-down-mouse-1>
C-l <down-mouse-3> <mouse-3> <down-mouse-1> <mouse-1>
C-x C-f u n c i a l . p l <return> M-> <S-down-mouse-1>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <options>
<menu-set-font> <help-echo> <help-echo> C-x C-f v i
r t h <M-left> <delete> c <right> <right> <right> <right>
. p l <return> M-M M-< M-M M-< M-> M-< C-x C-f t e
n g w a r . <tab> p l <return> <next> <next> <next>
<next> <next> <next> <next> <next> <next> <next> <next>
<next> M-< <down-mouse-1> <mouse-1> <right> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <down> <down> <down>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>
Recent messages:
Loading faces...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Buffer-Face mode enabled
Mark set
mouse-appearance-menu: Invalid font object
Mark set [6 times]
Making completion list...
call-interactively: End of buffer
Mark set
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2830
; Package
emacs
.
(Tue, 31 Mar 2009 09:10:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jason Rumney <jasonr <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 31 Mar 2009 09:10:05 GMT)
Full text and
rfc822 format available.
Message #10 received at 2830 <at> emacsbugs.donarmstrong.com (full text, mbox):
Jonathan Coxhead wrote:
> I have a file with characters from the Private Use Area of Unicode. I
> also have
> a font, Code2000, "http://code2000.net/CODE2000.ZIP" which has the
> characters in
> it. But emacs shows me squares instead of the characters. (Notepad can
> display
> it.)
How are you telling Emacs which font to use to display those characters?
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2830
; Package
emacs
.
(Tue, 31 Mar 2009 18:25:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jonathan Coxhead <jonathan.coxhead <at> nxp.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 31 Mar 2009 18:25:05 GMT)
Full text and
rfc822 format available.
Message #15 received at 2830 <at> emacsbugs.donarmstrong.com (full text, mbox):
Jason Rumney wrote:
> Jonathan Coxhead wrote:
> > I have a file with characters from the Private Use Area of Unicode. I
> > also have
> > a font, Code2000, "http://code2000.net/CODE2000.ZIP" which has the
> > characters in
> > it. But emacs shows me squares instead of the characters. (Notepad can
> > display
> > it.)
>
> How are you telling Emacs which font to use to display those characters?
I used the mouse. Shift-click didn't behave as it used to, but I found "Set Default Font..." on the "Options" menu on the menu bar. It seemed to work as I expected: the font is distinctive enough that I'm sure the buffer was using the font I chose (Code2000). But the private-use characters were displayed as empty boxes.
Thanks for looking at this---I'd love to be able to edit Elvish (and other PUA scripts) with Emacs!
---Jonathan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2830
; Package
emacs
.
(Wed, 01 Apr 2009 00:15:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jason Rumney <jasonr <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 01 Apr 2009 00:15:04 GMT)
Full text and
rfc822 format available.
Message #20 received at 2830 <at> emacsbugs.donarmstrong.com (full text, mbox):
jonathan <at> doves.demon.co.uk wrote:
> I used the mouse. Shift-click didn't behave as it used to, but I found "Set Default Font..." on the "Options" menu on the menu bar. It seemed to work as I expected: the font is distinctive enough that I'm sure the buffer was using the font I chose (Code2000). But the private-use characters were displayed as empty boxes.
>
Because these characters are from the Private Use Area, Emacs cannot
assume that just because a font has glyphs at those code points that
they are the right glyphs. You will need to explicitly tell Emacs that
you want to use Code2000 to represent the PUA range:
(set-fontset-font t '(#xe000 . #xf8ff) (font-spec :family "Code2000"))
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2830
; Package
emacs
.
(Wed, 01 Apr 2009 01:20:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 01 Apr 2009 01:20:05 GMT)
Full text and
rfc822 format available.
Message #25 received at 2830 <at> emacsbugs.donarmstrong.com (full text, mbox):
> Because these characters are from the Private Use Area, Emacs cannot assume
> that just because a font has glyphs at those code points that they are the
> right glyphs. You will need to explicitly tell Emacs that you want to use
> Code2000 to represent the PUA range:
> (set-fontset-font t '(#xe000 . #xf8ff) (font-spec :family "Code2000"))
It would probably make sense to just "use the default font" for any PUA
chars supported by that font. It's not strictly correct, but in the
absence of any additional info, it seems like a good heuristic.
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2830
; Package
emacs
.
(Wed, 01 Apr 2009 01:50:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kenichi Handa <handa <at> m17n.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 01 Apr 2009 01:50:03 GMT)
Full text and
rfc822 format available.
Message #30 received at 2830 <at> emacsbugs.donarmstrong.com (full text, mbox):
In article <jwvd4bxuqlk.fsf-monnier+emacsbugreports <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> > Because these characters are from the Private Use Area, Emacs cannot assume
> > that just because a font has glyphs at those code points that they are the
> > right glyphs. You will need to explicitly tell Emacs that you want to use
> > Code2000 to represent the PUA range:
> > (set-fontset-font t '(#xe000 . #xf8ff) (font-spec :family "Code2000"))
> It would probably make sense to just "use the default font" for any PUA
> chars supported by that font. It's not strictly correct, but in the
> absence of any additional info, it seems like a good heuristic.
I agree. I'll modify the setting of the default fontset to
do that.
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2830
; Package
emacs
.
(Thu, 02 Apr 2009 03:20:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kenichi Handa <handa <at> m17n.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 02 Apr 2009 03:20:04 GMT)
Full text and
rfc822 format available.
Message #35 received at 2830 <at> emacsbugs.donarmstrong.com (full text, mbox):
In article <E1LopV2-00067C-5N <at> etlken>, Kenichi Handa <handa <at> m17n.org> writes:
> In article <jwvd4bxuqlk.fsf-monnier+emacsbugreports <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> > > Because these characters are from the Private Use Area, Emacs cannot assume
> > > that just because a font has glyphs at those code points that they are the
> > > right glyphs. You will need to explicitly tell Emacs that you want to use
> > > Code2000 to represent the PUA range:
> > > (set-fontset-font t '(#xe000 . #xf8ff) (font-spec :family "Code2000"))
> > It would probably make sense to just "use the default font" for any PUA
> > chars supported by that font. It's not strictly correct, but in the
> > absence of any additional info, it seems like a good heuristic.
> I agree. I'll modify the setting of the default fontset to
> do that.
Done.
---
Kenichi Handa
handa <at> m17n.org
bug closed, send any further explanations to Jonathan Coxhead <jonathan <at> doves.demon.co.uk>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 02 Apr 2009 13:20:04 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Thu, 30 Apr 2009 14:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 55 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.