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: Mon, 9 Oct 2006 11:30:11 +0200 Message-ID: <49BD389F-4C58-4C42-9E77-4DE7E40141D4@Web.DE> References: <87sliatl95.fsf@MagnumOpus.khem> <87ac4cjw4e.fsf@MagnumOpus.khem> <8764f0jpc1.fsf@MagnumOpus.khem> <87r6xirbmw.fsf@MagnumOpus.khem> <87iriuqo9p.fsf@MagnumOpus.khem> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1160386326 23877 80.91.229.2 (9 Oct 2006 09:32:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Oct 2006 09:32:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 09 11:31:58 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 1GWrTp-0004aG-Fm for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Oct 2006 11:31:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWrTo-0004gf-47 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Oct 2006 05:31:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GWrSo-0004GC-US for help-gnu-emacs@gnu.org; Mon, 09 Oct 2006 05:30:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GWrSi-000493-SU for help-gnu-emacs@gnu.org; Mon, 09 Oct 2006 05:30:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GWrSh-00048g-EM for help-gnu-emacs@gnu.org; Mon, 09 Oct 2006 05:30:15 -0400 Original-Received: from [217.72.192.221] (helo=fmmailgate01.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GWraD-0005AH-Hr for help-gnu-emacs@gnu.org; Mon, 09 Oct 2006 05:38:01 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id A0B3526E14A7; Mon, 9 Oct 2006 11:30:13 +0200 (CEST) Original-Received: from [87.193.11.74] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.107 #114) id 1GWrSe-00072l-00; Mon, 09 Oct 2006 11:30:13 +0200 In-Reply-To: <87iriuqo9p.fsf@MagnumOpus.khem> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "Charles philip Chan" 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:37912 Archived-At: Am 09.10.2006 um 03:19 schrieb Charles philip Chan: > On 8 Oct 2006, Peter_Dyballa@web.de wrote: > >> The decimal, octal, and hexadecimal values are always strange in GNU >> Emacs 21 and 22. Can you check what coding system is displayed for >> you in mode-line? I have "-u:" which stands for UTF-8. Do you have >> set in your .emacs file some non-UTF-8 *-coding-system? > > Yes, all my buffers are in utf-8 (I do have the "-u" in my =20 > modline). The > strange thing is that the n-dashes are displayed correctly in ordinary > Emacs buffers, I only have problems in Emacs-w3m. Are the n-dashes > showing for you at http://www.emacswiki.org, for example? > Well, I cannot say that I *see* them, but at least I can i-search for =20= these characters! In this block I can find them right after the first =20= word embedded in SPACE (but not in "Emacs-Wiki": =95 SiteMap =96 This page =96 the main Emacs-Wiki entry point. =95 HowTo =96 How to use the Emacs Wiki =96 especially, how to = contribute. =95 Search =96 Search the wiki in different ways. =95 ElispArea =96 Upload and download EmacsLisp source code for =20 extending and customizing Emacs. =95 RecentChanges =96 Recent changes to the wiki. =95 News =96 Chronological Web log (blog) about the wiki. =95 Problems =96 Problems people are having with the wiki. =95 Suggestions =96 Your suggestions for improvement of the wiki. (The endashes are saved here in Mail window!) W3m is an awkward mode! =20= It destroys all my Meta key bindings. And when I then copy text via =20 the Edit menu it makes Carbon Emacs beep. (In the X clients Emacsen =20 it behaves better!) Charles, try to get the file utf8.txt (part of Kermit distribution) =20 from, for example, http://ftp.funet.fi/pub/kermit/charsets (or =20 directly http://ftp.funet.fi/pub/kermit/charsets/utf8.txt). It's a =20 description of the first 64 K characters in Unicode, i.e. its BMP, =20 the Basic Multilingual Plane. You can search for 2013 and then =20 position the cursor on [=96] in the first column and then with C-s C-w =20= RET make isearch remember to search for =96 next time you type C-s C-s. Again: you don't lose anything when you launch a second GNU Emacs =20 with -Q, but you gain one that is working, that is not confused by =20 any personal or site specific settings. When this one works fine, as =20 it should, then it's likely that some customisation is causing the =20 behaviour you complain. To find out which line is the culprit you'll =20 have to try the method of binary search in .emacs: first comment =20 first half, save, and launch a new Emacs. If the behaviour is still =20 faulty kill this Emacs, uncomment the first half, and comment the =20 second half instead, and save. Launch new Emacs. If it runs fine it =20 means that the culprit is in the commented second half. So uncomment =20 first half of the second half (i.e. third quarter of .emacs), save, =20 and launch another Emacs. Continue until you've found the line. If =20 some instructions are inside of blocks, as I have, it can become =20 complicated ... Do you set-language-environment in .emacs? Try to avoid it! It's =20 meant for 7 for 8 bit folks. It's better to have LANG or LC_CTYPE set =20= in shell environment. -- Greetings Pete The day Microsoft makes something that doesn't suck is the day they start selling vacuum cleaners. Ernest Jan Plugge