From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Newsgroups: gmane.emacs.help Subject: Re: Ediff problem with accents Date: Fri, 22 Sep 2006 12:14:50 +0200 Organization: Sebastien Vauban Message-ID: <87fyekb42t.fsf@mundaneum.mygooglest.com> References: <87lkoosu5e.fsf@mundaneum.mygooglest.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1158921649 10966 80.91.229.2 (22 Sep 2006 10:40:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Sep 2006 10:40:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 22 12:40:41 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GQiSE-0002eT-UU for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Sep 2006 12:40:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQiSE-00022J-DM for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Sep 2006 06:40:22 -0400 Original-Newsgroups: gnu.emacs.help X-Www-site: Under construction... User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:lgs1IIFNB5/ziaaaaiGofvUR4Vs= Original-Lines: 115 Original-NNTP-Posting-Date: 22 Sep 2006 10:14:50 GMT Original-NNTP-Posting-Host: 81.188.7.152 Original-X-Trace: 1158920090 reader0.news.be.easynet.net 1287 [::ffff:81.188.7.152]:17091 Original-X-Complaints-To: abuse@be.easynet.net Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feeder.news-service.com!213.193.255.2.MISMATCH!138.195.8.3.MISMATCH!news.ecp.fr!feed.ac-versailles.fr!nerim.net!feed1.news.be.easynet.net!reader0.news.be.easynet.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:141941 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:37562 Archived-At: Hello Peter, Sorry for the long delay... but it was impossible for me to make the wished tests until now. FYI, I've sanitized my .emacs section about the coding systems (you'll see an extract beneath), and I've made a lot of comparisons. I still have the problem, but here follows a deeper insight on what I'm experiencing: o if (prefer-coding-system 'iso-latin-9), then I see the following when ediff'ing: ---------------------------------------- | ^M | | | pr\351sente ^M | présente | | ^M | | | | | |------------------|-------------------| |-0:%% |-0\-- | (modeline) ---------------------------------------- iso-latin-9? iso-latin-9-dos o if (prefer-coding-system 'utf-8), then I see the following when ediff'ing: ---------------------------------------- | ^M | | | pr\351sente ^M | présente | | ^M | | | | | |------------------|-------------------| |-u:%% |-1\-- | ---------------------------------------- utf-8? iso-latin-1-dos o if I don't set any preferred coding system (commented line), then I see the following when ediff'ing: ---------------------------------------- | ^M | | | pr\351sente ^M | présente | | ^M | | | | | |------------------|-------------------| |-1\%% |-1\-- | ---------------------------------------- iso-latin-1-dos? iso-latin-1-dos To indicate the coding system under the window, I used M-x describe-coding-system RET RET but, for the base version, it states "not set locally, use the default"; that's why I wrote the default coding system for new files and put a interrogation mark after (because I'm not sure this is the correct way to do). So, you can see that, whatever I do, I can't compare my buffers in a normal way... I'm completely lost... THANK YOU very much for any help you could bring me, Seb PS- As promised, an extract of my .emacs config file: ,----[ my Emacs Init File ] | | (message "26 International Character Set Support...") | | ;; default input method for multilingual text | (setq default-input-method "latin-9-prefix") | | ;; if you want to use UTF-8 on Emacs 21.3, install Mule-UCS | (GNUEmacs | (try-require 'un-define)) | | (add-to-list 'file-coding-system-alist | '("\\.owl\\'" utf-8 . utf-8)) | ;; In GNU Emacs, when you specify the coding explicitly in the file, that | ;; overrides `file-coding-system-alist'. Not in XEmacs? | | ;; ;; default coding system (for new files) | (GNUEmacs | (prefer-coding-system 'utf-8)) | | (GNUEmacs | ;; to copy and paste outside Emacs | (set-clipboard-coding-system 'iso-latin-9)) ;; aka iso-8859-15 | | ;; unify the Latin-N charsets, so that Emacs knows that the é in Latin-9 | ;; (with the euro) is the same as the é in Latin-1 (without the euro) | ;; [avoid the small accentuated characters] | (when (try-require 'ucs-tables) | (unify-8859-on-encoding-mode 1) ;; harmless | (unify-8859-on-decoding-mode 1)) ;; may unexpectedly change files if they | ;; contain different Latin-N charsets | ;; which should not be unified | | (when window-system | ;; functions for dealing with char tables | (require 'disp-table)) | | (XEmacs | (require 'iso-syntax)) | | (message "26 International Character Set Support... Done") `---- -- Sébastien Vauban