From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.bugs Subject: bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode Date: Mon, 14 Sep 2020 16:23:39 +0300 Message-ID: <875z8g331g.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31166"; mail-complaints-to="usenet@ciao.gmane.io" To: 43396@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 14 15:24:29 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kHoT6-0007xm-Ot for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Sep 2020 15:24:29 +0200 Original-Received: from localhost ([::1]:54388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHoT5-0000Ee-Ka for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Sep 2020 09:24:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHoSh-0000EJ-62 for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 09:24:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHoSg-0008Ku-S2 for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 09:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHoSg-00057p-OT for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 09:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Teemu Likonen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Sep 2020 13:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43396 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160008983919690 (code B ref -1); Mon, 14 Sep 2020 13:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Sep 2020 13:23:59 +0000 Original-Received: from localhost ([127.0.0.1]:53122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHoSd-00057V-2G for submit@debbugs.gnu.org; Mon, 14 Sep 2020 09:23:59 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHoSa-00057N-64 for submit@debbugs.gnu.org; Mon, 14 Sep 2020 09:23:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHoSa-0000DZ-04 for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 09:23:56 -0400 Original-Received: from meesny.iki.fi ([195.140.195.201]:41270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHoSW-0008Jw-Ke for bug-gnu-emacs@gnu.org; Mon, 14 Sep 2020 09:23:55 -0400 Original-Received: from mithlond (mobile-access-5d6a6f-102.dhcp.inet.fi [93.106.111.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tlikonen) by meesny.iki.fi (Postfix) with ESMTPSA id D32B12021D for ; Mon, 14 Sep 2020 16:23:47 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1600089827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=pm1C22yJTAEmJwW0dGaLSx1AZItsIGtRQ6UOCGZGWGI=; b=LAb5wV1IJl5yL/GHfsy9Naj2ParnETC1uV7cYrk2uT5bKs4V8L6D7DfMx/O+hvFQex7Mp6 RYsfs9dMC5R0B7y03hfnpApTmyuSK0bkL5ruo3SIbZFIUTf29rmcjSYtplu5WDLgTI8zaP wrk4Z0Ec+RZ+VQ+obOyGGpNwN6SDfbM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1600089827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=pm1C22yJTAEmJwW0dGaLSx1AZItsIGtRQ6UOCGZGWGI=; b=YqSO7oAdgzL1VtBhD3fW8xOfD0uGOVFn90wcB39lzRWEHwCvc5fjHHjdIeXoihBhpKTod/ ziHSTysHlHr4Yjxq64C1GNtgiD0FsVBb/wwd4i/ZgJ3dRHxqdBmV/g7bsemBg7xqULDYET mkYHaL7QQfF2U6nShNTOlfQAcCyMHjk= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1600089827; a=rsa-sha256; cv=none; b=wma+puusGOAj0mZVCH9KZ2vah6uouo4DaQCENEgp6cRyzQMhZY9ywQ9TTVJRibzb/iIK/D HBdVYwqlsBxFqd2gvDQXZ4fTuDLnSbFWWjXaxPIc0ajcpoEPHWm4iGAdpZyjVTCWkYKFMx RbmG+ywkG3y4rybj9CJtFXI2BbTuxyg= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=tlikonen smtp.mailfrom=tlikonen@iki.fi Received-SPF: pass client-ip=195.140.195.201; envelope-from=tlikonen@iki.fi; helo=meesny.iki.fi X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 09:23:48 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188047 Archived-At: The "cursor" face's background attribute can be customized to change text cursor's color. However, customized cursor does not have any effect in Emacs session which is started with "emacs --daemon" in KDE Plasma desktop system. I can reliably reproduce this with these steps: 1. Create Emacs init file ("~/.emacs.el") with the following content: (custom-set-faces '(cursor ((t (:background "#0f0"))))) 2. Start "emacs" in normal mode to see that the cursor is green (#0f0). Close this Emacs session. 3. Start Emacs in daemon mode and open a client session: $ emacs --daemon=test $ emacsclient -c -s test This client session has black cursor, not green. (Stop the session: M-x kill-emacs RET) I would expect to see green (#0f0) cursor in Emacs daemon's client sessions too. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2020-08-09 built on mithlond Repository revision: 86d8d76aa36037184db0b2897c434cdaab1a9ae8 Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster) Recent messages: Loading /home/dtw/.emacs.d/omat/asetukset/org-kalenteri.el (source)...done Loading /home/dtw/.emacs.d/omat/asetukset/posti.el (source)...done Loading /home/dtw/.emacs.d/omat/asetukset/wcheck.el (source)...done Loading /home/dtw/.emacs.d/omat/asetukset/latex.el (source)...done Loading /home/dtw/.emacs.d/omat/asetukset/tulostus.el (source)...done Loading /home/dtw/.emacs.d/omat/asetukset/sekalaiset.el (source)...done Loading /home/dtw/.emacs.d/omat/asetukset/funktiot.el (source)...done Loading /home/dtw/.emacs.d/omat/asetukset/korjauksia.el (source)...done Starting Emacs daemon. When done with this frame, type C-x 5 0 Configured using: 'configure --prefix=/usr/local --with-x-toolkit=gtk3 --with-xwidgets --with-wide-int --without-compress-install' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD PDUMPER LCMS2 GMP Important settings: value of $LANG: fi_FI.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: winner-mode: t show-paren-mode: t global-undo-tree-mode: t undo-tree-mode: t icomplete-mode: t fido-mode: t cl-old-struct-compat-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t window-divider-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t visual-line-mode: t transient-mark-mode: t Load-path shadows: ~/.emacs.d/omat/elisp/loaddefs hides /usr/local/share/emacs/27.1/lisp/loaddefs Features: (shadow sort mail-extr emacsbug sendmail notmuch hl-line notmuch-tree notmuch-jump notmuch-hello wid-edit notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-message notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser notmuch-wash diff-mode easy-mmode coolj notmuch-query goto-addr thingatpt icalendar diary-lib diary-loaddefs suomalainen-kalenteri solar cal-dst holidays hol-loaddefs cal-menu calendar cal-loaddefs notmuch-tag crm notmuch-lib notmuch-version notmuch-compat mm-view mml-smime smime dig mailcap server rx message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader edmacro kmacro TL-theme winner ring paren undo-tree diff icomplete cus-start cus-load tex-site slime-autoloads info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 112103 10686) (symbols 48 13029 1) (strings 32 36830 2633) (string-bytes 1 1251488) (vectors 16 18840) (vector-slots 8 236189 4680) (floats 8 409 365) (intervals 56 316 0) (buffers 1000 14)) -- /// Teemu Likonen - .-.. http://www.iki.fi/tlikonen/ // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450