unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs cyrillic
@ 2006-11-04 16:38 Martin Ivanov
  2006-11-04 20:08 ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Ivanov @ 2006-11-04 16:38 UTC (permalink / raw)


Hello!

I am running Slackware Linux 11.0 with   kernel 2.6.18 and Gnu Emacs 21.4a.
I set emacs to be able to write cyrillic using the bulgarian.el file:
http://debian.fmi.uni-sofia.bg/~ogi/bulgarian.el
My problem is, what should I do so that when I open a file with cyrillic letters, after having saved it, it is displayed correctly. I tried saving with a variety of encodins, but in vain. Besides, I want to enable spell-check for bulgarian, but I do not know how. I have installed ispell-bg and in /usr/lib/ispell I have the files bulgarian.hash and bulgarian.aff, but emacs does not seem to see them. 

I would be thankful to any suggestions.

Thank you very much in advance.

Regards,
Martin




-----------------------------------------------------------------
Survivor BG. Оцеляването продължава на www.survivor.btv.bg 

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <2032892203.462561162683925062.JavaMail.nobody@mail08.abv.bg>]
* emacs cyrillic
@ 2006-11-07 13:03 Martin Ivanov
  2006-11-07 23:47 ` Kevin Rodgers
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Ivanov @ 2006-11-07 13:03 UTC (permalink / raw)


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 displayed 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 necessary, 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? 
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 ok, 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 mode on a file that contains both cyrillic and latin words, only the latin words 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


 >-------- Оригинално писмо --------
 >От:  Peter Dyballa <Peter_Dyballa@Web.DE>
 >Относно: Re: emacs cyrillic
 >До: Martin Ivanov <tramni@abv.bg>
 >Изпратено на: Вторник, 2006, Ноември 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  
 >> to "Bulgarian standard, I cannot at all write cyrillic. A have the  
 >> 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  
 >for Bulgarian. Once in the shell environment LANG or LC_CTYPE are  
 >set, GNU Emacs reads them and sets itself to handle this world. There  
 >is not much Elisp code needed, it's all already written.
 >
 >Bulgarian.el is similar in that purpose, but restricted to one  
 >particular environment. Since I have no Bulgarian environment here  
 >and no Slackware, not even a PC, I think I cannot be of more help in  
 >this particular issue.
 >
 >> "ispell -vv" as attachment.
 >
 >LIBDIR = "/usr/lib/ispell"
 >
 >is the important line. So your system seems to be ready. If it  
 >continues to fail, then some Elisp code must be wrong. You can launch  
 >GNU Emacs with the options -q or -Q, which do not load personal or  
 >all initialisation files. You should try to launch GNU Emacs with  
 >either of these options and see whether you can setup for using  
 >ispell and the Bulgarian dictionary. If this has success, you can try  
 >to determine which file is faulty, by commenting load or require  
 >statements. In the faulty Elisp file you can comment halves to see  
 >where the bug happens. And by commenting one half of this half  
 >successively, step by step, you might be able to determine the faulty  
 >line of code.
 >
 >If it fails to use the Bulgarian dictionary *without* personal or  
 >system initialisation files, then there is some evidence of a bug in  
 >GNU Emacs and you should choose from the Help menu the "Send Bug  
 >Report..." item and write a bug report. You can invoke Emacs as  
 >'emacs --help' so see the meaning of the options it supports.
 >
 >
 >--
 >Greetings
 >
 >   Pete
 >
 >If my theory of relativity is proven successful, Germany will claim  
 >me as a German, and France will declare that I am a citizen of the  
 >world. Should my theory prove untrue, France will say that I am a  
 >German, and Germany will declare that I am a Jew.
 >                                                 -- Albert Einstein,  
 >1929
 >
 >
 >

-----------------------------------------------------------------
Survivor BG. Оцеляването продължава на www.survivor.btv.bg 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-07 23:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-04 16:38 emacs cyrillic Martin Ivanov
2006-11-04 20:08 ` Peter Dyballa
2006-11-05  1:44   ` ken
2006-11-05  8:53     ` Peter Dyballa
     [not found] <2032892203.462561162683925062.JavaMail.nobody@mail08.abv.bg>
2006-11-05 15:03 ` Peter Dyballa
2006-11-05 16:54   ` Eli Zaretskii
2006-11-05 20:29     ` Peter Dyballa
  -- strict thread matches above, loose matches on Subject: below --
2006-11-07 13:03 Martin Ivanov
2006-11-07 23:47 ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).