|
|
 | | From: | vizvary at htivx1.hti.matav.hu | | Subject: | ntemacs and set-language-environment | | Date: | 13 Jan 2005 03:23:47 -0800 |
|
|
 | Hello. I use GNU Emacs 20.7.1 on win2000pro. I put (set-language-environment "Latin-2") into my .emacs file because I need Hungarian "accented" characters. When I type, I see squares instead these chars. Shift + leftclick and I choose from the font-selector window the _default_ font (Courier New 10, so I press only OK) and everything is fine. What should I write into my .emacs if I don't want to do this selection? I tried: (set-default-font "-*-Courier New-normal-r-*-*-20-120-120-120-c-*-iso8859-2") (well, it is a bigger, Courier New 12 font), but did not help... I am new in Emacs. Please, give me some advice. Regards Peter
|
|
 | | From: | vizvary at htivx1.hti.matav.hu | | Subject: | Re: ntemacs and set-language-environment | | Date: | 14 Jan 2005 01:34:14 -0800 |
|
|
 | Jason Rumney Jason Rumney wrote: > > Install Emacs 21.3, which has many bugs fixed in the Language support, > especially on MS Windows. If you cannot upgrade for some reason, then > the following might work: > > (set-default-font > (create-fontset-from-ascii-font > "-*-Courier New-normal-r-*-*-*-120-*-*-c-*-iso8859-2"))
This works fine and I will upgrade soon, because I have just started with Emacs... Thank you for your help, regards Peter
|
|
 | | From: | jasonr (Jason Rumney) at f2s.com | | Subject: | Re: ntemacs and set-language-environment | | Date: | Thu, 13 Jan 2005 23:32:31 +0000 |
|
|
 | vizvary@htivx1.hti.matav.hu writes:
> Hello. > I use GNU Emacs 20.7.1 on win2000pro. > I put (set-language-environment "Latin-2") into my .emacs file because > I need Hungarian "accented" characters. When I type, I see squares > instead these chars.
> I tried: > (set-default-font "-*-Courier > New-normal-r-*-*-20-120-120-120-c-*-iso8859-2") > (well, it is a bigger, Courier New 12 font), but did not help... > I am new in Emacs. > Please, give me some advice.
Install Emacs 21.3, which has many bugs fixed in the Language support, especially on MS Windows. If you cannot upgrade for some reason, then the following might work:
(set-default-font (create-fontset-from-ascii-font "-*-Courier New-normal-r-*-*-*-120-*-*-c-*-iso8859-2"))
|
|
|