all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* setting site-wide default colors,fonts,... in Emacs
@ 2002-12-28 23:47 Frank C. Weiler
  2002-12-30 15:26 ` Richard Stallman
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Frank C. Weiler @ 2002-12-28 23:47 UTC (permalink / raw)
  Cc: monnier

Help,

I have gone through the documentaiton several times,
and am not able to locate WHERE the site wide default
color scheme and default fonts are established for
any user.  I know that one can setup color schemes
in Xdefaults:Emacs... but I would like to establish
the defaults for ALL users.  Does this have to be set
at compile time? or is there a site-wide initiializaiton
file that will establish the default colors and fonts?

If you can point me where to go to find this information,
in a specific manner, I would be greatfully thankfull.

Please help me.

Frank C. Weiler
850 Quetta Avenue
Sunnyvale, CA 94087

E-Mail:  fcweiler@sbcglobal.net
E-Mail:  frank.weiler@lmco.com

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

* Re: setting site-wide default colors,fonts,... in Emacs
       [not found] <mailman.676.1041119392.19936.help-gnu-emacs@gnu.org>
@ 2002-12-29 11:33 ` Kai Großjohann
  2002-12-29 13:45   ` Ehud Karni
  2002-12-30 16:20   ` Hallvard B Furuseth
  0 siblings, 2 replies; 8+ messages in thread
From: Kai Großjohann @ 2002-12-29 11:33 UTC (permalink / raw)


"Frank C. Weiler" <fcweiler@sbcglobal.net> writes:

> I have gone through the documentaiton several times, and am not able
> to locate WHERE the site wide default color scheme and default fonts
> are established for any user.

All X applications use a similar mechanism.  In particular, the
environment variables XUSERFILESEARCHPATH and XFILESEARCHPATH are
evaled.

You could also use strace (or trace or truss or ktrace, depending on
OS) on an invocation of Emacs.  Look for stat or open calls on files
named Emacs (with capital E).
-- 
Ambibibentists unite!

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

* Re: setting site-wide default colors,fonts,... in Emacs
  2002-12-29 11:33 ` Kai Großjohann
@ 2002-12-29 13:45   ` Ehud Karni
  2002-12-30 16:20   ` Hallvard B Furuseth
  1 sibling, 0 replies; 8+ messages in thread
From: Ehud Karni @ 2002-12-29 13:45 UTC (permalink / raw)
  Cc: help-gnu-emacs

On Sun, 29 Dec 2002 12:33:53 +0100, kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) wrote:
> 
> "Frank C. Weiler" <fcweiler@sbcglobal.net> writes:
> 
> > I have gone through the documentaiton several times, and am not able
> > to locate WHERE the site wide default color scheme and default fonts
> > are established for any user.

If you settle for changing the defaults by lisp (like I do) you can do
it by creating a `default.el' or `site-start.el' in your site-lisp 
directory, and putting your elisp commands there. Check your       
`load-path' variable for the exact directory on your system (usually
it is the 1st directory in `load-path').

See the node "The Init File, `~/.emacs'" in the Emacs info for more
information.

Ehud.


-- 
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 mailto:ehud@unix.mvs.co.il                  Better  Safe  Than  Sorry

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

* Re: setting site-wide default colors,fonts,... in Emacs
  2002-12-28 23:47 setting site-wide default colors,fonts,... in Emacs Frank C. Weiler
@ 2002-12-30 15:26 ` Richard Stallman
  2002-12-30 18:15 ` Gerd Moellmann
       [not found] ` <mailman.714.1041272566.19936.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Richard Stallman @ 2002-12-30 15:26 UTC (permalink / raw)
  Cc: monnier

    I have gone through the documentaiton several times,
    and am not able to locate WHERE the site wide default
    color scheme and default fonts are established for
    any user.  I know that one can setup color schemes
    in Xdefaults:Emacs... but I would like to establish
    the defaults for ALL users.

I am not sure.  When you find out, please tell me, and I will
document it in the Emacs manual.

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

* Re: setting site-wide default colors,fonts,... in Emacs
  2002-12-29 11:33 ` Kai Großjohann
  2002-12-29 13:45   ` Ehud Karni
@ 2002-12-30 16:20   ` Hallvard B Furuseth
  1 sibling, 0 replies; 8+ messages in thread
From: Hallvard B Furuseth @ 2002-12-30 16:20 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:
>Frank C. Weiler <fcweiler@sbcglobal.net> writes:
>> I have gone through the documentaiton several times, and am not able
>> to locate WHERE the site wide default color scheme and default fonts
>> are established for any user.
> 
> You could also use strace (or trace or truss or ktrace, depending on
> OS) on an invocation of Emacs.  Look for stat or open calls on files
> named Emacs (with capital E).

...in the lib/X11/app-defaults directory.  On my site, it would be
  /local/X11R6/lib/X11/app-defaults/Emacs
which could contain lines like
  *foreground: blue

-- 
Hallvard

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

* Re: setting site-wide default colors,fonts,... in Emacs
  2002-12-28 23:47 setting site-wide default colors,fonts,... in Emacs Frank C. Weiler
  2002-12-30 15:26 ` Richard Stallman
@ 2002-12-30 18:15 ` Gerd Moellmann
       [not found] ` <mailman.714.1041272566.19936.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Gerd Moellmann @ 2002-12-30 18:15 UTC (permalink / raw)
  Cc: monnier

"Frank C. Weiler" <fcweiler@sbcglobal.net> writes:

> If you can point me where to go to find this information,
> in a specific manner, I would be greatfully thankfull.

For Xt, you may want to look at the Xt FAQ (look for app-defaults).

For bare X, I think you'll have to modify some shell script starting a
user session or X.  Man xdm, if you are using xdm.

Don't know for KDE or Gnome.

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

* Re: setting site-wide default colors,fonts,... in Emacs
       [not found] ` <mailman.714.1041272566.19936.help-gnu-emacs@gnu.org>
@ 2002-12-30 21:03   ` those who know me have no need of my name
  0 siblings, 0 replies; 8+ messages in thread
From: those who know me have no need of my name @ 2002-12-30 21:03 UTC (permalink / raw)


in gnu.emacs.help i read:
>"Frank C. Weiler" <fcweiler@sbcglobal.net> writes:

>> If you can point me where to go to find this information,
>> in a specific manner, I would be greatfully thankfull.
>
>For Xt, you may want to look at the Xt FAQ (look for app-defaults).
>
>For bare X, I think you'll have to modify some shell script starting a
>user session or X.  Man xdm, if you are using xdm.
>
>Don't know for KDE or Gnome.

perhaps richard was too subtle.  there is no `one place' where these things
are set.  some window managers ignore the xrdb in favor of something of
their own, others just pay no attention to anything but their compiled
settings or when you are lucky command line arguments.  and every
application has the same choices.  it's a wilderness, and it's getting
worse.

-- 
bringing you boring signatures for 17 years

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

* Re: setting site-wide default colors,fonts,... in Emacs
@ 2002-12-31 11:40 Hans Larsen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Larsen @ 2002-12-31 11:40 UTC (permalink / raw)
  Cc: help-gnu-emacs

Hello,

>For Xt, you may want to look at the Xt FAQ (look for app-defaults) 
SuSE 8.1: /usr/X11R6/lib.X11/app-defaults/Emacs

SuSE 8.1:  don't forget to either prevent .emacs from reading
 /etc/skel/.gnu-emacs or changing /etc/skel/.gnu-emacs

>Don't know for KDE or Gnome 
In case of KDE changing /usr/X11R6/lib.X11/app-defaults/Emacs
is sufficient.

Cheers
-Hans

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

end of thread, other threads:[~2002-12-31 11:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-28 23:47 setting site-wide default colors,fonts,... in Emacs Frank C. Weiler
2002-12-30 15:26 ` Richard Stallman
2002-12-30 18:15 ` Gerd Moellmann
     [not found] ` <mailman.714.1041272566.19936.help-gnu-emacs@gnu.org>
2002-12-30 21:03   ` those who know me have no need of my name
     [not found] <mailman.676.1041119392.19936.help-gnu-emacs@gnu.org>
2002-12-29 11:33 ` Kai Großjohann
2002-12-29 13:45   ` Ehud Karni
2002-12-30 16:20   ` Hallvard B Furuseth
  -- strict thread matches above, loose matches on Subject: below --
2002-12-31 11:40 Hans Larsen

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.