hniksic / emacs-htmlize

Convert buffer text and decorations to HTML.
192 stars 45 forks source link

Gnus faces #28

Open To1ne opened 5 years ago

To1ne commented 5 years ago

Sorry if I'm asking stupid questions here, I just like to understand the problem, and would understand if there would not be a solution.

I tried to htmlize a Gnus summary buffer. This is a list of mails in a folder. But htmlizing did not preserve styling. And after running htmlize, all styling was removed from the region or buffer.

So I started investigation, and describe-face didn't learn me much, cause it didn't automatically pick up the face where point was on.

So I did describe-char and this is what it gave me:

             position: 2880 of 13413 (21%), column: 70
            character: i (displayed as i) (codepoint 105, #o151, #x69)
              charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x69
               script: latin
               syntax: w    which means: word
             category: .:Base, L:Left-to-right (strong), a:ASCII, l:Latin, r:Roman
             to input: type "C-x 8 RET 69" or "C-x 8 RET LATIN SMALL LETTER I"
          buffer code: #x69
            file code: #x69 (encoded by coding system utf-8)
              display: by this font (glyph code)
    ftcr:-CTDB-FuraCode Nerd Font Mono-normal-normal-normal-*-32-*-*-*-*-0-iso10646-1 (#x4B)

Character code properties: customize what to show
  name: LATIN SMALL LETTER I
  general-category: Ll (Letter, Lowercase)
  decomposition: (105) ('i')

There are text properties here:
  face                 (org-agenda-restriction-lock gnus-summary-normal-unread)
  gnus-face            t
  gnus-number          31997
  mouse-face           highlight

[back]