From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martin Ivanov Newsgroups: gmane.emacs.help Subject: emacs cyrillic Date: Tue, 7 Nov 2006 15:03:31 +0200 (GMT+02:00) Message-ID: <263262129.142041162904611093.JavaMail.nobody@mail03.abv.bg> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1162938580 20664 80.91.229.2 (7 Nov 2006 22:29:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2006 22:29:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 07 23:29:38 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 1GhZRd-0002bU-5S for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Nov 2006 23:29:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhZRc-0003IX-La for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Nov 2006 17:29:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhQc5-0001do-Gg for help-gnu-emacs@gnu.org; Tue, 07 Nov 2006 08:03:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhQc1-0001Yh-Qa for help-gnu-emacs@gnu.org; Tue, 07 Nov 2006 08:03:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhQc0-0001Y6-TO for help-gnu-emacs@gnu.org; Tue, 07 Nov 2006 08:03:33 -0500 Original-Received: from [194.153.145.99] (helo=smtp-out.abv.bg) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GhQc0-00068W-2s for help-gnu-emacs@gnu.org; Tue, 07 Nov 2006 08:03:32 -0500 Original-Received: from mail03.abv.bg (mail03.ni.bg [192.168.151.29]) by smtp-out.abv.bg (Postfix) with ESMTP id 32F9DEB1BB for ; Tue, 7 Nov 2006 15:03:31 +0200 (EET) Original-Received: from mail03.abv.bg (localhost.localdomain [127.0.0.1]) by mail03.abv.bg (Postfix) with ESMTP id 178E812A432 for ; Tue, 7 Nov 2006 15:03:31 +0200 (EET) Original-To: help-gnu-emacs@gnu.org X-Mailer: AbvMail 1.0 X-Originating-IP: 62.204.149.45 X-Mailman-Approved-At: Tue, 07 Nov 2006 17:28:45 -0500 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:38572 Archived-At: Hello again! I changed LANG fron en.us to bg_BG. Then I started emacs with the option = -q and opened a file previously saved with cyrillic text. It was not disp= layed correctly. Then I started emacs without the option -q and the file = was diplayed as it should have been. Obvoiusly the bulgarian.el file is n= ecessary, I do not know why. This is the complete list of choices I have = when I choose to change the ispell dictionary: american brasileiro british castellano castellano8 czech dansk default deutsch deutsch8 english esperanto esperanto-tex francais francais-tex francais7 german german8 italiano nederlands nederlands8 norsk norsk7-tex polish portugues russian slovak svenska What can be done so that bulgarian appears in that menu?=20 If I choose something different from american or english, emacs complains= it cannot find the respective .hash file in /usr/lib/ispell. And it is o= k, since the contents of /usr/lib ispell is : american.hash@ bg.multi bulgarian.aff bulgarian.kbd english.= hash@ americanmed.hash bg.rws bulgarian.alias cp1251.dat bg.dat bg_phonet.dat bulgarian.hash english.aff I am sorry if I bore you, but I wish to be as clear as possible with the = risk of repeating things. Besides, there is another point. If I run ispell american in flyspell mod= e on a file that contains both cyrillic and latin words, only the latin w= ords are underlined. the cyrillic word are not considered mistake, which = is strange to me. I am so thankful to you for your responsiveness. Regards, Martin >-------- =CE=F0=E8=E3=E8=ED=E0=EB=ED=EE =EF=E8=F1=EC=EE -------- >=CE=F2: Peter Dyballa >=CE=F2=ED=EE=F1=ED=EE: Re: emacs cyrillic >=C4=EE: Martin Ivanov >=C8=E7=EF=F0=E0=F2=E5=ED=EE =ED=E0: =C2=F2=EE=F0=ED=E8=EA, 2006, =CD=EE= =E5=EC=E2=F0=E8 7 12:49:05 GMT+02:00 >---------------------------------- > > >Am 07.11.2006 um 10:46 schrieb Martin Ivanov: > >> without the bulgarian.el file, I canot set the language environment =20 >> to "Bulgarian standard, I cannot at all write cyrillic. A have the =20 >> LANG variable on my system. Concerning bulgarian it says: >> bg_BG >> bg_BG.utf8 > >Usually 'locale -a | grep -i bg' should display all choices you have =20 >for Bulgarian. Once in the shell environment LANG or LC_CTYPE are =20 >set, GNU Emacs reads them and sets itself to handle this world. There =20 >is not much Elisp code needed, it's all already written. > >Bulgarian.el is similar in that purpose, but restricted to one =20 >particular environment. Since I have no Bulgarian environment here =20 >and no Slackware, not even a PC, I think I cannot be of more help in =20 >this particular issue. > >> "ispell -vv" as attachment. > >LIBDIR =3D "/usr/lib/ispell" > >is the important line. So your system seems to be ready. If it =20 >continues to fail, then some Elisp code must be wrong. You can launch =20 >GNU Emacs with the options -q or -Q, which do not load personal or =20 >all initialisation files. You should try to launch GNU Emacs with =20 >either of these options and see whether you can setup for using =20 >ispell and the Bulgarian dictionary. If this has success, you can try =20 >to determine which file is faulty, by commenting load or require =20 >statements. In the faulty Elisp file you can comment halves to see =20 >where the bug happens. And by commenting one half of this half =20 >successively, step by step, you might be able to determine the faulty =20 >line of code. > >If it fails to use the Bulgarian dictionary *without* personal or =20 >system initialisation files, then there is some evidence of a bug in =20 >GNU Emacs and you should choose from the Help menu the "Send Bug =20 >Report..." item and write a bug report. You can invoke Emacs as =20 >'emacs --help' so see the meaning of the options it supports. > > >-- >Greetings > > Pete > >If my theory of relativity is proven successful, Germany will claim =20 >me as a German, and France will declare that I am a citizen of the =20 >world. Should my theory prove untrue, France will say that I am a =20 >German, and Germany will declare that I am a Jew. > -- Albert Einstein, =20 >1929 > > > ----------------------------------------------------------------- Survivor BG. =CE=F6=E5=EB=FF=E2=E0=ED=E5=F2=EE =EF=F0=EE=E4=FA=EB=E6=E0=E2= =E0 =ED=E0 www.survivor.btv.bg=20