From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mick Bert Newsgroups: gmane.emacs.help Subject: Re: Face customisation ignored Date: Fri, 14 Sep 2018 08:59:00 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1536908261 11789 195.159.176.226 (14 Sep 2018 06:57:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2018 06:57:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 08:57:37 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0i2q-0002vn-Pe for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2018 08:57:36 +0200 Original-Received: from localhost ([::1]:48368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0i4w-0000pq-Ut for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2018 02:59:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0i4W-0000pj-Bh for help-gnu-emacs@gnu.org; Fri, 14 Sep 2018 02:59:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0i4Q-0006iw-S2 for help-gnu-emacs@gnu.org; Fri, 14 Sep 2018 02:59:16 -0400 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:42457) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g0i4Q-0006gA-FB for help-gnu-emacs@gnu.org; Fri, 14 Sep 2018 02:59:14 -0400 Original-Received: by mail-wr1-x42d.google.com with SMTP id v17-v6so9169047wrr.9 for ; Thu, 13 Sep 2018 23:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=WstdzNuCzV7s4nR4IN+zacUuJ5gsVqkMVLJ5HmSS3i0=; b=mocF0HTtDt3RrZWQcUp4zg53KK++qbHbBaQdHmof+bHQlJes+D0gtCQT/K2W1noCYW UEHSQs46NmPAe55SFuQTDxaxB4EcAMTtnYA7R2/xshvQanXIR5pyCRbIVi+AFMZrRF44 Ndmi8d2V4OpaIgFAX857PyFGx37NCa1UpToXP1n3KjpJFzMFhQb4thyqkXKLlLujXoAc 2MZV5NounvGk5up4MbJp++HaNOBpmhwSdvuk5VHq9adi48tLd+XA0YA/i7dj4LTsQim+ 5JpLSs3H+ZyMkvr4HE1ApSocSOt+hZMylhxR5N9D5bMy/UTMezk0cAzVHHE0spp7j8G8 p/mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=WstdzNuCzV7s4nR4IN+zacUuJ5gsVqkMVLJ5HmSS3i0=; b=it/UJaJzdqN3Bew+06EyfIHPe6ji9QtvPxWv7WD4H9ap6U8LzgnPIC716igFF163sy i2xypFjEFXKmwDUkirBwNOGVRFOxC2w6W3yLk+QzWbBpi7S7GNE4aGJMcC/fVam/S7Nq n1batlOtZgre15E/g1pNppwGXt286JPxFbwbJdH5D9oqtEInAThmKknfotrfQFCN2+Me gUJ9ywBUJGNWHaNzrzzWvIyFvhLzsiQMBBF2P4hUofCUsk+U+nDCLcGtEupNcunCWWWe wFnpFnJISond4raWkY9KxfTv/f2fmZMQdc6XNakD9wxDym2/HzAYNi9DcKIdknemUfmW GJYQ== X-Gm-Message-State: APzg51A1T01/edWyJ881B5kNgOkvKVb88voQjtE0+xCY68nMgGNmojrG tsGOXHp07ku/iwDZPlc4s0PbQKX8QuzPjW+4Uq4LCvhx X-Google-Smtp-Source: ANB0VdbZa/BRfMMRaXapfZ8SVC3SbKHIEWywoM0xWm/yZ0mc70ZG8V3+1F2LaBPb1uiOea6NY0zjdeoQuXnMNLTnsAQ= X-Received: by 2002:a5d:4cc8:: with SMTP id c8-v6mr8826071wrt.210.1536908352359; Thu, 13 Sep 2018 23:59:12 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42d X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117897 Archived-At: Il giorno mer 12 set 2018 alle ore 11:36 Javier ha scritto: > > 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' > > Thanks for suggestion. I eventualy obtain the desired behavior by specifying all the face details (included background color) in the .emacs configuration file. > 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. I usually prefer the lucid version of emacs, but it's not in the repository my company set up for the machine I use (it's a mirror RHEL, containing just a sub-set of the packages). Even emacs itself was just a special concession. I am still curious to undersand why the two ways of starting the server behaves in different ways, but it's not critical. I mean, always starting from a clean context (that is without any running server), emacs reades the resources, while emacsclient --create-frame --alternate-editor=emacs does not -- Mick