From: Reuben Thomas <rrt@sc3d.org>
To: Jason Rumney <jasonr@gnu.org>
Cc: Emacs Bugs <bug-gnu-emacs@gnu.org>
Subject: Re: Pasting from X clipboard sometimes uses different font
Date: Tue, 29 Jan 2008 21:35:22 +0000 (GMT) [thread overview]
Message-ID: <alpine.DEB.1.00.0801292132510.7401@localhost.localdomain> (raw)
In-Reply-To: <479F9AA2.1080404@gnu.org>
On Tue, 29 Jan 2008, Jason Rumney wrote:
> Rather than going into hexl-mode, try pressing C-u C-x = on both characters
> and compare the results.
Thanks, this gives me the difference. The one I paste is:
character: … (53444, #o150304, #xd0c4, U+2026)
charset: japanese-jisx0208 (JISX0208.1983/1990 Japanese Kanji: ISO-IR-87.)
code point: #x21 #x44
syntax: _ which means: symbol
category: j:Japanese |:While filling, we can break a line at this character.
buffer code: #x92 #xA1 #xC4
file code: #xE2 #x80 #xA6 (encoded by coding system mule-utf-8-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-Normal--14-130-75-75-C-140-JISX0208.1983-0 (#x2144)
There are text properties here:
fontified t
rear-nonsticky t
while the one in the buffer is:
character: … (342438, #o1234646, #x539a6, U+2026)
charset: mule-unicode-0100-24ff (Unicode characters of the range U+0100..U+24FF.)
code point: #x73 #x26
syntax: _ which means: symbol
buffer code: #x9C #xF4 #xF3 #xA6
file code: #xE2 #x80 #xA6 (encoded by coding system mule-utf-8-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1 (#x2026)
There are text properties here:
fontified t
So the two are the same unicode code point, but Emacs is treating them
differently. Why? Also, why does Emacs think the character I pasted is
Japanese?
--
http://rrt.sc3d.org/
lawyer, n. one paid to make the inexcusable incomprehensible
prev parent reply other threads:[~2008-01-29 21:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 20:26 Pasting from X clipboard sometimes uses different font Reuben Thomas
2008-01-29 21:07 ` Reuben Thomas
2008-01-29 21:29 ` Jason Rumney
2008-01-29 21:35 ` Reuben Thomas [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.00.0801292132510.7401@localhost.localdomain \
--to=rrt@sc3d.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=jasonr@gnu.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 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.