~protesilaos/modus-themes

4 2

Re: [Bug?] Headings override doesn't work any more

Details
Message ID
<87ilhfu101.fsf@protesilaos.com>
DKIM signature
missing
Download raw message
> From: Marko Kocic <m@euptera.com>
> Date: Mon,  9 Jan 2023 17:02:56 +0100
>
> Hi Protesilaos,

Hello Marko,

> I don't even load custom-file. I manually executed startup script step
> by step, and there's no modus-themes-headings variable before loading
> modus-themes, and after loading it, it's set up correctly. However, I
> still see today's entries in org-agenda as bold.
>
> I'm attaching a short version of my Emacs init file, which still shows the issue.

Thank you for sending your config.  This is how I tested it:

* I created the ~/marko-emacs directory.

* Inside that directory I placed your config and named it "init.el".

* Using my Emacs 30 build, I ran the following on the command-line:

      emacs --init-directory="/home/prot/mark-emacs"

* Emacs started up and installed all the packages.

* Once it was running, I did 'M-x org-agenda' and then typed 'a'.

* I got warnings that some files do not exist on my system, like
  "~/sync/org/finance.org".  This is normal.  I simply typed 'R' at the
  minibuffer prompts to remove those files from the list.

* I eventually got to the agenda buffer.  The headings have a regular
  weight.  See attached screenshot, which also includes the messages
  with the missing files.

Note that I do not have the fonts you are using.  I suspect that this
problem is related to them in some way.  Can you place the point over a
heading in the Org agenda and type 'M-x describe-char' (or 'C-u C-x ='
with the default key bindings)?  It will produce a Help buffer with
information about the underlying text.  Please share the contents of
that Help buffer.  It might help us find the solution.

-- 
Protesilaos Stavrou
https://protesilaos.com

Re: [Bug?] Headings override doesn't work any more

Marko Kocic <m@euptera.com>
Details
Message ID
<1000693665.280307.1673282658000@office.mailbox.org>
In-Reply-To
<87ilhfu101.fsf@protesilaos.com> (view parent)
DKIM signature
missing
Download raw message
Hi Protesilaos,

I removed the fonts' definition from init file, and the result is the same.
Just to make sure we are referring to the same thing, by agenda entries, I was referring to the entries inside today's list, not the date header itself. See image marked with yellow.

Previously, setting modus-thesems-headings to regular would make them regular too, now they are bold. Describe-chare is returning the following info for them:

             position: 527 of 2655 (20%), column: 34
            character: е (displayed as е) (codepoint 1077, #o2065, #x435)
              charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+FFFF))
code point in charset: 0x0435
               script: cyrillic
               syntax: w 	which means: word
             category: .:Base, L:Strong L2R, Y:2-byte Cyrillic, c:Chinese, h:Korean, j:Japanese, y:Cyrillic
             to input: type "C-x 8 RET 435" or "C-x 8 RET CYRILLIC SMALL LETTER IE"
          buffer code: #xD0 #xB5
            file code: #xD0 #xB5 (encoded by coding system utf-8-unix)
              display: by this font (glyph code):
    harfbuzz:-outline-Courier New-bold-normal-normal-mono-20-*-*-*-c-*-iso10646-1 (#x25F)

Character code properties: customize what to show
  name: CYRILLIC SMALL LETTER IE
  general-category: Ll (Letter, Lowercase)
  decomposition: (1077) ('е')

There are text properties here:
  breadcrumbs          nil
  date                 (1 9 2023)
  day                  738529
  done-face            org-agenda-done
  dotime               time
  duration             nil
  effort               nil
  effort-minutes       nil
  extra                "Scheduled: "
  face                 org-scheduled-today
  fontified            nil
  format               [Show]
  help-echo            "mouse-2 or RET jump to Org file s:/org/reminders.org"
  level                " "
  mouse-face           highlight
  org-agenda-type      agenda
  org-category         "reminders"
  org-complex-heading-regexp [Show]
  org-day-cnt          1
  org-habit-p          nil
  org-hd-marker        [Show]
  org-heading          t
  org-last-args        (nil nil week)
  org-marker           [Show]
  org-not-done-regexp  "\\(NEXT\\|STARTED\\|TODO\\|WAIT\\)"
  org-priority-highest 65
  org-priority-lowest  67
  org-redo-cmd         (org-agenda-list 'nil nil 'week nil)
  org-series-cmd       nil
  org-todo-regexp      "\\(DONE\\|NEXT\\|STARTED\\|TODO\\|WAIT\\)"
  priority             1099
  tags                 nil
  time                 ""
  time-of-day          nil
  todo-state           [Show]
  ts-date              738529
  txt                  [Show]
  type                 "scheduled"
  undone-face          org-scheduled-today
  warntime             nil


Best regards,
Marko

> Protesilaos Stavrou <info@protesilaos.com> hat am 09.01.2023 17:27 CET geschrieben:
> 
>  
> > From: Marko Kocic <m@euptera.com>
> > Date: Mon,  9 Jan 2023 17:02:56 +0100
> >
> > Hi Protesilaos,
> 
> Hello Marko,
> 
> > I don't even load custom-file. I manually executed startup script step
> > by step, and there's no modus-themes-headings variable before loading
> > modus-themes, and after loading it, it's set up correctly. However, I
> > still see today's entries in org-agenda as bold.
> >
> > I'm attaching a short version of my Emacs init file, which still shows the issue.
> 
> Thank you for sending your config.  This is how I tested it:
> 
> * I created the ~/marko-emacs directory.
> 
> * Inside that directory I placed your config and named it "init.el".
> 
> * Using my Emacs 30 build, I ran the following on the command-line:
> 
>       emacs --init-directory="/home/prot/mark-emacs"
> 
> * Emacs started up and installed all the packages.
> 
> * Once it was running, I did 'M-x org-agenda' and then typed 'a'.
> 
> * I got warnings that some files do not exist on my system, like
>   "~/sync/org/finance.org".  This is normal.  I simply typed 'R' at the
>   minibuffer prompts to remove those files from the list.
> 
> * I eventually got to the agenda buffer.  The headings have a regular
>   weight.  See attached screenshot, which also includes the messages
>   with the missing files.
> 
> Note that I do not have the fonts you are using.  I suspect that this
> problem is related to them in some way.  Can you place the point over a
> heading in the Org agenda and type 'M-x describe-char' (or 'C-u C-x ='
> with the default key bindings)?  It will produce a Help buffer with
> information about the underlying text.  Please share the contents of
> that Help buffer.  It might help us find the solution.
> 
> -- 
> Protesilaos Stavrou
> https://protesilaos.com

Re: [Bug?] Headings override doesn't work any more

Details
Message ID
<87fscj58vn.fsf@protesilaos.com>
In-Reply-To
<1000693665.280307.1673282658000@office.mailbox.org> (view parent)
DKIM signature
missing
Download raw message
> From: Marko Kocic <m@euptera.com>
> Date: Mon,  9 Jan 2023 17:44:17 +0100
>
> Hi Protesilaos,

Good day Marko,

> I removed the fonts' definition from init file, and the result is the
> same.  Just to make sure we are referring to the same thing, by agenda
> entries, I was referring to the entries inside today's list, not the
> date header itself. See image marked with yellow.

Oh, I misunderstood your comments!  I thought it was about the date
headings.

I will remove the unconditional bold weight from 'org-scheduled-today'.
Instead, it will use bold if 'modus-themes-bold-constructs' is non-nil.

All the best,
Protesilaos

-- 
Protesilaos Stavrou
https://protesilaos.com

Re: [Bug?] Headings override doesn't work any more

Marko Kocic <m@euptera.com>
Details
Message ID
<2001275461.76154.1673341867781@office.mailbox.org>
In-Reply-To
<87fscj58vn.fsf@protesilaos.com> (view parent)
DKIM signature
missing
Download raw message
Hi Protesilaos,

That's it, the old behaviour is restored. It works like a charm.
Thanks for your time and a quick fix.

Cheers,
Marko

> Protesilaos Stavrou <info@protesilaos.com> hat am 10.01.2023 05:08 CET geschrieben:
> 
>  
> > From: Marko Kocic <m@euptera.com>
> > Date: Mon,  9 Jan 2023 17:44:17 +0100
> >
> > Hi Protesilaos,
> 
> Good day Marko,
> 
> > I removed the fonts' definition from init file, and the result is the
> > same.  Just to make sure we are referring to the same thing, by agenda
> > entries, I was referring to the entries inside today's list, not the
> > date header itself. See image marked with yellow.
> 
> Oh, I misunderstood your comments!  I thought it was about the date
> headings.
> 
> I will remove the unconditional bold weight from 'org-scheduled-today'.
> Instead, it will use bold if 'modus-themes-bold-constructs' is non-nil.
> 
> All the best,
> Protesilaos
> 
> -- 
> Protesilaos Stavrou
> https://protesilaos.com

Re: [Bug?] Headings override doesn't work any more

Details
Message ID
<877cxu685u.fsf@protesilaos.com>
In-Reply-To
<2001275461.76154.1673341867781@office.mailbox.org> (view parent)
DKIM signature
missing
Download raw message
> From: Marko Kocic <m@euptera.com>
> Date: Tue, 10 Jan 2023 10:11:07 +0100
>
> Hi Protesilaos,

Hello Marko,

> That's it, the old behaviour is restored. It works like a charm.
> Thanks for your time and a quick fix.

You are welcome!

Have a nice day,
Protesilaos

-- 
Protesilaos Stavrou
https://protesilaos.com
Reply to thread Export thread (mbox)