MLUG: [MLUG] emacs, Xdefaults and "-name"
[MLUG] emacs, Xdefaults and "-name"
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I was using the following settings in ~/.Xdefaults...

! GNU Emacs settings (man emacs):
emacs.foreground:       White
emacs.background:       Black
emacs.borderColor:      Gray
emacs.cursorColor:      Red
emacs.pointerColor:     Yellow


...and I thought they were working, but I was wrong. I had forgotten that emacs is not reading my ~/.Xdefaults and I have been using an alias (tcsh) to load emacs:


emacs -d $DISPLAY -fg white -bg black -bd gray -cr red -ms yellow -i -name "!$" -T "Emacs: EMAIL:PROTECTED: !$" !* &

If I turn off the color settings like so...

emacs -d $DISPLAY -i -name "!$" -T "Emacs: EMAIL:PROTECTED: !$" !* &

...the colors revert to black letters on a white background.

It took my a while to figure out what my problem is but it seems to be due to my misunderstanding of the "-name" option. I thought it was the name for the icon when emacs is minimized, but it seems to be something much more complex than that.

Anyway, removing the name argument fixed this! So now I can use this alias (tcsh) with .Xdefaults handling the colors:

emacs -d $DISPLAY -i -T "Emacs: EMAIL:PROTECTED: !$" !* &

Yes, I am slowly converting over to bash -- more on that later.

Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members