Gå til innhold

Emacs er plutsetlig blitt stor


Anbefalte innlegg

Videoannonse
Annonse

197477537

 

Jeg finner ikke editoren "SPAM" noe sted på intern-nettet. Jeg søkte også på "SPAM hjelper når EMACS blir for stor", men fant ikke noe der heller.

Jeg brukte 3 timer på dette, så jeg synes du kunne skrevet en bedre veiledning for bruken av spam og emacs. Kanskje legge det inn i faken for lunix-forumet?

 

mvh

Meg

Lenke til kommentar

Jeg finner ikke editoren "SPAM" noe sted på intern-nettet. Jeg søkte også på "SPAM hjelper når EMACS blir for stor", men fant ikke noe der heller.

Jeg brukte 3 timer på dette, så jeg synes du kunne skrevet en bedre veiledning for bruken av spam og emacs. Kanskje legge det inn i faken for lunix-forumet?

Nei. du brukte ikke tre timer. :-)

Spam kom som et resultat av at jeg stilte et spørsmål om emacs, og får "bruk vi" som svar, noe som ikke akkurat er et svar på spørsmålet mitt :shrug:

Lenke til kommentar

Viss du abselutt vil bruke emacs kansje dette kan hjelpe deg

 

 

By default, Emacs displays text in the font named `9x15', which makes each character nine pixels wide and fifteen pixels high. You can specify a different font on your command line through the option `-fn name'.

 

`-fn name'

Use font name as the default font.

`--font=name'

`--font' is an alias for `-fn'.

Under X, each font has a long name which consists of eleven words or numbers, separated by dashes. Some fonts also have shorter nicknames---`9x15' is such a nickname. You can use either kind of name. You can use wildcard patterns for the font name; then Emacs lets X choose one of the fonts that match the pattern. Here is an example, which happens to specify the font whose nickname is `6x13':

 

emacs -fn "-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1" &

 

You can also specify the font in your `.Xdefaults' file:

 

emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1

 

A long font name has the following form:

 

-maker-family-weight-slant-widthtype-style...

...-pixels-height-horiz-vert-spacing-width-charset

 

family

This is the name of the font family--for example, `courier'.

weight

This is normally `bold', `medium' or `light'. Other words may appear here in some font names.

slant

This is `r' (roman), `i' (italic), `o' (oblique), `ri' (reverse italic), or `ot' (other).

widthtype

This is normally `condensed', `extended', `semicondensed' or `normal'. Other words may appear here in some font names.

style

This is an optional additional style name. Usually it is empty--most long font names have two hyphens in a row at this point.

pixels

This is the font height, in pixels.

height

This is the font height on the screen, measured in tenths of a printer's point--approximately 1/720 of an inch. In other words, it is the point size of the font, times ten. For a given vertical resolution, height and pixels are proportional; therefore, it is common to specify just one of them and use `*' for the other.

horiz

This is the horizontal resolution, in pixels per inch, of the screen for which the font is intended.

vert

This is the vertical resolution, in dots per inch, of the screen for which the font is intended. Normally the resolution of the fonts on your system is the right value for your screen; therefore, you normally specify `*' for this and horiz.

spacing

This is `m' (monospace), `p' (proportional) or `c' (character cell). Emacs can use `m' and `c' fonts.

width

This is the average character width, in pixels, multiplied by ten.

charset

This is the character set that the font depicts. Normally you should use `iso8859-1'.

Use only fixed-width fonts--that is, fonts in which all characters have the same width; Emacs cannot yet handle display properly for variable-width fonts. Any font with `m' or `c' in the spacing field of the long name is a fixed-width font. Here's how to use the xlsfonts program to list all the fixed-width fonts available on your system:

 

xlsfonts -fn '*x*'

xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-m*'

xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-c*'

 

To see what a particular font looks like, use the xfd command. For example:

 

xfd -fn 6x13

 

displays the entire font `6x13'.

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...