From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.help Subject: Re: [newbie] emacs flyspell not understands well accented chars Date: Fri, 06 Jun 2003 13:09:06 +0200 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87n0gvcvjh.fsf@ID-87814.user.dfncis.de> References: <84znl0ubx6.fsf@lucy.is.informatik.uni-duisburg.de> <87d6hwzah4.fsf@ID-87814.user.dfncis.de> <2y1Da.34210$pR3.724186@news1.tin.it> <87llwgi2sm.fsf@ID-87814.user.dfncis.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1054899119 29883 80.91.224.249 (6 Jun 2003 11:31:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2003 11:31:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 06 13:31:58 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19OFRt-0007li-00 for ; Fri, 06 Jun 2003 13:31:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19OFQZ-0007jT-UG for gnu-help-gnu-emacs@m.gmane.org; Fri, 06 Jun 2003 07:30:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!dialin-145-254-193-151.arcor-ip.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 77 Original-NNTP-Posting-Host: dialin-145-254-193-151.arcor-ip.net (145.254.193.151) Original-X-Trace: fu-berlin.de 1054898776 12879460 145.254.193.151 (16 [87814]) X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:uKSQ9mxvylSVUmFohRvn3rOUFQg= Original-Xref: shelby.stanford.edu gnu.emacs.help:114211 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10705 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10705 --=-=-= Mario Giammarco writes: > On Fri, 06 Jun 2003 00:21:13 +0200, Oliver Scholz wrote: > >> >> Do you per chance have a unibyte buffer? This could be the case if you >> have `(standard-display-european t)' somewhere in your configs. Please >> put the cursor on an such an accented character and hit `C-u C-x ='. >> > > This is reply, if you need more info tell me! > > character: (04340, 2272, 0x8e0) > charset: latin-iso8859-1 (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100) ^^^^^^^^^^^^^^^ Didn't you mention that you have a Latin-9 locale? I am really puzzled, and I have no idea what is going on on your system. All I can say is that if I put this attached Elisp code into a file "fl-test.el" on my Debian GNU/Linux and start Emacs from the same directory with emacs -q --no-site-file -l "fl-test.el" Then everything works as expected. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=fl-test.el Content-Transfer-Encoding: 8bit ;;; fl-test.el (add-to-list 'ispell-local-dictionary-alist '("italianx" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-C" "-d" "italian") "~latin1" iso-8859-15)) (setq ispell-dictionary "italianx") (set-language-environment "Latin-9") (progn (switch-to-buffer (generate-new-buffer "*test*")) (text-mode) (insert "perché aasdfcws Buon giorno adfá") (flyspell-mode 1) (flyspell-buffer)) ;; Local Variables: ;; coding: latin-9 ;; End: ;;; fl-test.el ends here --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Oliver -- 18 Prairial an 211 de la Révolution Liberté, Egalité, Fraternité! --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs --=-=-=--