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: gnu/emacs 2.4 in and out of X Date: Wed, 30 Aug 2006 11:22:53 +0200 Message-ID: References: <1156813964.346874.293340@74g2000cwt.googlegroups.com> <1156914710.967714.114610@b28g2000cwb.googlegroups.com> 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 1156929826 19297 80.91.229.2 (30 Aug 2006 09:23:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2006 09:23:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 30 11:23:45 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 1GIMI6-0004o2-8q for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Aug 2006 11:23:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIMI5-0001VI-Jz for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Aug 2006 05:23:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GIMHk-0001QB-0n for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 05:23:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GIMHj-0001Oj-AW for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 05:22:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIMHi-0001OM-MY for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 05:22:59 -0400 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GIMR5-0005Q8-82 for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 05:32:39 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 42B101946130; Wed, 30 Aug 2006 11:22:57 +0200 (CEST) Original-Received: from [87.193.41.130] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1GIMHg-0007O3-00; Wed, 30 Aug 2006 11:22:57 +0200 In-Reply-To: <1156914710.967714.114610@b28g2000cwb.googlegroups.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: dsoliver@earthlink.net 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:37056 Archived-At: Am 30.08.2006 um 07:11 schrieb dsoliver@earthlink.net: > I tried all of these things and it still doesn't work. I don't believe this! If your copy of GNU Emacs works right it should =20= change the left-most part of the mode-line. Since I work in an UTF-8 =20 based environment I see instead of -uuu: now -uu3: as indicator that =20 ISO 8859-3 is used. If you do not see that change you either should =20 change your operating system and get one that does not distribute =20 crippled Emacsen or compile GNU Emacs yourself from sources. > Once again the problem is that I can work fine in Esperanto while =20 > in console mode not in X. Yesterday you wrote you were using an Emacs from a no-X package. I =20 wonder how you make this an X client! Or is the package's description =20= or is your description incorrect? Please check exactly which binary =20 named 'emacs' or such you are using in which case and how you make a =20 difference between these cases and tell us which libraries these =20 binaries are using! (This can also be done by selecting "Send Bug =20 Report" from the Help menu or type M-x report-emacs-bug RET.) > I now can do the same in X. I added the iso-8859-3 font to =20 > my .Xresources file. However, my main problem still remains. Which resources are these? I don't think that these can help, except you give Emacs a fontset =20 with a working declaration of a font for ISO 8859-3 that exists on =20 your system and is found by X11. But this would only enable Emacs to =20 *display* (or represent) the (right) characters with the right glyphs. One problem still can be that you saved the Esperanto files in UTF-8. =20= So open them (in UTF-8) and then save them in ISO 8859-3. The menu =20 Options -> Mule -> Set Coding Systems allows you to load and to save =20 in whatever encoding you choose (well, not always, often GNU Emacs =20 would explain that this or that character cannot be saved in this or =20 that encoding; and in this case you should be careful enough to check =20= whether and why Emacs tells the truth). There are recode or iconv to convert a copy of your file also ... =46rom what you see on screen you cannot judge what the contents of =20 the underlying file is. One character on screen can be saved in an =20 UTF-8 encoded file contents with up to three bytes (octets) (though =20 in ISO 8859-3 they are one or two octets). Therefore you need to make =20= sure that what you claim is really correct. > When I leave X and return to the console, What does that mean? How can you leave X? Without X11 you have =20 (almost) nothing to work with. > emacs no longer can read any of my files with iso-8858-3 characters. That is not true. Or you made your file write-only. For example owned =20= by root and you have no permissions to to open it for reading. I can =20 read in GNU Emacs every file I am allowed to open for reading =E2=80=93 =20= although the contents sometimes looks really strange! Please correct what you mean with 'cannot read!' > The mode line looks the same as before I started X, but emacs no =20 > longer understands those modes. This is *that* unusual that I presume you are using two different =20 binaries ... of which one *might* be GNU Emacs. > I go through the actions of setting up things again. It doesn't > work. I then start X again and things work again. I stop X, things > don't work. What is this nonsense of starting and stopping X11?! If you want to =20 work with GNU Emacs outside of X11, i.e. not as an X client, you open =20= some terminal emulation and launch Emacs with -nw. And of course you =20 can have more than one GNU Emacs X client and more than one GNU Emacs =20= without own windows running inside terminal emulations and all the =20 show the same file, best in read-only, at the same time. > I've looked at various logs, but I can't find what is going on. So make sure the basics are right: what is your file's actual =20 encoding, what so-called Emacsen are you using, what is the mode-line =20= of the Esperanto buffer starting with, what happens with this =20 starting sequence when you save in ISO 8859-3 encoding? In my experience it helps to physically go away from a problem. An =20 hour, on a day. Or more. The relief and the brain's better supply =20 with more oxygen carrying blood while moving without aid of a car or =20 an escalator helps to see the problem from a different view. And in =20 this relaxed situation ideas can come up, that bring insights and =20 solutions. I can send you a really ISO 8859-3 encoded file. It starts like this: ;;; -*- mode: Text; coding: iso-8859-3; -*- ; ; Time-stamp: <2005-07-15 14:20:24 pete> ; ; Southern European, Maltese and Esperanto Glyphs (Latin 3) ; ; oct dec hex UCS2 UTF-8 ;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D 240 =3D 160 =3D A0 =3D U+00A0 =3D C2 A0 : NO-BREAK = SPACE =C4=A6 =3D 241 =3D 161 =3D A1 =3D U+0126 =3D C4 A6 : LATIN = CAPITAL LETTER H WITH =20 STROKE =CB=98 =3D 242 =3D 162 =3D A2 =3D U+02D8 =3D CB 98 : BREVE =C2=A3 =3D 243 =3D 163 =3D A3 =3D U+00A3 =3D C2 A3 : POUND = SIGN -- Greetings Pete Without vi there is only GNU Emacs