emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kepa <gnu.cognition199@slmails.com>
To: Dilip <idlip@protonmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: HELP: org-levels customization
Date: Sat, 5 Oct 2024 22:56:19 +0200	[thread overview]
Message-ID: <172816178656.7.11091441094232641204.454496322@slmails.com> (raw)
In-Reply-To: <87cyke7bj7.fsf@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 2071 bytes --]

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!

[-- Attachment #2: Type: text/html, Size: 3250 bytes --]

  reply	other threads:[~2024-10-05 20:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-05 12:25 HELP: org-levels customization Kepa
2024-10-05 16:35 ` Dilip via General discussions about Org-mode.
2024-10-05 20:56   ` Kepa [this message]
2024-10-06  0:25   ` [SOLVED]: " Kepa

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=172816178656.7.11091441094232641204.454496322@slmails.com \
    --to=gnu.cognition199@slmails.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=idlip@protonmail.com \
    /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/org-mode.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).