From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qGzvBT+oAWeSPgAAe85BDQ:P1 (envelope-from ) for ; Sat, 05 Oct 2024 20:57:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qGzvBT+oAWeSPgAAe85BDQ (envelope-from ) for ; Sat, 05 Oct 2024 22:57:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=slmails.com header.s=dkim header.b=XSFKUjEC; dmarc=pass (policy=quarantine) header.from=slmails.com; arc=pass ("simplelogin.co:s=arc-20230626:i=1"); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=2; s=key1; d=yhetil.org; t=1728161855; a=rsa-sha256; cv=pass; b=ppX2aUdEpYoxNjCFqDo0t7kPW1BVqoh5wycrH1CoV+nTFgLnY2cY9/7UE5wG1ttfLMqM7W ZoyJvWuvi6eGut0VWUOdOODrFAIquZ2XXhnE+pCo8ZD91iatRNCO6D0rcxamSX5YxPmujv mm9JWTLcLSMQsZPi+BAkvcV6xeqsWjvrUW6r1VU/3xASExoCZp4ten9bWheZK/GHf6DymB +AVknPKwPzRlRbQgLA9xhU5K/IflEGM/ODPh0qB3SIFRTrOytCt89SK7d61nH8CPJRhr3U a66Pw9ddo+PQNNl2xzlBmEVemDmlo4nJMcOomNDn6bMnLT1MI1hbdKMNlO/JzA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=slmails.com header.s=dkim header.b=XSFKUjEC; dmarc=pass (policy=quarantine) header.from=slmails.com; arc=pass ("simplelogin.co:s=arc-20230626:i=1"); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728161855; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dkyfpAVjmCYvik+dvGBAT6z/fykB0Sl5pMPsirLIr/I=; b=kIaVQrkxC8kavbMJGQU79G6RBoaOpKxlp3ykgqlYgI8UfnY8oETRIeh1rCIY8oRzduQ6FB CHD27AIEfkeqJpJEwDdsVdj58V+Vyo6lt+YYWH+MiScOEOdDMuuxk91Qe8PK41Rm+mjnwk cFXuNpubyQs2SgyThoG+M0TBXRr89MmjI+2MCVe4H21bKbGZmgyj89tcYcxphz/YOg5Jv+ ShIG967/yMkpjpJxEnYcqaNWFhHCMrAPHJmgRg9gBTKO4XOVNlYrpXTOFAXg+YfDnrzIZi rL2LdgEfdSJQDBX1qwyMfYU/Yva0azlRGjjH0qWjZQXUgbZPTrtxHAYiaqrKxw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9630F1C368 for ; Sat, 05 Oct 2024 22:57:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxBpL-00023x-8G; Sat, 05 Oct 2024 16:56:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxBpI-00023X-Kv for emacs-orgmode@gnu.org; Sat, 05 Oct 2024 16:56:32 -0400 Received: from mail-200166.simplelogin.co ([176.119.200.166]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxBpG-0006fl-N6 for emacs-orgmode@gnu.org; Sat, 05 Oct 2024 16:56:32 -0400 ARC-Seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1728161786; cv=none; b=xmPvar0HStvRI1/2gzagODvRP+seuebU21NNumZXXWUiw8YjaM7MDbaGPZP0toe51bDe6EhJtFStWCkpl9sl7y1zU1mzd8g5WDn/P9jz/5B5Cel50Q6ZleJnNJkvYfZNh+KECezbcgdERS8laKRcLhkfrkgoo3HTaRVnjlj+sjNWpwU8FZiYM2Lc2T2zegiLGGaKhQ8j7cbvoWxXDY7HTwpOA4DuxKeZSAVpZ5wbtAJoS7Z/XvnirM62ToDJ+ipioiLwKDNWaEKskKL5esVP7Rm5nGlq2SuYGeq4EpftTl7AwXF7kEtx9b5PHcVUd1fPqt8SoB6p4mpg1yLY7Ev9iA== ARC-Message-Signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1728161786; c=relaxed/simple; bh=VdyyFTsvADGaVIrmmO8ZPMi5n3aMs2w8kdKlp5tOLV0=; h=Date:Subject:In-Reply-To:From:To:Cc:References; b=JVtrMKxkSnpCrS6JM0PstGbjG0BwKjsrVDe7YYvItOzxhmSmoFBSAJahtiAfxHdvs29ohpCqVxphNcF7Byn1gw2VLcic04vKIRQFKmYHgpbZehaRQxnvhkAXki+zWTOw3Tc2p0ijkSlQMQ2VQO7MhQ+y3Zw+8SS4X1wtoAYy7SMxOeRjJSgNCwKvPg8FxKSQUHSufUz47mPsfntU82myPcz+ne5GVeFKL9TT8y6JKlzePv51gT5OKrDVFMbULbTDsJymTGLQHGf513FdYpqG3QOuEltI/3K+dDBCslkRkMvMpVlDMQtOqu/jsJnSxJtM1i/rJs8AyuZDfiBpwHzokg== ARC-Authentication-Results: i=1; mail.protonmail.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=slmails.com; s=dkim; t=1728161786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dkyfpAVjmCYvik+dvGBAT6z/fykB0Sl5pMPsirLIr/I=; b=XSFKUjEC+FkLcd/qnOewEa3rJjY7PB0d6V+kw5oNxIVrF4merySmjyi7EBCvmq8oeZxaUX QTkoJJL0cxwEcxgHimVpkf0NEbbwKftN1vFqDUlxzDIAl1BKk7vLoyJf9ypCNiWuiV62ga 3dYj51WIfdXhzJ0XfXWxxF6+/pr/s/o= Content-Type: multipart/alternative; boundary="------------ZgZAAzFSgF1hkSZvDYpoLcd1" Date: Sat, 5 Oct 2024 22:56:19 +0200 Subject: Re: HELP: org-levels customization In-Reply-To: <87cyke7bj7.fsf@protonmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Kepa To: Dilip Cc: "emacs-orgmode@gnu.org" Message-ID: <172816178656.7.11091441094232641204.454496322@slmails.com> References: <87cyke7bj7.fsf@protonmail.com> X-SimpleLogin-Type: Reply X-SimpleLogin-EmailLog-ID: 454496323 X-SimpleLogin-Want-Signing: yes Received-SPF: pass client-ip=176.119.200.166; envelope-from=sl.lmysyibugu2diojwgmzdglbage2dkmrxg43f2.xwi6dxnsisejm@slmails.com; helo=mail-200166.simplelogin.co 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, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.54 X-Spam-Score: -4.54 X-Migadu-Queue-Id: 9630F1C368 X-Migadu-Scanner: mx10.migadu.com X-TUID: +N0CNL0W3J8B --------------ZgZAAzFSgF1hkSZvDYpoLcd1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 05/10/2024 18:35, idlip at protonmail.com wrote: > > In Emacs -Q there is not this issue. > > This indicates the issue is with your config. Yes, that's for sure. > > I suspect it can be from theme. When I make a search for "theme" word in my init.el file, I get just one result:  '(custom-safe-themes '(default)) > > Are you sure there is no config editing org-level-* faces somewhere? When I make a search for "org-level", I only get org-level as inheritance (aside from the set-face-attribute I shared before). Example:  '(org-upcoming-deadline ((t (:inherit org-level-3)))) > > > (set-face-attribute 'org-level-1 nil :inherit 'org-default :height 1.5) > > (set-face-attribute 'org-level-2 nil :inherit 'org-level-1 :height 1.4) > > (set-face-attribute 'org-level-3 nil :inherit 'org-level-1 :height 1.2) > > Also do note height work as an increment from inherited value. It does > override. So according to this config org-level-2 height will be 1.4x > times that of org-level-1. Yes, the problem by now is that I don't get any change in org-level-2, 3, etc. whatever the value I set. > > > When I evaluate (describe-face) on any headline level, it consistently > > reports that it is org-level-1. > I assume you are calling it interactively (via M-x), this gets > completing-read and allows you to select. Maybe you got only org-level-1 > and selectec it? I call (describe-face) interactively, and it offers a default selection. This default selection is always the face where the point is on. Although the point was on a headline of level 2, 3, etc, when calling (describe-face) the default selected face is always org-level-1. > > Try this, > > (set-face-attribute 'org-level-1 nil :height 1.5 :foreground "#b4befe") > (set-face-attribute 'org-level-2 nil :height 1.4 :foreground "#f5deb5") org-level-1 changes are applied to every org-level: https://ibb.co/XW2KSF3 > > Again, if it works in emacs -Q or vanilla org-mode. You need to debug > your init and theme. I know. I tried bug hunter. Any help? > > -- > Best, > Dilip Best regards! --------------ZgZAAzFSgF1hkSZvDYpoLcd1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 05/10/2024 18:35, idlip at protonmail.com wrote:
> In Emacs -Q there is not this issue.

This indicates the issue is with your config.
Yes, that's for sure.

I suspect it can be from theme.

When I make a search for "theme" word in my init.el file, I get just one result:

 '(custom-safe-themes '(default))


Are you sure there is no config editing org-level-* faces somewhere?

When I make a search for "org-level", I only get org-level as inheritance (aside from the set-face-attribute I shared before). Example:

 '(org-upcoming-deadline ((t (:inherit org-level-3))))


> (set-face-attribute 'org-level-1 nil :inherit 'org-default :height 1.5)
> (set-face-attribute 'org-level-2 nil :inherit 'org-level-1 :height 1.4)
> (set-face-attribute 'org-level-3 nil :inherit 'org-level-1 :height 1.2)

Also do note height work as an increment from inherited value. It does
override. So according to this config org-level-2 height will be 1.4x
times that of org-level-1.
Yes, the problem by now is that I don't get any change in org-level-2, 3, etc. whatever the value I set.

> When I evaluate (describe-face) on any headline level, it consistently
> reports that it is org-level-1.
I assume you are calling it interactively (via M-x), this gets
completing-read and allows you to select. Maybe you got only org-level-1
and selectec it?

I call (describe-face) interactively, and it offers a default selection. 

This default selection is always the face where the point is on. Although the point was on a headline of level 2, 3, etc, when calling (describe-face) the default selected face is always org-level-1.


Try this,

(set-face-attribute 'org-level-1 nil :height 1.5 :foreground "#b4befe")
(set-face-attribute 'org-level-2 nil :height 1.4 :foreground "#f5deb5")

org-level-1 changes are applied to every org-level:

https://ibb.co/XW2KSF3


Again, if it works in emacs -Q or vanilla org-mode. You need to debug
your init and theme.

I know. I tried bug hunter. 

Any help?


--
Best,
Dilip
Best regards!
--------------ZgZAAzFSgF1hkSZvDYpoLcd1--