* increasing font size
@ 2006-02-17 12:46 Senthil
2006-02-18 10:44 ` Peter Dyballa
0 siblings, 1 reply; 10+ messages in thread
From: Senthil @ 2006-02-17 12:46 UTC (permalink / raw)
how do i increase the size of font appearing in emacs
should i edit something in my .emacs file
--
--------S.Senthil Kumaran-------
blog : http://sskganesan.blogspot.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: increasing font size
@ 2006-02-21 9:30 Suguru Furuta
2006-02-22 9:09 ` Raimund Kohl-Fuechsle
0 siblings, 1 reply; 10+ messages in thread
From: Suguru Furuta @ 2006-02-21 9:30 UTC (permalink / raw)
> Raimund Kohl-Fuechsle wrote:
> I want to have emacs set the default font (which is what I get by
> Options - Mule - Set Fontset - Misc - 7x14) So what then is the right
> lisp code?
> (set-default-font "Misc:7x14") ... ?
You should try (set-default-font "7x14") first.
Best wishes,
Sugi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: increasing font size
2006-02-21 9:30 Suguru Furuta
@ 2006-02-22 9:09 ` Raimund Kohl-Fuechsle
0 siblings, 0 replies; 10+ messages in thread
From: Raimund Kohl-Fuechsle @ 2006-02-22 9:09 UTC (permalink / raw)
> > Raimund Kohl-Fuechsle wrote:
>
> > I want to have emacs set the default font (which is what I get by
> > Options - Mule - Set Fontset - Misc - 7x14) So what then is the right
> > lisp code?
> > (set-default-font "Misc:7x14") ... ?
>
> You should try (set-default-font "7x14") first.=20
yeah! Exactly what I needed! Thanx!
I read in the emacs manual that 7x14 would be sufficient - but I
felt unsure, so I thought to myself to better ask ... :-)
ray
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: increasing font size
@ 2006-02-20 10:52 Suguru Furuta
2006-02-20 14:07 ` Raimund Kohl-Fuechsle
0 siblings, 1 reply; 10+ messages in thread
From: Suguru Furuta @ 2006-02-20 10:52 UTC (permalink / raw)
Senthil wrote:
> how do i increase the size of font appearing in emacs
> should i edit something in my .emacs file
The very nice function (mouse-set-font) has already been mentioned by
Pete Dyballa. I don't know if you've spotted this but you can also set
the default font type and size of your emacs session by including
something like this in your .emacs file:
(set-default-font "couriernew:regular:14")
This sets the font to regular Courier New font, size 14.
Best wishes,
Sugi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: increasing font size
2006-02-20 10:52 Suguru Furuta
@ 2006-02-20 14:07 ` Raimund Kohl-Fuechsle
2006-02-20 23:26 ` Peter Dyballa
0 siblings, 1 reply; 10+ messages in thread
From: Raimund Kohl-Fuechsle @ 2006-02-20 14:07 UTC (permalink / raw)
Suguru Furuta <suguru.furuta@eur.autodesk.com> wrote:
> I don't know if you've spotted this but you can also set the default
> font type and size of your emacs session by including something like
> this in your .emacs file:
>
> (set-default-font "couriernew:regular:14")
>
> This sets the font to regular Courier New font, size 14.
Hiya Sugi,
that's kind of what I am looking for but didn't have time to ask yet (as
if you were reading my mind <grin>.
I want to have emacs set the default font (which is what I get by
Options - Mule - Set Fontset - Misc - 7x14) So what then is the right
lisp code?
(set-default-font "Misc:7x14") ... ?
ray
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: increasing font size
2006-02-20 14:07 ` Raimund Kohl-Fuechsle
@ 2006-02-20 23:26 ` Peter Dyballa
0 siblings, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2006-02-20 23:26 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 20.02.2006 um 15:07 schrieb Raimund Kohl-Fuechsle:
> Suguru Furuta <suguru.furuta@eur.autodesk.com> wrote:
>
>> I don't know if you've spotted this but you can also set the default
>> font type and size of your emacs session by including something like
>> this in your .emacs file:
>>
>> (set-default-font "couriernew:regular:14")
>>
>> This sets the font to regular Courier New font, size 14.
>
> Hiya Sugi,
>
> that's kind of what I am looking for but didn't have time to ask
> yet (as
> if you were reading my mind <grin>.
>
> I want to have emacs set the default font (which is what I get by
> Options - Mule - Set Fontset - Misc - 7x14) So what then is the right
> lisp code?
>
> (set-default-font "Misc:7x14") ... ?
Does this help?
(message "X11 fixed-font-alist")
(setq x-fixed-font-alist
'("X11 Font Menu"
("Misc fixed"
;; For these, we specify the pixel height and width.
("«ProFont»" "»ProFont«")
("ISO 10646-1" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-iso10646-1" "ISO 10646-1")
("ISO 8859-15" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-iso8859-15" "ISO 8859-15")
("fcd 8859-15" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-fcd8859-15" "fcd 8859-15")
("ISO 8859-9" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-iso8859-9" "ISO 8859-9")
("ISO 8859-1" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-iso8859-1" "ISO 8859-1")
("ASCII-0" "-misc-profontwindows-medium-r-normal--0-*-*-*-
m-*-ascii-0" "ASCII-0")
; ("»Microsoft-CP1252«")
; ( "0" "-windows-profontwindows-medium-r-normal--0-*-*-*-c-*-
microsoft-cp1252" "0")
; ("10" "-windows-profontwindows-medium-r-normal--10-*-*-*-c-*-
microsoft-cp1252" "10")
; ("11" "-windows-profontwindows-medium-r-normal--11-*-*-*-c-*-
microsoft-cp1252" "11")
; ("12" "-windows-profontwindows-medium-r-normal--12-*-*-*-c-*-
microsoft-cp1252" "12")
; ("15" "-windows-profontwindows-medium-r-normal--15-*-*-*-c-*-
microsoft-cp1252" "15")
; ("17" "-windows-profontwindows-medium-r-normal--17-*-*-*-c-*-
microsoft-cp1252" "17")
; ("22" "-windows-profontwindows-medium-r-normal--22-*-*-*-c-*-
microsoft-cp1252" "22")
; ("27" "-windows-profontwindows-medium-r-normal--29-*-*-*-c-*-
microsoft-cp1252" "27")
; ("»iso8859-9«")
; ( "0" "-nil-profont-medium-r-normal--0-*-*-*-c-*-iso8859-9"
"0")
; ("10" "-nil-profont-medium-r-normal--10-*-*-*-c-*-iso8859-9"
"10")
; ("11" "-nil-profont-medium-r-normal--11-*-*-*-c-*-iso8859-9"
"11")
; ("12" "-nil-profont-medium-r-normal--12-*-*-*-c-*-iso8859-9"
"12")
; ("15" "-nil-profont-medium-r-normal--15-*-*-*-c-*-iso8859-9"
"15")
; ("17" "-nil-profont-medium-r-normal--17-*-*-*-c-*-iso8859-9"
"17")
; ("22" "-nil-profont-medium-r-normal--22-*-*-*-c-*-iso8859-9"
"22")
; ("27" "-nil-profont-medium-r-normal--29-*-*-*-c-*-iso8859-9"
"27")
; ("")
("fixed" "fixed")
( "4x6" "-misc-fixed-medium-r-normal--6-*-*-*-c-40-
iso10646-1" "4x6")
( "5x7" "-misc-fixed-medium-r-normal--7-*-*-*-c-50-
iso10646-1" "5x7")
( "5x8" "-misc-fixed-medium-r-normal--8-*-*-*-c-50-
iso10646-1" "5x8")
( "6x9" "-misc-fixed-medium-r-normal--9-*-*-*-c-60-
iso10646-1" "6x9")
( "6x10" "-misc-fixed-medium-r-normal--10-*-*-*-c-60-
iso10646-1" "6x10")
( "6x12" "-misc-fixed-medium-r-semicondensed--12-*-*-*-c-60-
iso10646-1" "6x12")
( "6x13" "-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-
iso10646-1" "6x13")
( "7x13" "-misc-fixed-medium-r-normal--13-*-*-*-c-70-
iso10646-1" "7x13")
( "7x14" "-misc-fixed-medium-r-normal--14-*-*-*-c-70-
iso10646-1" "7x14")
( "8x13" "-misc-fixed-medium-r-normal--13-*-*-*-c-80-
iso10646-1" "8x13")
( "9x15" "-misc-fixed-medium-r-normal--15-*-*-*-c-90-
iso10646-1" "9x15")
("10x20" "-misc-fixed-medium-r-normal--20-*-*-*-c-100-
iso10646-1" "10x20")
("11x18" "-misc-fixed-medium-r-normal--18-*-*-*-c-110-
iso10646-1" "11x18")
("12x24" "-misc-fixed-medium-r-normal--24-*-*-*-c-120-
iso10646-1" "12x24")
)
("Courier @ 75 DPI"
;; For these, we specify the point height and the DPIs.
( "8" "-adobe-courier-medium-r-normal--*-80-75-75-m-*-
iso10646-1" "8")
("10" "-adobe-courier-medium-r-normal--*-100-75-75-m-
*-iso10646-1" "10")
("12" "-adobe-courier-medium-r-normal--*-120-75-75-m-
*-iso10646-1" "12")
("14" "-adobe-courier-medium-r-normal--*-140-75-75-m-
*-iso10646-1" "14")
("18" "-adobe-courier-medium-r-normal--*-180-75-75-m-
*-iso10646-1" "18")
("24" "-adobe-courier-medium-r-normal--*-240-75-75-m-
*-iso10646-1" "24")
( "8 bold" "-adobe-courier-bold-r-normal--*-80-75-75-m-
*-iso10646-1" "8 bold")
("10 bold" "-adobe-courier-bold-r-normal--*-100-75-75-m-
*-iso10646-1" "10 bold")
("12 bold" "-adobe-courier-bold-r-normal--*-120-75-75-m-
*-iso10646-1" "12 bold")
("14 bold" "-adobe-courier-bold-r-normal--*-140-75-75-m-
*-iso10646-1" "14 bold")
("18 bold" "-adobe-courier-bold-r-normal--*-180-75-75-m-
*-iso10646-1" "18 bold")
("24 bold" "-adobe-courier-bold-r-normal--*-240-75-75-m-
*-iso10646-1" "24 bold")
( "8 slant" "-adobe-courier-medium-o-normal--*-80-75-75-
m-*-iso10646-1" "8 slant")
("10 slant" "-adobe-courier-medium-o-normal--*-100-75-75-
m-*-iso10646-1" "10 slant")
("12 slant" "-adobe-courier-medium-o-normal--*-120-75-75-
m-*-iso10646-1" "12 slant")
("14 slant" "-adobe-courier-medium-o-normal--*-140-75-75-
m-*-iso10646-1" "14 slant")
("18 slant" "-adobe-courier-medium-o-normal--*-180-75-75-
m-*-iso10646-1" "18 slant")
("24 slant" "-adobe-courier-medium-o-normal--*-240-75-75-
m-*-iso10646-1" "24 slant")
( "8 bold slant" "-adobe-courier-bold-o-normal--*-80-75-75-m-
*-iso10646-1" "8 bold slant")
("10 bold slant" "-adobe-courier-bold-o-normal--*-100-75-75-m-
*-iso10646-1" "10 bold slant")
("12 bold slant" "-adobe-courier-bold-o-normal--*-120-75-75-m-
*-iso10646-1" "12 bold slant")
("14 bold slant" "-adobe-courier-bold-o-normal--*-140-75-75-m-
*-iso10646-1" "14 bold slant")
("18 bold slant" "-adobe-courier-bold-o-normal--*-180-75-75-m-
*-iso10646-1" "18 bold slant")
("24 bold slant" "-adobe-courier-bold-o-normal--*-240-75-75-m-
*-iso10646-1" "24 bold slant")
)
("Courier @ 100 DPI"
;; For these, we specify the point height and the DPIs.
( "8" "-adobe-courier-medium-r-normal--*-80-100-100-m-
*-iso10646-1" "8")
("10" "-adobe-courier-medium-r-normal--*-100-100-100-
m-*-iso10646-1" "10")
("12" "-adobe-courier-medium-r-normal--*-120-100-100-
m-*-iso10646-1" "12")
("14" "-adobe-courier-medium-r-normal--*-140-100-100-
m-*-iso10646-1" "14")
("18" "-adobe-courier-medium-r-normal--*-180-100-100-
m-*-iso10646-1" "18")
("24" "-adobe-courier-medium-r-normal--*-240-100-100-
m-*-iso10646-1" "24")
( "8 bold" "-adobe-courier-bold-r-normal--*-80-100-100-
m-*-iso10646-1" "8 bold")
("10 bold" "-adobe-courier-bold-r-normal--*-100-100-100-
m-*-iso10646-1" "10 bold")
("12 bold" "-adobe-courier-bold-r-normal--*-120-100-100-
m-*-iso10646-1" "12 bold")
("14 bold" "-adobe-courier-bold-r-normal--*-140-100-100-
m-*-iso10646-1" "14 bold")
("18 bold" "-adobe-courier-bold-r-normal--*-180-100-100-
m-*-iso10646-1" "18 bold")
("24 bold" "-adobe-courier-bold-r-normal--*-240-100-100-
m-*-iso10646-1" "24 bold")
( "8 slant" "-adobe-courier-medium-o-normal--
*-80-100-100-m-*-iso10646-1" "8 slant")
("10 slant" "-adobe-courier-medium-o-normal--
*-100-100-100-m-*-iso10646-1" "10 slant")
("12 slant" "-adobe-courier-medium-o-normal--
*-120-100-100-m-*-iso10646-1" "12 slant")
("14 slant" "-adobe-courier-medium-o-normal--
*-140-100-100-m-*-iso10646-1" "14 slant")
("18 slant" "-adobe-courier-medium-o-normal--
*-180-100-100-m-*-iso10646-1" "18 slant")
("24 slant" "-adobe-courier-medium-o-normal--
*-240-100-100-m-*-iso10646-1" "24 slant")
( "8 bold slant" "-adobe-courier-bold-o-normal--*-80-100-100-
m-*-iso10646-1" "8 bold slant")
("10 bold slant" "-adobe-courier-bold-o-normal--*-100-100-100-
m-*-iso10646-1" "10 bold slant")
("12 bold slant" "-adobe-courier-bold-o-normal--*-120-100-100-
m-*-iso10646-1" "12 bold slant")
("14 bold slant" "-adobe-courier-bold-o-normal--*-140-100-100-
m-*-iso10646-1" "14 bold slant")
("18 bold slant" "-adobe-courier-bold-o-normal--*-180-100-100-
m-*-iso10646-1" "18 bold slant")
("24 bold slant" "-adobe-courier-bold-o-normal--*-240-100-100-
m-*-iso10646-1" "24 bold slant")
)
("Lucida Sans Typewriter 75 DPI"
;; For these, we specify the point height and the DPIs.
( "8" "-*-lucidatypewriter-medium-r-normal-*-80-75-75-
m-*-iso10646-1")
("10" "-*-lucidatypewriter-medium-r-normal-
*-100-75-75-m-*-iso10646-1")
("12" "-*-lucidatypewriter-medium-r-normal-
*-120-75-75-m-*-iso10646-1")
("14" "-*-lucidatypewriter-medium-r-normal-
*-140-75-75-m-*-iso10646-1")
("18" "-*-lucidatypewriter-medium-r-normal-
*-180-75-75-m-*-iso10646-1")
("19" "-*-lucidatypewriter-medium-r-normal-
*-190-75-75-m-*-iso10646-1")
("24" "-*-lucidatypewriter-medium-r-normal-
*-240-75-75-m-*-iso10646-1")
( "8 bold" "-*-lucidatypewriter-bold-r-normal-
*-80-75-75-m-*-iso10646-1")
("10 bold" "-*-lucidatypewriter-bold-r-normal-
*-100-75-75-m-*-iso10646-1")
("12 bold" "-*-lucidatypewriter-bold-r-normal-
*-120-75-75-m-*-iso10646-1")
("14 bold" "-*-lucidatypewriter-bold-r-normal-
*-140-75-75-m-*-iso10646-1")
("18 bold" "-*-lucidatypewriter-bold-r-normal-
*-180-75-75-m-*-iso10646-1")
("19 bold" "-*-lucidatypewriter-bold-r-normal-
*-190-75-75-m-*-iso10646-1")
("24 bold" "-*-lucidatypewriter-bold-r-normal-
*-240-75-75-m-*-iso10646-1")
( "8 slant" "-*-lucidatypewriter-medium-o-normal-
*-80-75-75-m-*-iso10646-1")
("10 slant" "-*-lucidatypewriter-medium-o-normal-
*-100-75-75-m-*-iso10646-1")
("12 slant" "-*-lucidatypewriter-medium-o-normal-
*-120-75-75-m-*-iso10646-1")
("14 slant" "-*-lucidatypewriter-medium-o-normal-
*-140-75-75-m-*-iso10646-1")
("18 slant" "-*-lucidatypewriter-medium-o-normal-
*-180-75-75-m-*-iso10646-1")
("19 slant" "-*-lucidatypewriter-medium-o-normal-
*-190-75-75-m-*-iso10646-1")
("24 slant" "-*-lucidatypewriter-medium-o-normal-
*-240-75-75-m-*-iso10646-1")
( "8 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-80-75-75-m-*-iso10646-1")
("10 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-100-75-75-m-*-iso10646-1")
("12 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-120-75-75-m-*-iso10646-1")
("14 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-140-75-75-m-*-iso10646-1")
("18 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-180-75-75-m-*-iso10646-1")
("19 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-190-75-75-m-*-iso10646-1")
("24 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-240-75-75-m-*-iso10646-1")
)
("Lucida Sans Typewriter 100 DPI"
;; For these, we specify the point height and the DPIs.
( "8" "-*-lucidatypewriter-medium-r-normal-
*-80-100-100-m-*-iso10646-1")
("10" "-*-lucidatypewriter-medium-r-normal-
*-100-100-100-m-*-iso10646-1")
("12" "-*-lucidatypewriter-medium-r-normal-
*-120-100-100-m-*-iso10646-1")
("14" "-*-lucidatypewriter-medium-r-normal-
*-140-100-100-m-*-iso10646-1")
("18" "-*-lucidatypewriter-medium-r-normal-
*-180-100-100-m-*-iso10646-1")
("19" "-*-lucidatypewriter-medium-r-normal-
*-190-100-100-m-*-iso10646-1")
("24" "-*-lucidatypewriter-medium-r-normal-
*-240-100-100-m-*-iso10646-1")
( "8 bold" "-*-lucidatypewriter-bold-r-normal-
*-80-100-100-m-*-iso10646-1")
("10 bold" "-*-lucidatypewriter-bold-r-normal-
*-100-100-100-m-*-iso10646-1")
("12 bold" "-*-lucidatypewriter-bold-r-normal-
*-120-100-100-m-*-iso10646-1")
("14 bold" "-*-lucidatypewriter-bold-r-normal-
*-140-100-100-m-*-iso10646-1")
("18 bold" "-*-lucidatypewriter-bold-r-normal-
*-180-100-100-m-*-iso10646-1")
("19 bold" "-*-lucidatypewriter-bold-r-normal-
*-190-100-100-m-*-iso10646-1")
("24 bold" "-*-lucidatypewriter-bold-r-normal-
*-240-100-100-m-*-iso10646-1")
( "8 slant" "-*-lucidatypewriter-medium-o-normal-
*-80-100-100-m-*-iso10646-1")
("10 slant" "-*-lucidatypewriter-medium-o-normal-
*-100-100-100-m-*-iso10646-1")
("12 slant" "-*-lucidatypewriter-medium-o-normal-
*-120-100-100-m-*-iso10646-1")
("14 slant" "-*-lucidatypewriter-medium-o-normal-
*-140-100-100-m-*-iso10646-1")
("18 slant" "-*-lucidatypewriter-medium-o-normal-
*-180-100-100-m-*-iso10646-1")
("19 slant" "-*-lucidatypewriter-medium-o-normal-
*-190-100-100-m-*-iso10646-1")
("24 slant" "-*-lucidatypewriter-medium-o-normal-
*-240-100-100-m-*-iso10646-1")
( "8 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-80-100-100-m-*-iso10646-1")
("10 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-100-100-100-m-*-iso10646-1")
("12 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-120-100-100-m-*-iso10646-1")
("14 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-140-100-100-m-*-iso10646-1")
("18 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-180-100-100-m-*-iso10646-1")
("19 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-190-100-100-m-*-iso10646-1")
("24 bold slant" "-*-lucidatypewriter-bold-o-normal-
*-240-100-100-m-*-iso10646-1")
)
)
--
Mit friedvollen Grüßen
Pete
Ce qui été compris n'existe plus. (Paul Eluard)
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.515.1140191403.2856.help-gnu-emacs@gnu.org>]
* Re: increasing font size
[not found] <mailman.515.1140191403.2856.help-gnu-emacs@gnu.org>
@ 2006-02-18 17:47 ` Colin S. Miller
0 siblings, 0 replies; 10+ messages in thread
From: Colin S. Miller @ 2006-02-18 17:47 UTC (permalink / raw)
Senthil wrote:
> how do i increase the size of font appearing in emacs
> should i edit something in my .emacs file
>
> --
> --------S.Senthil Kumaran-------
> blog : http://sskganesan.blogspot.com
>
>
Senthl,
I've written this module which will do this, assuming you are not running in a console.
However it only changes the base-font; if an emacs face sets the font size, then it
won't be changed.
This code was written for XEmacs, I haven't tested it on Emacs.
You might need to tweek the list of font sizes, depending on which font face you use.
However, if don't want to dynmically change the font size, you can use
Options/Font Size to set the default and Options/Advanced (Customize)/Face to overide
this for some faces.
HTH,
Colin S. Miller
(defvar csm-base-font-sizes [14 16 17 19 20 22 25 26 27 29 31 32 33 35 38 40] "* Font list")
(defun csm-base-font-inc ()
"Increases the default font"
(interactive)
(let ((curr-val) (index) (elem) (num-elems))
(progn
(setq curr-val (string-to-number (custom-face-font-size 'default)))
(setq index 0)
(setq num-elems (length csm-base-font-sizes))
(while
(progn
(setq elem (elt csm-base-font-sizes index))
(setq index (+ index 1))
(and (< index num-elems)
(< elem curr-val)
) ; or
) ; progn
)
(progn
(if (< index num-elems)
(progn
(setq new-val (elt csm-base-font-sizes index))
(if new-val
(progn
(custom-set-face-font-size 'default
new-val)
(display-message 'command (concat "New font size is " (number-to-string new-val) " points")))))
(display-message 'command "Font already at largest size")
) ; if
) ; progn
) ; progn
) ; let
) ; defun
(defun csm-base-font-dec ()
"Decreases the default font"
(interactive)
(let ((curr-val) (index) (elem) (num-elems))
(progn
(setq curr-val (string-to-number (custom-face-font-size 'default)))
(setq index 0)
(setq num-elems (length csm-base-font-sizes))
(while
(progn
(setq elem (elt csm-base-font-sizes index))
(setq index (+ index 1))
(and (< index num-elems)
(< elem curr-val)
) ; or
) ; progn
)
(progn
(if (> index 1)
(progn
(setq index (- index 2))
(setq new-val (elt csm-base-font-sizes index))
(if new-val
(progn
(custom-set-face-font-size 'default
new-val)
(display-message 'command (concat "New font size is " (number-to-string new-val) " points")))))
(display-message 'command "Font already at smallest size")
) ; if
) ; progn
) ; progn
) ; let
) ; defun
(define-key global-map
[(control kp-subtract)]
'csm-base-font-dec
)
(define-key global-map
[(control kp-add)]
'csm-base-font-inc
)
--
Replace the obvious in my email address with the first three letters of the hostname to reply.
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.5899.1125876082.20277.help-gnu-emacs@gnu.org>]
* Re: Increasing font size
[not found] <mailman.5899.1125876082.20277.help-gnu-emacs@gnu.org>
@ 2005-09-05 4:58 ` Tim X
0 siblings, 0 replies; 10+ messages in thread
From: Tim X @ 2005-09-05 4:58 UTC (permalink / raw)
Rajiv Vyas <rajiv1@gmail.com> writes:
> How do I increase font size if I am running emacs in console. I use
> Debian Sarge.
>
> Rajiv
>
>
If you are running emacs within the console, you will need to increase
the console font size - nothing you cna do with emacs AFAIK.
Debian does have some console font packages, but I don't know if they
will allow you to make the font larger in the console - I do know you
can make it smaller :-)
Tim
--
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you
really need to send mail, you should be able to work it out!
^ permalink raw reply [flat|nested] 10+ messages in thread
* Increasing font size
@ 2005-09-04 22:59 Rajiv Vyas
0 siblings, 0 replies; 10+ messages in thread
From: Rajiv Vyas @ 2005-09-04 22:59 UTC (permalink / raw)
How do I increase font size if I am running emacs in console. I use
Debian Sarge.
Rajiv
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-02-22 9:09 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-17 12:46 increasing font size Senthil
2006-02-18 10:44 ` Peter Dyballa
-- strict thread matches above, loose matches on Subject: below --
2006-02-21 9:30 Suguru Furuta
2006-02-22 9:09 ` Raimund Kohl-Fuechsle
2006-02-20 10:52 Suguru Furuta
2006-02-20 14:07 ` Raimund Kohl-Fuechsle
2006-02-20 23:26 ` Peter Dyballa
[not found] <mailman.515.1140191403.2856.help-gnu-emacs@gnu.org>
2006-02-18 17:47 ` Colin S. Miller
[not found] <mailman.5899.1125876082.20277.help-gnu-emacs@gnu.org>
2005-09-05 4:58 ` Increasing " Tim X
2005-09-04 22:59 Rajiv Vyas
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.