From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: [Emacs 25.3.1] Running emacs daemon via systemd does not load GUI elements Date: Sun, 12 Nov 2017 07:29:07 +0200 Message-ID: <83wp2wm5ek.fsf@gnu.org> References: <838tfcoc5h.fsf@gnu.org> <52c2ac46-494b-f5ba-bef6-b94d2dbca009@redhat.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1510464583 26872 195.159.176.226 (12 Nov 2017 05:29:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Nov 2017 05:29:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 12 06:29:36 2017 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 1eDkpr-0006YV-JI for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Nov 2017 06:29:35 +0100 Original-Received: from localhost ([::1]:48074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDkpx-0001ea-3g for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Nov 2017 00:29:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDkpQ-0001eQ-9G for help-gnu-emacs@gnu.org; Sun, 12 Nov 2017 00:29:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDkpN-0006F6-6f for help-gnu-emacs@gnu.org; Sun, 12 Nov 2017 00:29:08 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDkpM-0006F1-SE for help-gnu-emacs@gnu.org; Sun, 12 Nov 2017 00:29:04 -0500 Original-Received: from [176.228.60.248] (port=3600 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eDkpM-0000gN-AY for help-gnu-emacs@gnu.org; Sun, 12 Nov 2017 00:29:04 -0500 In-reply-to: <52c2ac46-494b-f5ba-bef6-b94d2dbca009@redhat.com> (message from Gabriel Szasz on Sat, 11 Nov 2017 22:25:18 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:114863 Archived-At: > From: Gabriel Szasz > Date: Sat, 11 Nov 2017 22:25:18 +0100 > > Any other frame does not show images in Custom buffers as well. > Interesting thing is that buttons in the Custom buffers are trying to > emulate raised buttons (no brackets are rendered around the buttons), > but the buttons themselves are still rendered as text. The rendering of > Custom buffers in "emacsclient -c" does not look much different from > "emacsclient -t". The problem is that setting those two variables is not enough. In the case of Custom, there are also faces that need to be redefined, because they were initialized when your Emacs had no GUI frames. Look in cus-edit.el for the faces which mention custom-raised-buttons in their doc strings, and set their attributes as appropriate for GUI frames in your after-make-frame-functions hook. I guess something similar happens with Speedbar.