From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Monsorno Newsgroups: gmane.emacs.help Subject: Re: how to change file coding system Date: Wed, 31 Aug 2005 10:46:55 +0200 Organization: Schlund + Partner AG Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125480516 7404 80.91.229.2 (31 Aug 2005 09:28:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2005 09:28:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 31 11:28:35 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EAOsl-0006AN-8H for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Aug 2005 11:27:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EAOww-0007uW-8h for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Aug 2005 05:32:06 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.schlund.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-NNTP-Posting-Host: p7223e3d4.np.gmx.net Original-X-Trace: schlund.de 1125477939 14357 212.227.35.114 (31 Aug 2005 08:45:39 GMT) Original-X-Complaints-To: usenet@schlund.de Original-NNTP-Posting-Date: Wed, 31 Aug 2005 08:45:39 +0000 (UTC) User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:133575 Original-To: help-gnu-emacs@gnu.org 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:29112 Archived-At: jasonr (Jason Rumney) @ f2s.com writes: > Martin Monsorno writes: > >> it says: >> >> ,---- >> | Multibyte characters awareness: >> | default: nil >> | current-buffer: nil > > There's your problem. Check your environment for a variable > EMACS_UNIBYTE. > Check the way you are starting Emacs, do you have a script or alias > that is actually running "emacs --unibyte" instead? > Lastly, check your .emacs. I don't remember exactly how to switch > Emacs into unibyte mode from there, nor if it is still even possible > for more than just current-buffer, but it probably involves either > the string unibyte, or multibyte in the name of the variable or > function. Well, I didn't find anything that seems to be directly involved with this unibyte mode stuff, /but/ while searching around I found the rather harmless sounding function "standard-display-european", that I inserted im my .emacs some time ago (must be long long ago), because it fixed the display of german umlauts. The function doc says: ,---- | Enabling European character display with this command noninteractively | from Lisp code also selects Latin-1 as the language environment, and | selects unibyte mode for all Emacs buffers (both existing buffers and | those created subsequently). This provides increased compatibility | for users who call this function in `.emacs'. `---- After switchin this off, everything now works absolutely perfect. Umlauts are displayed correctly in latin-1 and utf-8 files and the encoding is displayed in the lower left corner of emacs. Thanks to you all for helping me to clear this issue! PS: I promise I will start emacs with "emacs --no-init-file" when registering strange things like these from now on! I promise I will start emacs with "emacs --no-init-file" when registering strange things like these from now on! I promise I will start emacs with "emacs --no-init-file" when registering strange things like these from now on! ... -- Martin