From: Teemu Likonen <tlikonen@iki.fi>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 43396@debbugs.gnu.org
Subject: bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode
Date: Mon, 14 Sep 2020 18:58:05 +0300 [thread overview]
Message-ID: <87mu1sxsdu.fsf@iki.fi> (raw)
In-Reply-To: <83o8m89xv8.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 836 bytes --]
* 2020-09-14 18:33:31+03, Eli Zaretskii wrote:
> I think you need to do that in server-after-make-frame-hook instead,
> to make it work in a daemon session. When the daemon reads your init
> file, it doesn't have a GUI frame to play with, so some
> display-related customizations don't work until there's a frame.
Thanks for the info. My quick fix with (when (daemonp) ...) works too,
and it happens before creating any frames.
;;; ~/.emacs.d/init.el
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file)
(when (daemonp)
(face-spec-set 'cursor '((((background dark)) :background "#fafafa")
(((background light)) :background "black"))))
--
/// Teemu Likonen - .-.. http://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
next prev parent reply other threads:[~2020-09-14 15:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-14 13:23 bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode Teemu Likonen
2020-09-14 15:33 ` Eli Zaretskii
2020-09-14 15:58 ` Teemu Likonen [this message]
2021-06-12 12:22 ` Lars Ingebrigtsen
2021-06-12 12:47 ` Eli Zaretskii
2021-06-13 7:56 ` Eli Zaretskii
2021-06-28 10:09 ` Teemu Likonen
2021-06-28 11:54 ` Eli Zaretskii
2021-06-28 12:51 ` Teemu Likonen
2021-06-28 14:53 ` Eli Zaretskii
2021-06-28 17:07 ` Teemu Likonen
2021-06-28 17:24 ` Eli Zaretskii
2021-06-28 18:47 ` Teemu Likonen
2021-06-29 12:21 ` Eli Zaretskii
2021-06-29 13:38 ` Teemu Likonen
2021-06-30 12:14 ` Lars Ingebrigtsen
2021-06-30 12:29 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mu1sxsdu.fsf@iki.fi \
--to=tlikonen@iki.fi \
--cc=43396@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).