Authentication-Results: mail-b.sr.ht; dkim=pass header.d=protesilaos.com header.i=@protesilaos.com Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by mail-b.sr.ht (Postfix) with ESMTPS id AE0C211EF49 for <~protesilaos/lin@lists.sr.ht>; Thu, 9 Jun 2022 16:24:43 +0000 (UTC) Received: (Authenticated sender: public@protesilaos.com) by mail.gandi.net (Postfix) with ESMTPSA id E9439240003; Thu, 9 Jun 2022 16:24:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1654791882; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CfDTn7UdoEVbLjBxTaMubZwO2h3JfjgslEfjY1QK0t4=; b=X40sXWtSixu/2MJK2TT84KRyihmxRJo9cMkZZoUizHoa/sTHlBoygUmK9UsXule6QItiJX picxq9FltOCw3NUFO7wgcyaxIO4LKCyEbBQ6uTCngReiwbdrlYL2ChgTiqMzFhCav8qDZQ XOneHZacvgWCjT+wBwUbxKvNryyCFIV3ix4TGtZjmddXGbAZBfo6dsTwoh/yMVJIU7KU7R KPvq0OCYNGr8nykfravCd2pUhbOWxhhHSceqBxmcyOZhSUITfbVr+S5pkTSyTcsNg+scOR QQSEhvvy8IbxcC9OG0i16zpY5u1pves0OUwPmfOuYtIYnx1Yims+FmE5Vg4d+A== From: Protesilaos Stavrou To: Christian Tietze , ~protesilaos/lin@lists.sr.ht Subject: Re: lin-mode in dired buffers with Mac colors doesn't combine well with region colors In-Reply-To: References: User-Agent: Notmuch/0.36 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Thu, 09 Jun 2022 19:24:37 +0300 Message-ID: <87pmjhvm7u.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: text/plain > From: Christian Tietze > Date: Thu, 09 Jun 2022 17:31:08 +0200 Hello Christian! > Would I have to disable `lin-mode` in dired, or is it possible to add > a quick fix to faces for this combo in my config? These kind of clashes are unfortunate. We can tweak the colour of the accented region in the modus-themes, though that might have other knock-on effects. Maybe there is another macOS colour you could use? To disable lin in dired, remove it from the lin-mode-hooks: (setq lin-mode-hooks '(bongo-mode-hook ;; dired-mode-hook elfeed-search-mode-hook git-rebase-mode-hook ibuffer-mode-hook ilist-mode-hook ledger-report-mode-hook log-view-mode-hook magit-log-mode-hook mu4e-headers-mode notmuch-search-mode-hook notmuch-tree-mode-hook occur-mode-hook org-agenda-mode-hook tabulated-list-mode-hook)) Then you will need to: (add-hook 'dired-mode-hook #'hl-line-mode) Toggle lin-global-mode for changes to take effect. -- Protesilaos Stavrou https://protesilaos.com