all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ehud Karni" <ehud@unix.mvs.co.il>
Cc: help-gnu-emacs@gnu.org
Subject: Re: entring 8 bit characters
Date: Sun, 19 Jan 2003 22:48:24 +0200	[thread overview]
Message-ID: <200301192048.h0JKmOlR016104@beta.mvs.co.il> (raw)
In-Reply-To: <newscache$r89z8h$1on$1@lnews.actcom.co.il> (message from Hary on Sun, 19 Jan 2003 22:13:33 +0200)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 19 Jan 2003 22:13:33 +0200, Hary <hari_i@yahoo.com> wrote:
>
> Eli Zaretskii <eliz@is.elta.co.il> wrote in message
> >
> > That should have been "C-x RET k hebrew-iso-8bit RET".
>
> Thank you, it worked.
> Now, how do I save it so it will be the default?

This code (in .emacs) does it for me (Yes, I realy use Hebrew):

    ;; First - drop the default file-coding-system(s)
    (let ((defcs (assoc "" file-coding-system-alist)))
        (while defcs
            (setq file-coding-system-alist (delq defcs file-coding-system-alist))
            (setq defcs (assoc "" file-coding-system-alist))))

    ;; Second - set desired default
    (add-to-list 'file-coding-system-alist '("" hebrew-iso-8bit) t)
    (set-language-environment 'Hebrew)  ;; Hebrew (UNIX eol style)
    (set-language-environment-coding-systems 'Hebrew 'unix)

Ehud.


- --
 @@@@@@ @@@ @@@@@@ @    @   Ehud Karni                       ינרק דוהא
     @    @      @  @@  @   Senior System Support   בשחמ תוכרעמב הכימת
     @    @ @    @ @  @@    Mivtach - Simon               ןומיס - חטבמ
     @    @ @    @ @    @   Insurance agencies          חוטבל תויונכוס
  Better Safe Than Sorry    Tel: +972-3-7966-561  Fax: +972-3-7966-667
   http://www.mvs.co.il             mailto:ehud@unix.mvs.co.il
-----BEGIN PGP SIGNATURE-----
Comment: use http://www.keyserver.net/ to get my key (and others)

iD8DBQE+Kw8XLFvTvpjqOY0RAtsUAKCENPs12zILsUaPjFiHnjRU1ZpbVgCfeucV
7gLQhsXi+gKRIWfciOgxt08=
=lvek
-----END PGP SIGNATURE-----

  reply	other threads:[~2003-01-19 20:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-18 19:41 entring 8 bit characters Hary
2003-01-18 19:12 ` Eli Zaretskii
2003-01-18 19:17   ` Eli Zaretskii
     [not found]   ` <mailman.534.1042921281.21513.help-gnu-emacs@gnu.org>
2003-01-19 20:13     ` Hary
2003-01-19 20:48       ` Ehud Karni [this message]
2003-01-20  5:56       ` Eli Zaretskii
     [not found] <mailman.557.1043009548.21513.help-gnu-emacs@gnu.org>
2003-01-20  6:39 ` Kai Großjohann

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=200301192048.h0JKmOlR016104@beta.mvs.co.il \
    --to=ehud@unix.mvs.co.il \
    --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.