all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: starting emacs with -fn 10x20 from .emacs
       [not found] <mailman.1964.1181597049.32220.help-gnu-emacs@gnu.org>
@ 2007-06-12 18:17 ` s. keeling
  2007-06-13 11:02   ` Raimund Kohl-Fuechsle
       [not found]   ` <mailman.2095.1181732975.32220.help-gnu-emacs@gnu.org>
  2007-06-12 19:54 ` Stefan Monnier
  1 sibling, 2 replies; 6+ messages in thread
From: s. keeling @ 2007-06-12 18:17 UTC (permalink / raw)
  To: help-gnu-emacs

Ryan Moszynski <ryan.m.lists@gmail.com>:
> 
>  here's how i launch emacs through the kde menu:
> 
>  /usr/local/bin/emacs-22.0.92 -font 10x20
> 
>  however, if i start the emacs session from a terminal or as root, i have to 
>  either type the "-font 10x20" every time, or change the font after i start 
>  emacs through shift/left-click.  I have been looking but i cannot find how to 
>  do this through my .emacs file.

That's X's job.  Put it into ~/.Xresources:

Emacs*font:                        fixed
Emacs*foreground:                  wheat
Emacs*background:                  black
Emacs*cursorColor:                 green
Emacs.geometry:                    105x48-58+28
Emacs.dialog*.background:          LightSteelBlue1
Emacs.dialog*.foreground:          DarkRed

Then run "xrdb -merge ~/.Xresources".


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling          Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: starting emacs with -fn 10x20 from .emacs
       [not found] <mailman.1964.1181597049.32220.help-gnu-emacs@gnu.org>
  2007-06-12 18:17 ` starting emacs with -fn 10x20 from .emacs s. keeling
@ 2007-06-12 19:54 ` Stefan Monnier
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2007-06-12 19:54 UTC (permalink / raw)
  To: help-gnu-emacs

> however, if i start the emacs session from a terminal or as root, i have to 
> either type the "-font 10x20" every time, or change the font after i start 
> emacs through shift/left-click.  I have been looking but i cannot find how to 
> do this through my .emacs file.

M-x customize-face RET default RET


        Stefan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: starting emacs with -fn 10x20 from .emacs
  2007-06-12 18:17 ` starting emacs with -fn 10x20 from .emacs s. keeling
@ 2007-06-13 11:02   ` Raimund Kohl-Fuechsle
       [not found]   ` <mailman.2095.1181732975.32220.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Raimund Kohl-Fuechsle @ 2007-06-13 11:02 UTC (permalink / raw)
  Cc: help-gnu-emacs

s. keeling wrote:
> Ryan Moszynski <ryan.m.lists@gmail.com>:
>   
>>  here's how i launch emacs through the kde menu:
>>
>>  /usr/local/bin/emacs-22.0.92 -font 10x20
>>
>>  however, if i start the emacs session from a terminal or as root, i have to 
>>  either type the "-font 10x20" every time, or change the font after i start 
>>  emacs through shift/left-click.  I have been looking but i cannot find how to 
>>  do this through my .emacs file.
>>     
>
> That's X's job.  Put it into ~/.Xresources:
>   
sure?  AFAIK neither GDM nor KDM do read the XResources ...

ray

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [OT] Re: starting emacs with -fn 10x20 from .emacs
       [not found]   ` <mailman.2095.1181732975.32220.help-gnu-emacs@gnu.org>
@ 2007-06-13 16:09     ` s. keeling
  2007-06-14  6:59     ` Cecil Westerhof
  1 sibling, 0 replies; 6+ messages in thread
From: s. keeling @ 2007-06-13 16:09 UTC (permalink / raw)
  To: help-gnu-emacs

Raimund Kohl-Fuechsle <Raimund.Kohl@nabuli.de>:
>  s. keeling wrote:
> > Ryan Moszynski <ryan.m.lists@gmail.com>:
> >   
> >>  here's how i launch emacs through the kde menu:
> >>
> >>  /usr/local/bin/emacs-22.0.92 -font 10x20
> >>
> >>  however, if i start the emacs session from a terminal or as root, i have to 
> >>  either type the "-font 10x20" every time, or change the font after i start 
> >
> > That's X's job.  Put it into ~/.Xresources:
> 
>  sure?  AFAIK neither GDM nor KDM do read the XResources ...

That's insane (if true).  Do you have a ~/.xinitrc or ~/.xsession?
Add "xrdb -merge ~/.Xresources" to it.  *DM do source one or the other
(or either) of those files.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling          Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: starting emacs with -fn 10x20 from .emacs
       [not found]   ` <mailman.2095.1181732975.32220.help-gnu-emacs@gnu.org>
  2007-06-13 16:09     ` [OT] " s. keeling
@ 2007-06-14  6:59     ` Cecil Westerhof
  2007-06-14 16:01       ` s. keeling
  1 sibling, 1 reply; 6+ messages in thread
From: Cecil Westerhof @ 2007-06-14  6:59 UTC (permalink / raw)
  To: help-gnu-emacs

Raimund Kohl-Fuechsle wrote:
>> That's X's job.  Put it into ~/.Xresources:
>>   
> sure?  AFAIK neither GDM nor KDM do read the XResources ...

That is true, but it reads ~/.Xdefault. I use:
################################################################################
emacs.geometry:   250x150+0+0
emacs.background: black
emacs.foreground: white
emacs.font:       *-courier-medium-r-*-*-*-180-*-*-*-*-*-*
emacs.toolBar:    off
################################################################################
And it works like a charm.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: starting emacs with -fn 10x20 from .emacs
  2007-06-14  6:59     ` Cecil Westerhof
@ 2007-06-14 16:01       ` s. keeling
  0 siblings, 0 replies; 6+ messages in thread
From: s. keeling @ 2007-06-14 16:01 UTC (permalink / raw)
  To: help-gnu-emacs

Cecil Westerhof <dummy@dummy.nl>:
>  Raimund Kohl-Fuechsle wrote:
> >>[me]:
> >> That's X's job.  Put it into ~/.Xresources:
> >>   
> > sure?  AFAIK neither GDM nor KDM do read the XResources ...
> 
>  That is true, but it reads ~/.Xdefault. I use:

s/Xdefault/Xdefaults/         :-)


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling          Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-06-14 16:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1964.1181597049.32220.help-gnu-emacs@gnu.org>
2007-06-12 18:17 ` starting emacs with -fn 10x20 from .emacs s. keeling
2007-06-13 11:02   ` Raimund Kohl-Fuechsle
     [not found]   ` <mailman.2095.1181732975.32220.help-gnu-emacs@gnu.org>
2007-06-13 16:09     ` [OT] " s. keeling
2007-06-14  6:59     ` Cecil Westerhof
2007-06-14 16:01       ` s. keeling
2007-06-12 19:54 ` Stefan Monnier

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.