all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Martin Monsorno <monsorno@gmx.de>
Subject: Re: how to change file coding system
Date: Tue, 23 Aug 2005 11:20:42 +0200	[thread overview]
Message-ID: <deepng$7kt$1@schlund.de> (raw)
In-Reply-To: mailman.4307.1124458248.20277.help-gnu-emacs@gnu.org

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 19.08.2005 um 12:20 schrieb Martin Monsorno:
>
>> Peter Dyballa <Peter_Dyballa@Web.DE> writes:
>>
>>> I have GNU Emacs 21.3.50 from CVS in rare use too.
>>
>> You have 21.3.50 from CVS?  I have a stable 21.4.1 version!  But I
>> tried out 22.0.50 from cvs and: it NEVER does show me an 'ü'.
>> Instead it always displays the code: \374 in the latin-1 file, and
>> \303\274 in the UTF-8 file.
>
> What about a nice fontset?
>

[...]

> It looks ugly here ... 'though it needs to be continued!

This is about the problem with emacs 22, correct?  Could you please
send this again as attachement: the line wraps corrupted the code a
little.  This would be easier to me than fixing it manually.

>> Specifying the coding system in the headerline doesn't change
>> anything: buffer-file-coding-system's value remains raw-text-unix.
>
> Then you're doing something the wrong way ... 

Yes, but what?  The value of buffer-file-coding-system stays the same
(raw-text-unix), whatever method to load a file I choose.

> At least my experience (>10a) tells me so. This code never failed
> for me (and I am no politician):
>
> 	-*- coding: iso-8859-15; -*-
>
>>
>>> And yes, I meant and I wrote C-x RET r. Usually I first view a file's
>>> contents and judge then if I need to change the encoding Emacs uses by
>>> default.
>>
>> C-h k C-x RET r is undefined
>> -->  C-x RET r is undefined
>>
>
> C-h b shows, amongst many others:
>
> C-x RET l		set-language-environment
> C-x RET c		universal-coding-system-argument
> C-x RET C-\	set-input-method
> C-x RET X		set-next-selection-coding-system
> C-x RET x		set-selection-coding-system
> C-x RET p		set-buffer-process-coding-system
> C-x RET k		set-keyboard-coding-system
> C-x RET t		set-terminal-coding-system
> C-x RET F		set-file-name-coding-system
> C-x RET r		revert-buffer-with-coding-system
> C-x RET f		set-buffer-file-coding-system

here it is (emacs 21.4.1):

C-x RET l	set-language-environment
C-x RET c	universal-coding-system-argument
C-x RET C-\	set-input-method
C-x RET X	set-next-selection-coding-system
C-x RET x	set-selection-coding-system
C-x RET p	set-buffer-process-coding-system
C-x RET k	set-keyboard-coding-system
C-x RET t	set-terminal-coding-system
C-x RET f	set-buffer-file-coding-system

(describe-function revert-buffer-with-coding-system)
--> Debugger entered--Lisp error: (void-variable revert-buffer-with-coding-system)


Seems your emacs is better than mine ...

> BTW: to which value is LC_CTYPE set? LC_ALL? LANG?

monsorno@mmdev ~ $ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE=POSIX
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=


Starting emacs with "LANG= emacs" does not change anything.

???

-- 
Martin

  parent reply	other threads:[~2005-08-23  9:20 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-12  8:34 how to change file coding system Martin Monsorno
2005-08-12 11:30 ` Eli Zaretskii
     [not found] ` <mailman.3519.1123846596.20277.help-gnu-emacs@gnu.org>
2005-08-12 12:32   ` Pascal Bourguignon
2005-08-12 15:04     ` Eli Zaretskii
2005-08-12 15:36     ` Peter Dyballa
2005-08-12 13:33   ` Martin Monsorno
2005-08-12 15:06     ` Eli Zaretskii
2005-08-12 15:52     ` Pascal Bourguignon
2005-08-12 16:33       ` Joe Corneli
     [not found]     ` <mailman.3561.1123859480.20277.help-gnu-emacs@gnu.org>
2005-08-16  9:22       ` Martin Monsorno
2005-08-16 11:20         ` Peter Dyballa
2005-08-17  4:07         ` Eli Zaretskii
     [not found]         ` <mailman.3911.1124191758.20277.help-gnu-emacs@gnu.org>
2005-08-17  9:20           ` Martin Monsorno
2005-08-17 12:22             ` Martin Monsorno
2005-08-17 19:09             ` Peter Dyballa
     [not found]             ` <mailman.4075.1124306087.20277.help-gnu-emacs@gnu.org>
2005-08-18  8:40               ` Martin Monsorno
2005-08-18 11:37                 ` Peter Dyballa
     [not found]                 ` <mailman.4171.1124367223.20277.help-gnu-emacs@gnu.org>
2005-08-19 10:20                   ` Martin Monsorno
2005-08-19 13:24                     ` Peter Dyballa
     [not found]                     ` <mailman.4307.1124458248.20277.help-gnu-emacs@gnu.org>
2005-08-23  9:20                       ` Martin Monsorno [this message]
     [not found]         ` <mailman.4004.1124251989.20277.help-gnu-emacs@gnu.org>
2005-08-17  9:26           ` Martin Monsorno
2005-08-17 18:23             ` Eli Zaretskii
     [not found]             ` <mailman.4071.1124303238.20277.help-gnu-emacs@gnu.org>
2005-08-18  8:05               ` Martin Monsorno
2005-08-19  8:14                 ` Eli Zaretskii
2005-08-23 21:23                 ` Jason Rumney
2005-08-25  7:52                   ` Martin Monsorno
2005-08-25 22:18                     ` Peter Dyballa
     [not found]                     ` <mailman.5086.1125044809.20277.help-gnu-emacs@gnu.org>
2005-08-26  9:52                       ` Martin Monsorno
2005-08-26 10:48                         ` Peter Dyballa
2005-08-26 18:12                           ` Kevin Rodgers
2005-08-26 18:56                             ` Peter Dyballa
2005-08-26  9:59                       ` Reiner Steib
2005-08-29  0:51                     ` Jason Rumney
2005-08-31  8:46                       ` Martin Monsorno
2005-08-31  9:18                         ` Martin Monsorno
2005-08-31  9:56                           ` Reiner Steib
2005-09-08 15:21                             ` Martin Monsorno
2005-08-31  9:55                         ` Reiner Steib

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='deepng$7kt$1@schlund.de' \
    --to=monsorno@gmx.de \
    /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.