From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rahed@cwazy.co.uk Newsgroups: gmane.emacs.help Subject: Re: searching for non ascii characters Date: Wed, 03 Aug 2005 16:52:02 +0200 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 1123081486 30533 80.91.229.2 (3 Aug 2005 15:04:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Aug 2005 15:04:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 03 17:04:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E0KlI-0001ay-96 for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Aug 2005 17:02:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E0Ko2-0006Rf-OE for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Aug 2005 11:05:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 80.188.171.52 Original-X-Trace: quimby.gnus.org 1123077123 18260 80.188.171.52 (3 Aug 2005 13:52:03 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 3 Aug 2005 13:52:03 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:yXORZzni842YAIk7glwVI4/oAm4= Original-Xref: shelby.stanford.edu gnu.emacs.help:132875 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:28392 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28392 Peter Dyballa writes: > Both use the right charset and encoding. If you close and open again > that file and it has that '-*- coding: iso-8859-2; -*-' in its header, > among the first six or nine lines, Emacs should switch to that coding > -- except you have at the file's end a block of local or file > variables that say something different. Or it has a fixation to a > specific coding-system. Did you launch your Emacs after changing > .emacs? Can you check the variable's state (C-h v on this variable in > .emacs in newly launched Emacs)? If it's something different than set > then you either have this statement not executed or it exists more > than once and gets reset some time after this line ... What does your > file's tail look like? >>From C-h v, my prefer-coding-system's value is iso-latin-2. My test file now has only two lines, the relevant header and non ascii chars. > > The last thing I think of is the use of fontsets instead of > fonts. What is your status? I'm not sure what status, but M-x list-fontsets renders Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default Fontset: -*-courier new-normal-r-*-*-13-*-*-*-c-*-fontset-standard > Your file has at LATIN SMALL LETTER S WITH CARON's position the > correct byte, 0xB9. So it is presumingly still correctly encoded. To > see it in ISO/IEC 8859-2 you can revert-buffer-with-coding-system, C-x > RET r CODING-SYSTEM. Use M-x list-coding-systems to see what your > system has. I think there is no revert-buffer-with-coding-system function with my emacs (M-x apropos). I can only revert-buffer (no coding system change). I use 21.3 on WXP. Radek