emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Faces and spaces
@ 2020-04-21  7:44 Norman Tovey-Walsh
  2020-04-21 17:42 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Norman Tovey-Walsh @ 2020-04-21  7:44 UTC (permalink / raw)
  To: emacs-orgmode

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

Hello,

I admit, up front, that this is of no practical consequence, but it’s
something that distracts me every single time I see it. (Which, I might
argue, is a practical consequence *for me*.)

Consider the following todo:

** TODO Do something next week.
   DEADLINE: <2020-04-28 Tue>
   :PROPERTIES:
   :CREATED:  [2020-04-21 Tue 08:17]
   :END:
   This is the thing to do.

DEADLINE: and :CREATED: are in the org-special-keyword face.
:PROPERTIES: and :END: are in the org-drawer face.

Both of those faces are monospace and I would prefer them to remain that
way.

The prose of my entry is fontified but not in any special face. I’m
using the Poet theme so that means it’s in some proportional face.

Here’s the source of my irritation: the spaces preceding “DEADLINE” and
“:CREATED:” are, like the prose, simply fontified. The spaces preceding
“:PROPERTIES:” and “:END:” are in the org-drawer face.

What this means is that the entry appears like this:

** TODO Do something next week.
   DEADLINE: <2020-04-28 Tue>
     :PROPERTIES:
   :CREATED:  [2020-04-21 Tue 08:17]
     :END:
   This is the thing to do.

Is there any way to get the spaces preceding both sets of lines in the
same face? I don’t much care which, I’d just prefer if they were
aligned. Even getting just :CREATED: aligned would be an improvement.

I think they’d align if I put the monospace ones in the proportional
font, so I guess that’s an option, but I’d prefer to have them
monospace.

                                        Be seeing you,
                                          norm

--
Norman Tovey-Walsh <ndw@nwalsh.com>
https://nwalsh.com/

> Hanging is too good for a man who makes puns; he should be drawn and
> quoted.--Fred Allen

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Faces and spaces
  2020-04-21  7:44 Faces and spaces Norman Tovey-Walsh
@ 2020-04-21 17:42 ` Nicolas Goaziou
  2020-04-22  6:38   ` Norman Tovey-Walsh
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2020-04-21 17:42 UTC (permalink / raw)
  To: Norman Tovey-Walsh; +Cc: emacs-orgmode

Hello,

Norman Tovey-Walsh <ndw@nwalsh.com> writes:

> I admit, up front, that this is of no practical consequence, but it’s
> something that distracts me every single time I see it. (Which, I might
> argue, is a practical consequence *for me*.)
>
> Consider the following todo:
>
> ** TODO Do something next week.
>    DEADLINE: <2020-04-28 Tue>
>    :PROPERTIES:
>    :CREATED:  [2020-04-21 Tue 08:17]
>    :END:
>    This is the thing to do.
>
> DEADLINE: and :CREATED: are in the org-special-keyword face.
> :PROPERTIES: and :END: are in the org-drawer face.
>
> Both of those faces are monospace and I would prefer them to remain that
> way.
>
> The prose of my entry is fontified but not in any special face. I’m
> using the Poet theme so that means it’s in some proportional face.
>
> Here’s the source of my irritation: the spaces preceding “DEADLINE” and
> “:CREATED:” are, like the prose, simply fontified. The spaces preceding
> “:PROPERTIES:” and “:END:” are in the org-drawer face.
>
> What this means is that the entry appears like this:
>
> ** TODO Do something next week.
>    DEADLINE: <2020-04-28 Tue>
>      :PROPERTIES:
>    :CREATED:  [2020-04-21 Tue 08:17]
>      :END:
>    This is the thing to do.
>
> Is there any way to get the spaces preceding both sets of lines in the
> same face? I don’t much care which, I’d just prefer if they were
> aligned. Even getting just :CREATED: aligned would be an improvement.

I pushed a fix on master for that. Please give it a try if you can.

Regards,

-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Faces and spaces
  2020-04-21 17:42 ` Nicolas Goaziou
@ 2020-04-22  6:38   ` Norman Tovey-Walsh
  0 siblings, 0 replies; 3+ messages in thread
From: Norman Tovey-Walsh @ 2020-04-22  6:38 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

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

> I pushed a fix on master for that. Please give it a try if you can.

Works perfectly, thank you!

                                        Be seeing you,
                                          norm

--
Norman Tovey-Walsh <ndw@nwalsh.com>
https://nwalsh.com/

> Time is that quality of nature which keeps events from happening all at
> once. Lately it doesn't seem to be working.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-22  6:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21  7:44 Faces and spaces Norman Tovey-Walsh
2020-04-21 17:42 ` Nicolas Goaziou
2020-04-22  6:38   ` Norman Tovey-Walsh

Code repositories for project(s) associated with this 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).