General :: Setting Default Font In Emacs 23.2.1?

Apr 2, 2011

I'm using emacs 23.2.1 with quack on Linux and trying to set my default typeface to Inconsolata Medium 13. It is installed on my system (debian sid) and can be set manually per buffer in emacs. However, I would like it to be used throughout and by default. My suspicion is that quack's mode is somehow conflicting.

I've searched a good deal looking for information on font customization in emacs. Although there is documentation and examples out there, I've found them fairly incoherent when taken together and nothing specifically addressing this issue. Here is my .emacs

set-default-font "Inconsolata-13")
Turn on visible-bell, get rid of beeps
setq visible-bell t)
Hilight the selected region
setq transient-mark-mode t)

[Code]...

View 2 Replies


ADVERTISEMENT

Software :: Name Of The Default Emacs Font

Jul 4, 2010

I'm using ubuntu 9.04. I use emacs for almost everything. I used emacs that I compiled from the source on my laptop. I liked the default font that came with it. So I never cared about the font. For some reasons I have to switch to another laptop where emacs is installed from the package. I donot want to go through compiling the source again. I would like to know what is name of the default font in emacs. I donot like the default font that comes with the ubuntu package.

The font I'm talking about is the font that is usually found in most emacs written documents. Similar to this webpage (web browsers might render this differently) . And also this webpage. describing font without knowing the name is difficult . The second link gives a better idea. (Hopefully :-))

Also I read about cse-huji-default-font but M-x describe-variable says it can not find the variable. (Is this related to my problem??)

what the default font of emacs is how to set it.

View 2 Replies View Related

General :: Default-tab-width A Emacs Function?

Apr 22, 2010

Which is correct?

Code:

Or

Code:

I got these in two web sites.

From emacs window:

How would to get info about it in emacs documentation/manual?

View 1 Replies View Related

Software :: Emacs Color And Font Configurations

Jul 25, 2009

How may I configure my emacs so it will look like example codes on this site.This configuration is better for my eyes.

View 1 Replies View Related

Software :: How To Zoom In - Enlarge Font - In Emacs?

Apr 9, 2010

How to zoom in (enlarge font) in Emacs? Is there any simple way to do this?

View 4 Replies View Related

Debian :: Emacs Font Selection Error In Jessie

Jul 15, 2015

I just upgraded my system from wheezy to jessie. For the most part, the upgrade was painless, but there's one bit of weirdness that I can't seem to fix on my own.

In my .Xdefaults, I set the font for Emacs with this line:

Code: Select allEmacs.font: -misc-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-1

When I do this, however. the font that appears in Emacs is not any misc-fixed font. See the following image for what Emacs displays. The window for xfontsel shows what font it should be selecting.

Note that both emacs23 and emacs24 (both Debian packages) exhibit this behavior. I also see it with an installation of emacs24 that I compiled myself.

If I use xlsfonts to see what's available matching this pattern, four choices are presented:

Code: Select all$ xlsfonts | grep 'misc-fixed-medium-r-normal--13-.*-iso8859-1$'
-misc-fixed-medium-r-normal--13-100-100-100-c-70-iso8859-1
-misc-fixed-medium-r-normal--13-100-100-100-c-80-iso8859-1
-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1

If I change the font-spec in Emacs to specify one of the avgWidth parameters (70 or 80), then Emacs displays the correct font. Note that with this spec, Emacs's choice matches what xfontsel displays.

With avgWidth 70:

With avgWidth 80:

Why Emacs is using the wrong font family when the avgWidth is set to "*". As I understand X font strings, using "*" should make it pick either 70 or 80, but it clearly isn't doing that. A "*" worked with wheezy, so I'm assuming the upgrade changed my font configuration, but I don't know what it might have changed.

View 3 Replies View Related

Ubuntu :: By Default Pango Is Choosing AR PL UMing CN As Font To Render Japanese Text When Current Font Doesn't Have Japanese Glyphs

May 4, 2010

Actually I want to log a bug but I don't really know what package to log it against. The problem is that by default Pango is choosing the AR PL UMing CN as the font to render Japanese text when the current font doesn't have Japanese glyphs. But AR PL UMing CN is a Chinese font, so Chinese glyphs for kanji characters (e.g., 覚) are displayed. This is jarring and confusing for Japanese readers.

This situation mostly arises when you have mixed English and Japanese text. Some applications (for instance Firefox) will allow you to select a font for Asian text. Thus if the text contains only Asian characters it will use the font you select, rather than what Pango would have selected. But if it is a mix of English and Japanese, you end up with the wrong glyphs.

Other environments (like gnome-terminal, or a gedit) have difficulties as well. Since the primary interface requires mono spaced roman characters you run into difficulty selecting fonts. Most Japanese fonts only have proportional roman characters. This means that if use a nice roman font and use Japanese text (for instance file names), you end up with Chinese glyphs. What I want is a mechanism that will work across all of Gnome for selecting the font I want to use for Chinese characters. That way I can choose either Japanese or Chinese glyphs.

I realize this is low priority. It only bugs me a little, but many of my Japanese colleagues are put off from using Ubuntu because they are confused by the Chinese glyphs that pop up on my screen from time to time. As I said, I'd like to file a bug, but I'm not sure against what package...

View 2 Replies View Related

General :: Reset Font Configuration To Default Settings?

Jan 30, 2011

I have been doing some customization to my ubuntu Box related to font settings. Now all the font settings for whole system have been badly scrambled. I am feeling it very hard to reset all the settings too default again.I have been modifying system---> Preference ---> Appearance. if there exists any way to reset my font configuration to default.

View 1 Replies View Related

General :: Increase Xdialog Default Font Size?

Feb 15, 2010

From inside my bash script, is there a way to increase my Xdialog default font size? If not, is there any other way to do it? I found a commercial program using Xdialog with instructions on increasing the font size, but they did not say how they did it. But, it does mean it can be done: [URL]

View 3 Replies View Related

Fedora :: Upgrade To KDE 4.4 And "Configure Kmail" Displayed In The Default Font No In Console Font

Feb 25, 2010

In all previous versions of KDE I had Console8x16 set as KDE font for all cases (Settings->Appearance->Fonts). After tonight upgrade, this (only!) font is not working. I can see it in font manager, I can set it in ...Appearance->Fonts, but actually remains default font. Two of about 30 attempts somehow (can not reproduce) succeeded to set "console 12" font, but it disappeared after restart.

1. What can be the problem in 4.4?
2. In /usr/share/fonts tere are 3 files named console8x16.pcf, console8x8.pcf and console9x15.pcf, but in the font list in Appearance->Fonts I can see only 2 - one named "Console" (seems to be 8x16 and "console" (8x8). File 9x15 does not appear at all. Why?

Last results of attempts: cannot use console font in part of areas, while part works OK. For example: kdevelop editor, kmail message body text works OK. But kmail other parts - does not. The most interesting is that although setting the kmail body message text to console displays the message body text correctly (with console font), but the example message in "Configure kmail" dialogue "The Quick Brown Fox Jumps Over The Lazy Dog" is displayed in the default font, as if there is no console font!

View 3 Replies View Related

Ubuntu :: Setting EDITOR=emacs Causes Lockup

Jan 12, 2010

I'm putty'd into an Ubuntu server box and have EDITOR=emacs set. However whenever I run crontab -e my shell locks up.

I can use emacs normally by typing emacs from the command line, so I'm not sure what problem is. If I set EDITOR=vi I can run crontab -e and it opens in vi

View 2 Replies View Related

Debian :: EMacs Default Without Split Window

Dec 22, 2010

When I open Emacs the default is a split window. I can remove the splits with control-x-1. How to get it to open with a single window by default?

View 4 Replies View Related

General :: Set A Default Setting For The Terminal?

Oct 21, 2009

Is it possible to set a default setting for the terminal? When I open one up it is very small and I press the ctrl++ several times to get it so that I can read it?

View 2 Replies View Related

General :: Default Password Setting In Cobbler

Oct 12, 2010

I cant understand how to sort out from this problem, while check the cobbler boot server, from the command cobbler check follwing error comes out , i dont understand how to fix it

1 : The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to 'cobbler' and should be changed, try: "openssl passwd -1 -salt 'random-phrase-here' 'your-password-here'" to generate new one Restart cobblerd and then run 'cobbler sync' to apply changes.

View 1 Replies View Related

Ubuntu Installation :: Adjust The Default Setting Via /etc/default/grub?

May 29, 2010

I have already had Vista installed on another drive and from what i've read on the webs you get to dualboot if you install ubuntu after vista. when i did install it (i installed on a blank hdd with no partitions, choosing the "erase entire disk" option since for some reason default option was attempting to eat a part of my windows 1 gb drive instead of using disk i specially made for it) and the grub 2 loaded for the first time, there was NO option to run vista. only 2 linux (normal and recovery) and 2 memtests. I've ran linux and went to google this. I found that i should add something to some config files in /etc/grub.d/From reading the readme file i understood i could add my own files that are named like NUMBER_SOMENAME and insert code into them. Because it said:Quote: For example, you can add an entry to boot another OS as01_otheros, 11_otheros, etc, depending on the position you want it to occupy inthe menu; and then adjust the default setting via /etc/default/grub. But then i found a file 40_custom that said:

Code:
#!/bin/sh
exec tail -n +3 $0

[code]....

View 9 Replies View Related

General :: Setting JAVA_HOME - What Is The Default Path They Are Installed

Dec 30, 2009

I installed "jdk1.6.0.bin" and "jre1.6.0.bin" successfully. But I don't know where they are installed. I can't find anywhere. What is the default path they are installed.I want to set JAVA_HOME.

View 1 Replies View Related

General :: Setting Default Application For Text Files In Bash?

Apr 5, 2011

I want to tweak my linux environment so that when I type a text file name on the command line and hit enter the file should be opened in Vim.

$: /tmp/file.txt

should open the file in Vim. This is similar to what happens on windows (where a text file is opened in notepad.)

View 6 Replies View Related

General :: Restore Default Setting Of Desktop Of Ubuntu 11.04 Natty Narhwal Unity

Jul 22, 2011

i have lost my setting of unity desktop and launcher is not seen on desk top as well as search barwhich use to come on pressing of meta window key.

how to restore launcher and search bar setting or u may say default unity setting

View 1 Replies View Related

Fedora :: Change Default Font Used By Lpr?

Jan 27, 2010

Whenever I use lpr on the command-line to print a text file, it uses DejaVu Sans Mono as the font. Is there a way to change this? I'd like to use Terminus as the font instead. I found that CUPS uses Courier as the default font for text files, so somewhere Courier is being aliased to DejaVu Sans Mono, and I have no idea where.

View 2 Replies View Related

Fedora :: Set Default Font In 14 Lxde?

Nov 17, 2010

i want to set all gtk program default font, how to set? for example, firefox, emesene, and etc..

View 1 Replies View Related

Ubuntu :: Default Title Bar Font In 10.04 / What Is It?

Aug 15, 2010

What is the default title bar font in 10.04? I changed it and it seems selecting themes don't restore it..

View 2 Replies View Related

Ubuntu :: Set Font Settings As Default?

Jul 19, 2011

I changed font settings in appearance utility today. But now desktop appearance and firefox fonts are too bad and I need to set it to default setting. How can I do that?

View 4 Replies View Related

General :: Create And Install All Relevant Font-metrics And Fontmaps Of A TrueType Font For (pdf)TeX?

Jul 9, 2010

Essentially I have found this guide, but it is for miktex, i need a guide for texlive on Debian/Ubuntu which will not pollute dpkg installed texmf.

I'm interested in converting TrueType font to be usable in (pdf)(La)TeX.

All the power google turn up just stuff f relating how to install microsoft fonts or do stuf on MikTeX.

I CANNOT USE XeLaTeX!!! I use pstricks and the font must be available in plain TeX! Otherwise my document looks inconsistent!

View 1 Replies View Related

General :: Missing Glyphs In Terminus Font - Setup A Fallback Font?

Jul 8, 2010

Most of my work happens in a terminal, so I need a clear, readable font. I've settled a while ago on Terminus [URL]..., which works wonders for me. I added XTerm*faceName : Terminus in my ~/.Xdefaults, and I do get the Terminus font. Unfortunately, a lot of Unicode glyphs are missing (mathematical symbols, greek and hebrew letters), displaying as little square blocks instead.

If I remove the faceName entry, the default configuration seems able to display most of the glyphs (including math, greek, hebrew, runic, and whatever else), but the default font is much harder to read.

A google search hints that it should be possible to use Terminus as the default font, and fallback to (an)other one(s) for missing glyphs, but provides no further explanation. I've seen documentation that recommends Bitstream Vera Sans as a fallback, but it lacks the glyphs I need too; I don't know how to identify the default font used by xterm either, I had a look at /usr/share/X11/app-defaults/XTerm, but all I can find are generic references to old pre-fontconfig font names.

Using Gentoo Linux, fontconfig and xterm are up to date, USEs trutype and unicode enabled, X.Org server 1.6.

Edit: I alternate between Ratpoison, Awesome and XMonad, without a desktop environment.

View 1 Replies View Related

Fedora :: Can't Find Any How To's For Changing Default Font?

Jul 23, 2011

Been googling around but can't find any how to's for changing default font. Is this possible to do.

View 2 Replies View Related

OpenSUSE :: How To Choose System Default Font

Jul 25, 2010

I'm using openSUSE 11.3 Ever since I started using Linux, I have had problems with Korean fonts. Now I think I am close to the solution. I want to know how openSUSE decide which fonts to use as the system default fonts.I know that I can change them in the Appearance -> Font dialog. But my questios is if those settings were just set as Sans (the default), how openSUSE choose what is Sans?I'm asking this because I found that if I copy Arial and consolas fonts into my ~/.fonts folder, then openSUSE uses them as the system defaults fonts. I don't know if this is correct behavior, but to me it seems very strange, and some applications such as Opera uses whichever fonts openSUSE uses as system default to render webpages, so I ended up having Arial for all my webpages open in Opera. So my questions are:1) How openSUSE decide which font to use as system defaults?2) Are font files in ~/.fonts folder supposedly regarded as defaults?3) Where are the setting files I can edit?

View 2 Replies View Related

Ubuntu :: Changing The Default Devanagari Font?

Apr 13, 2011

When I recently installed a unicode devanagari font (raghindi.ttf), it was set as the default devanagari font. The original one was better. How can i change back?

View 2 Replies View Related

Software :: Which Chm Viewer Support Setting For Minimum Font Size

Apr 13, 2011

I have myopia. I read the documents with quite large font size (13). But some of chm viewer such as: kchmviewer, gnochm, xchm, ... open the .chm files with tiny font. I must click the Zoom in, larger button 2 --> 5 times to get the sastified font. Is there any chm viewer support setting for minimum font size?

View 7 Replies View Related

Ubuntu :: Code In Emacs File To Start Emacs Maximized?

May 17, 2010

I was using the following code in my .emacs file to start emacs maximized:

Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32

[Code]...

View 2 Replies View Related

Ubuntu :: Make Default OpenOffice Font Color In 10.04?

Aug 25, 2010

I keep forgetting to change the font color to black in OpenOffice.org in Lucid. This is a pain when printing, but the bigger problem is with writing up formulae. How do you change colors in Math (or make it default to black)?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved