From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Maftei Newsgroups: gmane.emacs.help Subject: Re: Cocoa emacs renders Unicode combining diacritics improperly Date: Tue, 17 Jul 2012 13:52:49 +0100 Message-ID: References: <89CCB64C-8963-45D5-866C-A6B208F007E2@Web.DE> <26966270-2EEA-42B0-A669-D946E1927F3E@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9cfccd456236304c5060783 X-Trace: dough.gmane.org 1342529611 14947 80.91.229.3 (17 Jul 2012 12:53:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2012 12:53:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 17 14:53:29 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sr7HI-0008DP-25 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Jul 2012 14:53:24 +0200 Original-Received: from localhost ([::1]:50722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr7HH-0000tN-Dr for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Jul 2012 08:53:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr7HB-0000tC-H9 for help-gnu-emacs@gnu.org; Tue, 17 Jul 2012 08:53:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sr7H5-0007DT-2O for help-gnu-emacs@gnu.org; Tue, 17 Jul 2012 08:53:17 -0400 Original-Received: from mail-vc0-f169.google.com ([209.85.220.169]:54499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr7H4-0007DK-TC for help-gnu-emacs@gnu.org; Tue, 17 Jul 2012 08:53:10 -0400 Original-Received: by vcbfl10 with SMTP id fl10so300305vcb.0 for ; Tue, 17 Jul 2012 05:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=4X7y6UbI5vzflpZ7c+k3uKuPTyYCksGCIj3R5i17PAM=; b=MxICblD3NTAdx5mj16SkLZGjVTJqPqJchVm+kuaHBFjNPKr9/vxkeMcH7MrRvoMbbN mEyirHzddbpx+wPnJ7xOfxwZU3ZQVHPKKrHZ5dnq6e3KjSHXlIaQ/wv55Wpe4DrCh0yH p5dRy6VvlWHBByLE3VJQyBwhhSIhFSSO2owpJL/y9IBSDbOkMU4irQwvAOWT51W53Tyl 68bLM3dDaar2diSaWR9W46VRnj4QzaJ1gTaryGOVnRuKyjUh/RyHd4mp6mxKk72wCQj8 YGp5nNIFGmB4wSfmU8w3YzhXXTs10qJPjjfGV8lH9gO9I7v6J4tTJTS/g/6ngL30pIie 33vw== Original-Received: by 10.220.221.65 with SMTP id ib1mr1098692vcb.41.1342529590403; Tue, 17 Jul 2012 05:53:10 -0700 (PDT) Original-Received: by 10.58.187.197 with HTTP; Tue, 17 Jul 2012 05:52:49 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85903 Archived-At: --14dae9cfccd456236304c5060783 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Jul 17, 2012 at 10:51 AM, Peter Dyballa wrote= : > > Am 17.07.2012 um 01:23 schrieb Dan Maftei: > > > Yeah, I wasn't sure how to interpret that. It is indeed ASCII 0x6e but > what > > to make of 'Composed with the following character(s) "~"'? > > It obviously reports that you tried to compose =C3=B1, which failed. So y= ou > have the combining accent character and the n character side by side. How > did you try to compose? > I'm not convinced mine has failed. For one, the diacritic and root character are not side-by-side. Perhaps I'm wrong, but if they were truly side-by-side, wouldn't I be able to put point on either the accent or the root character? Here's how to make =C3=B1 compositionally: n C-x 8 0303 Could you run describe-char on a compositional character and post the results? I want to see how it differs from my output. (Presuming, of course, that your emacs renders them correctly :-) > > > > > Since combining characters work in non-windowed mode, I tried to look a= t > > describe-char output running emacs -nw -Q but describe-char on combinin= g > > characters causes a fatal error. >.< I sent a bug report. > > In Terminal you are using Terminal's ability to display Unicode > characters. GNU Emacs is just a guest there. It's different when it uses > its own windows. > > The NS variant uses a lot of Emacs software to, for example, render text. > There is a set of patches and some extra source files available at > /ftp:anonymous@ftp.math.s.chiba-u.ac.jp:/ (in TRAMP notation). This set, > emacs-24.1-mac-3.0.tar.gz, plus the released code for GNU Emacs 24.1 > build, when configured --with-mac, together the "AppKit Emacs" which is > much more integrated into Mac OS X, uses much more of Mac OS X than GNU > Emacs. Try it! (You need to compile and install it yourself.) > Thanks for the patches. I've applied them to the 24.1.1 source but make segfaults when compiling profile.c. I don't have the time to fix this unfortunately. I presume you use emacs on OS X? Did you build it using this patch? Do compositional characters work? Further, if you have the time, could you build the regular source --with-ns and see if they work there? Perhaps the issue is with my OS. Cheers, Dan > > -- > Greetings > > Pete > > It isn't pollution that's harming the environment. It's the impurities in > our air and water that are doing it. > > --14dae9cfccd456236304c5060783 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Tue, Jul 17, 2012 at 10:51 AM, Peter = Dyballa <Peter_Dyballa@web.de> wrote:

Am 17.07.2012 um 01:23 schrieb Dan Maftei:

> Yeah, I wasn't sure how to interpret that. It is indeed ASCII 0x6e= but what
> to make of 'Composed with the following character(s) "~"= '?

It obviously reports that you tried to compose =C3=B1, which failed. = So you have the combining accent character and the n character side by side= . How did you try to compose?

I'm n= ot convinced mine has failed. For one, the diacritic and root character are= not side-by-side. Perhaps I'm wrong, but if they were truly side-by-si= de, wouldn't I be able to put point on either the accent or the root ch= aracter?=C2=A0

Here's how to make =C3=B1 compositionally:

n C-x 8 <RET> 0303 <RET>

<= div>Could you run describe-char on a compositional character and post the r= esults? I want to see how it differs from my output. (Presuming, of course,= that your emacs renders them correctly :-)
=C2=A0

>
> Since combining characters work in non-windowed mode, I tried to look = at
> describe-char output running emacs -nw -Q but describe-char on combini= ng
> characters causes a fatal error. >.< I sent a bug report.

In Terminal you are using Terminal's ability to display Unicode c= haracters. GNU Emacs is just a guest there. It's different when it uses= its own windows.

The NS variant uses a lot of Emacs software to, for example, render text. T= here is a set of patches and some extra source files available at /ftp:anon= ymous@ftp.math.s.chiba-u.ac.jp:/ (in TRAMP notation). This set, emacs-24.1-= mac-3.0.tar.gz, plus the released code for GNU Emacs 24.1 =C2=A0build, when= configured --with-mac, together the "AppKit Emacs" which is much= more integrated into Mac OS X, uses much more of Mac OS X than GNU Emacs. = Try it! (You need to compile and install it yourself.)

Thanks for the patches. I've applied t= hem to the 24.1.1 source but make segfaults when compiling profile.c. I don= 't have the time to fix this unfortunately.

I presume you use emacs on OS X? Did you build it using this patch? Do comp= ositional characters work? Further, if you have the time, could you build t= he regular source --with-ns and see if they work there? Perhaps the issue i= s with my OS.

Cheers,
Dan
=C2=A0

--
Greetings

=C2=A0 Pete

It isn't pollution that's harming the environment. It's the imp= urities in our air and water that are doing it.


--14dae9cfccd456236304c5060783--