Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 14:28:04 +0200
From:      Giorgos Keramidas <charon@labs.gr>
To:        Brian Sobolak <sobolak@mindspring.com>
Cc:        questions@FreeBSD.ORG
Subject:   emacs and greek support (was: home pc use)
Message-ID:  <20011123122804.GC10577@hades.hell.gr>

next in thread | raw e-mail | index | archive | help
On 2001-11-23 03:15:51, Brian Sobolak wrote:
> Thursday, November 22, 2001, 11:57:52 AM, you wrote:
>
> [ talking about Emacs ]
>
> GK> Sure.  It's so customizable, that new users will tend to drown in an
> GK> ocean of customizable knobs, in fact. I customarily use emacs to edit
> GK> plain text files or C, Perl, HTML, SGML, and a ton of other languages.
> 
> Just out of curiousity, how does it handle Greek?  Do you use the same
> environment to edit files in English as Greek (e.g. the same binary)?

Sure.  I use a greek console font on my console, and then fire up
emacs with:

    $ emacs -nw --unibyte

By having the following in my .emacs file, I don't even need Mule
support to edit Greek text:

    (standard-display-8bit 128 256)
    (set-input-mode (car (current-input-mode))
		    (nth 1 (current-input-mode))
		    0)

This is not the `official' way of using languages and encodings in
Emacs, since in X11 that usually involves Mule and the C-\ commands,
but this works nicely on the console and I mostly use FreeBSD on the
console :)

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011123122804.GC10577>