emacs font setting
1 Attachment(s)
Hi,
I have following two lines in ~/.emacs file to set my own font size for Emacs in linux. However, the problem that I have is that, if I open up a new frame by choosing File -> New Frame in Emacs menu, the new frame opened does not have the same font setting. It seems to changed to some other settings. Please see my attached two emacs windows. The right one is the correct one. But the left one does not work. And the left one is a new frame opened from the right one. Why? Thanks. |
Need a bit more info. Distro, GUI and file manager you are using. Does it do it if you open the file in the same window? Or only when you open them in new windows?
|
Quote:
Quote:
Code:
set-default-font is an alias for `set-frame-font' in `frame.el'. |
Quote:
|
I just tried both "set-frame-font" and (set-face-attribute 'default nil :font FONT). Neither work. I still have the same problem. The first window works. The second window opened from the first window does not.
|
Try Options set default font. Let me know if that works.
|
Quote:
|
Open up Emacs click options and have a look man.
|
Quote:
|
Try adding this and removing what you have in the default font settings "-adobe-courier-medium-r-normal--18-180-75-75-m-110-iso8859-1". See of that syntax works.
|
Quote:
|
In the new one you can change the fonts from the menu. This takes away the need for the right names and syntax. You may want to look into the newest version which I believe is 23. I am not saying you have to change but it may be a good idea if you did change.
|
The problem is that, I don't have root password to install any newer version. by the way, where can I download a newer version Emacs?
|
http://www.gnu.org/s/emacs/ Try that line I posted and see if it works.
|
Tried downloading it. But cannot install it without root password. Do you have the same problem as me in the newer version?
|
All times are GMT -5. The time now is 05:50 AM. |