From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: gnu/emacs 2.4 in and out of X
Date: Wed, 30 Aug 2006 11:22:53 +0200 [thread overview]
Message-ID: <AACAD6F6-E3BE-4CB0-A37F-C9366456ED47@Web.DE> (raw)
In-Reply-To: <1156914710.967714.114610@b28g2000cwb.googlegroups.com>
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
change the left-most part of the mode-line. Since I work in an UTF-8
based environment I see instead of -uuu: now -uu3: as indicator that
ISO 8859-3 is used. If you do not see that change you either should
change your operating system and get one that does not distribute
crippled Emacsen or compile GNU Emacs yourself from sources.
> Once again the problem is that I can work fine in Esperanto while
> in console mode not in X.
Yesterday you wrote you were using an Emacs from a no-X package. I
wonder how you make this an X client! Or is the package's description
or is your description incorrect? Please check exactly which binary
named 'emacs' or such you are using in which case and how you make a
difference between these cases and tell us which libraries these
binaries are using! (This can also be done by selecting "Send Bug
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
> 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
with a working declaration of a font for ISO 8859-3 that exists on
your system and is found by X11. But this would only enable Emacs to
*display* (or represent) the (right) characters with the right glyphs.
One problem still can be that you saved the Esperanto files in UTF-8.
So open them (in UTF-8) and then save them in ISO 8859-3. The menu
Options -> Mule -> Set Coding Systems allows you to load and to save
in whatever encoding you choose (well, not always, often GNU Emacs
would explain that this or that character cannot be saved in this or
that encoding; and in this case you should be careful enough to check
whether and why Emacs tells the truth).
There are recode or iconv to convert a copy of your file also ...
From what you see on screen you cannot judge what the contents of
the underlying file is. One character on screen can be saved in an
UTF-8 encoded file contents with up to three bytes (octets) (though
in ISO 8859-3 they are one or two octets). Therefore you need to make
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
(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
by root and you have no permissions to to open it for reading. I can
read in GNU Emacs every file I am allowed to open for reading –
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
> longer understands those modes.
This is *that* unusual that I presume you are using two different
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
work with GNU Emacs outside of X11, i.e. not as an X client, you open
some terminal emulation and launch Emacs with -nw. And of course you
can have more than one GNU Emacs X client and more than one GNU Emacs
without own windows running inside terminal emulations and all the
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
encoding, what so-called Emacsen are you using, what is the mode-line
of the Esperanto buffer starting with, what happens with this
starting sequence when you save in ISO 8859-3 encoding?
In my experience it helps to physically go away from a problem. An
hour, on a day. Or more. The relief and the brain's better supply
with more oxygen carrying blood while moving without aid of a car or
an escalator helps to see the problem from a different view. And in
this relaxed situation ideas can come up, that bring insights and
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
;=====================================
= 240 = 160 = A0 = U+00A0 = C2 A0 : NO-BREAK SPACE
Ħ = 241 = 161 = A1 = U+0126 = C4 A6 : LATIN CAPITAL LETTER H WITH
STROKE
˘ = 242 = 162 = A2 = U+02D8 = CB 98 : BREVE
£ = 243 = 163 = A3 = U+00A3 = C2 A3 : POUND SIGN
--
Greetings
Pete
Without vi there is only GNU Emacs
prev parent reply other threads:[~2006-08-30 9:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-29 1:12 gnu/emacs 2.4 in and out of X dsoliver
2006-08-29 9:03 ` Peter Dyballa
[not found] ` <mailman.5888.1156842280.9609.help-gnu-emacs@gnu.org>
2006-08-30 5:11 ` dsoliver
2006-08-30 9:22 ` Peter Dyballa [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AACAD6F6-E3BE-4CB0-A37F-C9366456ED47@Web.DE \
--to=peter_dyballa@web.de \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.