From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Problems in Displaying endash in Emacs-w3m Date: Sun, 8 Oct 2006 11:34:01 +0200 Message-ID: References: <87sliatl95.fsf@MagnumOpus.khem> <87ac4cjw4e.fsf@MagnumOpus.khem> <8764f0jpc1.fsf@MagnumOpus.khem> <874pug9s2g.fsf@hans.local.net> <3C74DCF3-D9E7-4F1B-8B37-DD3C512D05A8@Web.DE> <87fye07wqn.fsf@hans.local.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1160300127 30782 80.91.229.2 (8 Oct 2006 09:35:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Oct 2006 09:35:27 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Charles philip Chan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 08 11:35:22 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GWV3u-0008Re-JV for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 11:35:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWV3t-0005R7-EH for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Oct 2006 05:35:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GWV2u-0005Kr-Jb for help-gnu-emacs@gnu.org; Sun, 08 Oct 2006 05:34:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GWV2t-0005K8-Aw for help-gnu-emacs@gnu.org; Sun, 08 Oct 2006 05:34:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWV2s-0005Jr-Lg for help-gnu-emacs@gnu.org; Sun, 08 Oct 2006 05:34:06 -0400 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GWVAB-0006RW-1H for help-gnu-emacs@gnu.org; Sun, 08 Oct 2006 05:41:39 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id 7233A263FB78; Sun, 8 Oct 2006 11:34:05 +0200 (CEST) Original-Received: from [84.245.187.24] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.107 #114) id 1GWV2p-0004BJ-00; Sun, 08 Oct 2006 11:34:03 +0200 In-Reply-To: <87fye07wqn.fsf@hans.local.net> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: Dieter Wilhelm X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37893 Archived-At: Am 07.10.2006 um 21:26 schrieb Dieter Wilhelm: > Thank you for the pointer. Maybe this is related to the complaint of > Charles. W3m displays on this site the hyphen (Bindestrich in German, > which AFAIU is inserted with the hyphen (-) on the keyboard) longer > then the dash (Gedankenstrich in German, used also when omitting text) > but it should be the other way around (As e.g. Firefox does > correctly). It's not Firefox: it's the font used. Any programme can only use what =20= it gets served. If the font is badly designed, you won't these =20 subtleties right. (BTW, our German Gedankenstrich is the endash, in =20 the U.S.A. it's the emdash; and while we put spaces around it the =20 Americans save these.) If you can change the font Firefox to be the =20 same as in GNU Emacs it will make the same mistake =E2=80=93 but usually = =20 Firefox will follow the design of the Web page, so would need to make =20= your decision override the designer's one, too. Or simply do the =20 change in GNU Emacs ... just for this! I copied the three dashes off the box I was displaying in Camino, a =20 more Mac OS X/Aqua/Cocoa version than Firebox (both have problems to =20 display text correctly, at least in Mac OS X). With OmniWeb I was =20 able to look into the source of the WikiPedia article: they are using =20= the right characters at the right spots (and what you see on screen =20 or on paper is a glyph: the shape and face of a character from a =20 particular font). So we really might have to wait for a detailed =20 answer from Charles where exactly he encountered the problem. > > Would you please tell us how you input these characters? I only know > of this iso-accents-mode for iso-latin-1 for inserting some non-ascii > characters, but the mode is supposed to be obsolete because of some > input methods I don't have any clue. The different dashes have all their Unicode slots: [c] Uni octal name ------------------------------ [-] 002D 000055 HYPHEN-MINUS [=E2=80=92] 2012 020022 FIGURE DASH [=E2=80=93] 2013 020023 EN DASH [=E2=80=94] 2014 020024 EM DASH [=EF=B9=98] FE58 177130 SMALL EM DASH When you (set read-quoted-char-radix 16), which is usually 8, you can =20= directly input C-q 2 0 1 2 RET. The iso-whatsoever modes are completely inadequate in Unicode =20 display, but you probably know. (The FIGURE DASH is meant to be as wide as a digit and to be used for =20= example in telephone numbers: Hawaii 5=E2=80=94O, so that these can stay = =20 printed in long uniform columns.) I've found that I can install w3m with Fink on my Mac. This has =20 happened by now, and now I'll have to learn a bit about browsing the =20 Internet inside GNU Emacs! Crazy. -- Greetings Pete If you're not confused, you're not paying attention.