help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Face customisation ignored


From: Javier
Subject: Re: Face customisation ignored
Date: Wed, 12 Sep 2018 09:31:38 +0000 (UTC)
User-agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64))

Mick Bert <micbert75@gmail.com> wrote:
>
> and a chunk of my .Xresources
> 
> emacs*cursorBlibk:              true
> emacs*cursorColor:              #404040
> emacs*font:                     -*-fixed-*-r-*-*-10-*-*-*-*-*-*-*
> !emacs*font:                     
> -*-terminus-medium-*-*-*-14-*-*-*-*-*-iso8859-1
> !emacs*font:                     -*-nimbus mono
> l-medium-r-normal--0-0-*-*-*-*-iso8859-1
> emacs*foreground:        #404040
> emacs*geometry:            140x80
> emacs*reverseVideo:        true
> emacs*toolBar:            true
> emacs*fullscreen:        false

Using emacs*reverseVideo might not be a good idea.
Try setting background and foreground explicitly.
For testing you can put the resources in the command line.

emacs \
    -xrm 'emacs*background:   #404040' \
    -xrm 'emacs*foreground:   #0099FF'

emacsclient does not accept the xrm option, I guess because
the Xresources are loaded only once at the server initialization.

You can customize the frames created by emacsclient with
--frame-parameters=ALIST
--eval "(progn (...) (...))"

(info "(emacs) emacsclient Options")
(info "(emacs) Table of Resources")

After you edit ~/.Xresources remember to do

xrdb -merge ~/.Xresources

Also, if you are using .Xresources you may want to try emacs compiled
with the lucid toolkit instead of GTK.  Some of the .Xresources
values do not work with GTK.  You should have a package
emacs-lucid or emacs24-lucid in your distro.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]