unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org, Charles philip Chan <cpchan@sympatico.ca>
Subject: Re: Problems in Displaying endash in Emacs-w3m
Date: Sun, 8 Oct 2006 11:34:01 +0200	[thread overview]
Message-ID: <CAA7078A-59AD-4AF4-8B40-45436B81C381@Web.DE> (raw)
In-Reply-To: <87fye07wqn.fsf@hans.local.net>


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  
it gets served. If the font is badly designed, you won't these  
subtleties right. (BTW, our German Gedankenstrich is the endash, in  
the U.S.A. it's the emdash; and while we put spaces around it the  
Americans save these.) If you can change the font Firefox to be the  
same as in GNU Emacs it will make the same mistake – but usually  
Firefox will follow the design of the Web page, so would need to make  
your decision override the designer's one, too. Or simply do the  
change in GNU Emacs ... just for this!

I copied the three dashes off the box I was displaying in Camino, a  
more Mac OS X/Aqua/Cocoa version than Firebox (both have problems to  
display text correctly, at least in Mac OS X). With OmniWeb I was  
able to look into the source of the WikiPedia article: they are using  
the right characters at the right spots (and what you see on screen  
or on paper is a glyph: the shape and face of a character from a  
particular font). So we really might have to wait for a detailed  
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
[‒]  2012  020022 FIGURE DASH
[–]  2013  020023 EN DASH
[—]  2014  020024 EM DASH
[﹘]  FE58  177130 SMALL EM DASH

When you (set read-quoted-char-radix 16), which is usually 8, you can  
directly input C-q 2 0 1 2 RET.

The iso-whatsoever modes are completely inadequate in Unicode  
display, but you probably know.

(The FIGURE DASH is meant to be as wide as a digit and to be used for  
example in telephone numbers: Hawaii 5—O, so that these can stay  
printed in long uniform columns.)


I've found that I can install w3m with Fink on my Mac. This has  
happened by now, and now I'll have to learn a bit about browsing the  
Internet inside GNU Emacs! Crazy.


--
Greetings

   Pete

If you're not confused, you're not paying attention.

  reply	other threads:[~2006-10-08  9:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-29 21:29 Problems in Displaying endash in Emacs-w3m Charles philip Chan
2006-10-03 15:00 ` Kevin Rodgers
     [not found] ` <mailman.7697.1159887811.9609.help-gnu-emacs@gnu.org>
2006-10-03 18:12   ` Charles philip Chan
2006-10-04 10:34     ` Peter Dyballa
     [not found]     ` <mailman.7724.1159958067.9609.help-gnu-emacs@gnu.org>
2006-10-04 11:24       ` Charles philip Chan
2006-10-04 11:48         ` Peter Dyballa
2006-10-07 13:24         ` Dieter Wilhelm
2006-10-07 17:44           ` Peter Dyballa
2006-10-07 19:26             ` Dieter Wilhelm
2006-10-08  9:34               ` Peter Dyballa [this message]
2006-10-08 13:21                 ` Reiner Steib
     [not found]         ` <mailman.7859.1160227519.9609.help-gnu-emacs@gnu.org>
2006-10-08 16:54           ` Charles philip Chan
2006-10-08 21:06             ` Peter Dyballa
     [not found]             ` <mailman.7906.1160341664.9609.help-gnu-emacs@gnu.org>
2006-10-09  1:19               ` Charles philip Chan
2006-10-09  9:30                 ` Peter Dyballa
2006-10-09 10:47                 ` Jim Ottaway

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=CAA7078A-59AD-4AF4-8B40-45436B81C381@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=cpchan@sympatico.ca \
    --cc=help-gnu-emacs@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.
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).