emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Working out what face is used
@ 2020-01-08 22:43 Norman Walsh
  2020-01-08 22:56 ` Norman Walsh
  2020-01-08 23:01 ` Tim Cross
  0 siblings, 2 replies; 3+ messages in thread
From: Norman Walsh @ 2020-01-08 22:43 UTC (permalink / raw)
  To: emacs-orgmode

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

Hello,

This is a tangentially Org-related question. If I enable
org-sticky-headers, it works just fine. I get, for example, at the top
of the buffer:

  ** Top level heading / Second level heading

Which is correct. But “ / ” and the rest of the line after “Second
level heading” are in some unknown face. It has an odd gray background
and appears to be underlined in white.

For ordinary text in a buffer, I can put my cursor on the text and use
“C-u x =” to see what face is being used.

In this case, I can’t put the cursor on the text. I’ve made a quick
skim of org-sticky-header.el and don’t see any obvious use of a
specific face. So I’m a bit stumped.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | The future belongs to those who believe
http://nwalsh.com/            | in the beauty of their dreams.--Eleanor
                              | Roosevelt

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

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

* Re: Working out what face is used
  2020-01-08 22:43 Working out what face is used Norman Walsh
@ 2020-01-08 22:56 ` Norman Walsh
  2020-01-08 23:01 ` Tim Cross
  1 sibling, 0 replies; 3+ messages in thread
From: Norman Walsh @ 2020-01-08 22:56 UTC (permalink / raw)
  To: emacs-orgmode

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

Norman Walsh <ndw@nwalsh.com> writes:
> In this case, I can’t put the cursor on the text. I’ve made a quick
> skim of org-sticky-header.el and don’t see any obvious use of a
> specific face. So I’m a bit stumped.

FWIW, I made a rainbow out of the background colors and worked out
what face it was, but I am still curious if there was a more direct
approach.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Four things come not back: the spoken
http://nwalsh.com/            | word, the sped arrow, time past, the
                              | neglected opportunity.--Omar Ibnal-Halif

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

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

* Re: Working out what face is used
  2020-01-08 22:43 Working out what face is used Norman Walsh
  2020-01-08 22:56 ` Norman Walsh
@ 2020-01-08 23:01 ` Tim Cross
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Cross @ 2020-01-08 23:01 UTC (permalink / raw)
  To: emacs-orgmode


You could try M-x list-faces-display, which will list all the defined
faces with samples for each face. If your lucky, it will show the face
your seeing (and you can change it).


Norman Walsh <ndw@nwalsh.com> writes:

> Hello,
>
> This is a tangentially Org-related question. If I enable
> org-sticky-headers, it works just fine. I get, for example, at the top
> of the buffer:
>
>   ** Top level heading / Second level heading
>
> Which is correct. But “ / ” and the rest of the line after “Second
> level heading” are in some unknown face. It has an odd gray background
> and appears to be underlined in white.
>
> For ordinary text in a buffer, I can put my cursor on the text and use
> “C-u x =” to see what face is being used.
>
> In this case, I can’t put the cursor on the text. I’ve made a quick
> skim of org-sticky-header.el and don’t see any obvious use of a
> specific face. So I’m a bit stumped.
>
>                                         Be seeing you,
>                                           norm


-- 
Tim Cross

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

end of thread, other threads:[~2020-01-08 23:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 22:43 Working out what face is used Norman Walsh
2020-01-08 22:56 ` Norman Walsh
2020-01-08 23:01 ` Tim Cross

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).