unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Karl Eichwalder <ke@gnu.franken.de>
Cc: emacs-devel@gnu.org
Subject: Re: cut-and-paste german quotes
Date: Wed, 04 Aug 2004 07:19:28 +0200	[thread overview]
Message-ID: <shekmn7a5b.fsf@tux.gnu.franken.de> (raw)
In-Reply-To: <200404290244.LAA27861@etlken.m17n.org> (Kenichi Handa's message of "Thu, 29 Apr 2004 11:44:54 +0900 (JST)")

Kenichi Handa <handa@m17n.org> writes:

[...]

>> It has double width:

[...]

> 0xd0c8 is a character of charset japanese-jisx0208.  Emacs
> by default requests a selection of type COMPOUND_TEXT.  It
> seems that xterm, on responding to it, encodes U+201C into a
> character of japanese-jisx0208.  It itself is not a bug
> because that that character can be mapped to U+201C
> according to glibc's charset mapping table.
>
> Please try this:
>
> (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
>
> Then Emacs requests a selection of type UTF8_STRING at first.

In the past I used this setting successfully.  Unfortunately, it does
not seem to catch all the other characters properly; e.g., the 'lower d with a
dash' in "Dindic" (simplified) as cut from
http://de.wikipedia.org/wiki/Zoran_%C4%90in%C4%91i%C4%87 is too wide:

    Zoran Ðinđić

Char: đ (0212242, 70818, 0x114a2, file ...) point=1406 of 2969 (47%) column 13 

But "Zoran Đinđić" is the version wanted:

Char: đ (01210061, 331825, 0x51031, file ...) point=1506 of 3096 (49%) column 14

What can I do to work around this problem?

-- 
                                                         |      ,__o
                                                         |    _-\_<,
http://www.gnu.franken.de/ke/                            |   (*)/'(*)

  parent reply	other threads:[~2004-08-04  5:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 16:59 cut-and-paste german quotes Karl Eichwalder
2004-04-29  2:44 ` Kenichi Handa
2004-04-29  5:18   ` Karl Eichwalder
2004-08-04  5:19   ` Karl Eichwalder [this message]
2004-08-04  9:32     ` Andreas Schwab
2004-08-09 12:42     ` Kenichi Handa
2004-08-09 13:12       ` ke
2004-08-19 11:22         ` Kenichi Handa
2004-08-19 15:16           ` Karl Eichwalder
2004-09-01 13:13             ` Kenichi Handa

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=shekmn7a5b.fsf@tux.gnu.franken.de \
    --to=ke@gnu.franken.de \
    --cc=emacs-devel@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 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).