Re: emacs question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday, Aug 23rd 2003 at 17:58 -0700, quoth Globe Trotter:

=>Thanks a lot!! This is very useful -- I guess the next question is: what if
=>some local user wants to modify it permanently for his account?
=>
=>Best wishes!
Whatta great question.

1) Sysadm sets the global env var XFILESEARCHPATH. Mine is:
/usr/X11R6/lib/X11/app-defaults/%N%C:/usr/share/texmf/xdvi/%N%C
Note the use of %N%C
The %N is the class name of the client. (In the case of emacs, the class 
name is Emacs.)
The %C is your customization resource. Mine is set in my .Xresources:
*customization: -color
*StringConversionWarnings: on

The .Xresources file is loaded at startup via the .xinitrc file:
xrdb -load ~/.Xresources 2> /dev/null &

2) The user sets the XUSERFILESEARCHPATH variable as his set of local 
overrides. Here's mine:
/home/steveo/.app-defaults/%N%C
Then in that directory is my personal Emacs-color which contains the 
following font resources:

Emacs*font: 6x10
Emacs.font-lock-function-name-face.attributeBold: true
                     Emacs.pane.menubar*fontList:6x10
             Emacs.pane.menubar.popup_*.fontList:6x10
        Emacs.pane.menubar.popup_*.labelFontList:6x10
      Emacs*secondary-selection*attributeFont: 6x10
Emacs*menubar*font:     -bitstream-charter-*-r-*-*-*-*-*-*-*-*-*-*
Emacs*menu.popup*font:  -bitstream-charter-*-r-*-*-*-*-*-*-*-*-*-*
     Emacs*Font.paneFont:    -bitstream-charter-*-r-*-*-*-*-*-*-*-*-*-*
Emacs*Font.selectionFont:       -bitstream-charter-*-r-*-*-*-*-*-*-*-*-*-*

Isn't that clear?


=>
=>--- Mike Faire <res0p1ia@xxxxxxxxxxx> wrote:
=>> On Saturday 23 August 2003 12:58, Globe Trotter wrote:
=>> > sorry to ask this, but does anyone know how to change the font for good in
=>> > the emacs window? i want to use the misc font, sized 10x20 and i am tired
=>> 
=>> 
=>> A good place to put permanent changes is in 
=>> /usr/X11R6/lib/X11/app-defaults/Emacs.
=>> 
=>> You will have to create the file named Emacs.
=>> 
=>> The contents of my Emacs file are:
=>> 
=>> Emacs*Background:	DarkSlateGrey
=>> Emacs*Foreground:	bisque
=>> Emacs*Font:		10x20
=>> Emacs*Geometry:	100x35
=>> 
=>> HTH 
=>> 
=>> Mike
=>> 
=>> 
=>> -- 
=>> Shrike-list mailing list
=>> Shrike-list@xxxxxxxxxx
=>> https://www.redhat.com/mailman/listinfo/shrike-list
=>
=>
=>__________________________________
=>Do you Yahoo!?
=>Yahoo! SiteBuilder - Free, easy-to-use web site design software
=>http://sitebuilder.yahoo.com
=>
=>
=>

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question?
steveo at syslang.net


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux