Gnus development mailing list
 help / color / mirror / Atom feed
* gnus icons
@ 2024-04-30 23:04 cyurek
  2024-05-01 16:23 ` Adam Sjøgren
  0 siblings, 1 reply; 9+ messages in thread
From: cyurek @ 2024-04-30 23:04 UTC (permalink / raw)
  To: ding


Does anyone have any problems with the following:
gnus isn't showing icons instead it shows a square with a number
inside like e154. I have installed all-the-icons-gnus.
I'm running emacs 29.3 gnus 5.13 and
have install alot other icons so all my other icons show in dired,
consult, everywhere. this is the command I run in .emacs
(require'all-the-icons-gnus)  (all-the-icons-gnus-setup)


Chuck

 



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

* Re: gnus icons
  2024-04-30 23:04 gnus icons cyurek
@ 2024-05-01 16:23 ` Adam Sjøgren
  2024-05-02 22:55   ` cyurek
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Sjøgren @ 2024-05-01 16:23 UTC (permalink / raw)
  To: ding

cyurek@gmail.com writes:

> Does anyone have any problems with the following:
> gnus isn't showing icons instead it shows a square with a number
> inside like e154. I have installed all-the-icons-gnus.
> I'm running emacs 29.3 gnus 5.13 and
> have install alot other icons so all my other icons show in dired,
> consult, everywhere. this is the command I run in .emacs
> (require'all-the-icons-gnus)  (all-the-icons-gnus-setup)

Sounds like what happens when you are missing a font with unicode
emoji/glyphs.

Try installing the "Noto Color Emoji" and "Symbola" fonts (Debian
packages: fonts-noto-color-emoji and fonts-symbola).

I have these lines in my .emacs, I am not sure if they are still
relevant:

    (set-fontset-font t 'symbol "Noto Color Emoji" nil 'append)
    (set-fontset-font t 'symbol "Symbola" nil 'append)


  Best of luck,

    Adam

-- 
 "All the truth in the world adds up to one big lie"        Adam Sjøgren
                                                       asjo@koldfront.dk



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

* Re: gnus icons
  2024-05-01 16:23 ` Adam Sjøgren
@ 2024-05-02 22:55   ` cyurek
  2024-05-04 20:25     ` Adam Sjøgren
  0 siblings, 1 reply; 9+ messages in thread
From: cyurek @ 2024-05-02 22:55 UTC (permalink / raw)
  To: ding


I tryed all that you suggested but no go. thanks for the advise.

Chuck



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

* Re: gnus icons
  2024-05-02 22:55   ` cyurek
@ 2024-05-04 20:25     ` Adam Sjøgren
  2024-05-05  3:09       ` cyurek
  0 siblings, 1 reply; 9+ messages in thread
From: Adam Sjøgren @ 2024-05-04 20:25 UTC (permalink / raw)
  To: ding

cyurek@gmail.com writes:

> I tryed all that you suggested but no go. thanks for the advise.

:-/ If you put your cursor of one of those hex-characters that were
supposed to be an icon/emoji and go M-x describe-char, what do you
get?

Eg if I do that on: 😎 I get:

               position: 865 of 1554 (56%), restriction: <164-1555>, column: 20
              character: 😎 (displayed as 😎) (codepoint 128526, #o373016, #x1f60e)
                charset: unicode (Unicode (ISO10646))
  code point in charset: 0x1F60E
                 script: emoji
                 syntax: w 	which means: word
               category: .:Base
               to input: type "C-x 8 RET 1f60e" or "C-x 8 RET SMILING FACE WITH SUNGLASSES"
            buffer code: #xF0 #x9F #x98 #x8E
              file code: #xF0 #x9F #x98 #x8E (encoded by coding system utf-8-emacs)
                display: by this font (glyph code):
      ftcrhb:-GOOG-Noto Color Emoji-regular-normal-normal-*-33-*-*-*-m-0-iso10646-1 (#x381)

  Character code properties: customize what to show
    name: SMILING FACE WITH SUNGLASSES
    general-category: So (Symbol, Other)
    decomposition: (128526) ('😎')

  There are text properties here:
    fontified            t

which shows what font was used for the smiley, which might give a clue
to what is happening.


  Best regards,

    Adam

-- 
 "Well, first of all, you have to stop the clowns           Adam Sjøgren
  from setting the rest of the circus on fire."        asjo@koldfront.dk



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

* Re: gnus icons
  2024-05-04 20:25     ` Adam Sjøgren
@ 2024-05-05  3:09       ` cyurek
  2024-05-05 13:28         ` Adam Sjøgren
  2024-05-26 13:22         ` Adam Sjøgren
  0 siblings, 2 replies; 9+ messages in thread
From: cyurek @ 2024-05-05  3:09 UTC (permalink / raw)
  To: ding

Adam Sjøgren <asjo@koldfront.dk> writes:

this is what I'm getting

 position: 9 of 252 (3%), column: 8
            character:  (displayed as ) (codepoint 57688, #o160530, #xe158)
              charset: unicode (Unicode (ISO10646))
code point in charset: 0xE158
               syntax: w 	which means: word
             category: L:Strong L2R, j:Japanese
             to input: type "C-x 8 RET e158"
          buffer code: #xEE #x85 #x98
            file code: not encodable by coding system iso-latin-1-dos
              display: no font available

Character code properties: customize what to show
  general-category: Co (Other, Private Use)
  decomposition: (57688) ('')

There are text properties here:
  face                 gnus-group-news-3
  fontified            t

chuck yurek


> cyurek@gmail.com writes:
>
>> I tryed all that you suggested but no go. thanks for the advise.
>
> :-/ If you put your cursor of one of those hex-characters that were
> supposed to be an icon/emoji and go M-x describe-char, what do you
> get?
>
> Eg if I do that on: 😎 I get:
>
>                position: 865 of 1554 (56%), restriction: <164-1555>, column: 20
>               character: 😎 (displayed as 😎) (codepoint 128526, #o373016, #x1f60e)
>                 charset: unicode (Unicode (ISO10646))
>   code point in charset: 0x1F60E
>                  script: emoji
>                  syntax: w 	which means: word
>                category: .:Base
>                to input: type "C-x 8 RET 1f60e" or "C-x 8 RET SMILING FACE WITH SUNGLASSES"
>             buffer code: #xF0 #x9F #x98 #x8E
>               file code: #xF0 #x9F #x98 #x8E (encoded by coding system utf-8-emacs)
>                 display: by this font (glyph code):
>       ftcrhb:-GOOG-Noto Color Emoji-regular-normal-normal-*-33-*-*-*-m-0-iso10646-1 (#x381)
>
>   Character code properties: customize what to show
>     name: SMILING FACE WITH SUNGLASSES
>     general-category: So (Symbol, Other)
>     decomposition: (128526) ('😎')
>
>   There are text properties here:
>     fontified            t
>
> which shows what font was used for the smiley, which might give a clue
> to what is happening.
>
>
>   Best regards,
>
>     Adam



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

* Re: gnus icons
  2024-05-05  3:09       ` cyurek
@ 2024-05-05 13:28         ` Adam Sjøgren
  2024-05-06 10:12           ` Robert Pluim
  2024-05-26 13:22         ` Adam Sjøgren
  1 sibling, 1 reply; 9+ messages in thread
From: Adam Sjøgren @ 2024-05-05 13:28 UTC (permalink / raw)
  To: ding

cyurek@gmail.com writes:

If we compare the output I get:

>>                 display: by this font (glyph code):
>>       ftcrhb:-GOOG-Noto Color Emoji-regular-normal-normal-*-33-*-*-*-m-0-iso10646-1 (#x381)

to what you get:

>               display: no font available

I would guess that means that the font is missing on your computer :-)

Do you have the Noto Color Emoji font installed?

What version of Emacs are you running?


  Best regards,

    Adam

-- 
 "Finns det någon väg som leder oss hem                     Adam Sjøgren
  Finns det ens ett hem där vägen tar slut"            asjo@koldfront.dk



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

* Re: gnus icons
  2024-05-05 13:28         ` Adam Sjøgren
@ 2024-05-06 10:12           ` Robert Pluim
  2024-05-14 17:44             ` Adam Sjøgren
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Pluim @ 2024-05-06 10:12 UTC (permalink / raw)
  To: Adam Sjøgren; +Cc: ding

>>>>> On Sun, 05 May 2024 15:28:56 +0200, Adam Sjøgren <asjo@koldfront.dk> said:

    Adam> cyurek@gmail.com writes:
    Adam> If we compare the output I get:

    >>> display: by this font (glyph code):
    >>> ftcrhb:-GOOG-Noto Color Emoji-regular-normal-normal-*-33-*-*-*-m-0-iso10646-1 (#x381)

    Adam> to what you get:

    >> display: no font available

    Adam> I would guess that means that the font is missing on your computer :-)

    Adam> Do you have the Noto Color Emoji font installed?

    Adam> What version of Emacs are you running?

The codepoint U+E158 is in the Unicode Private Use area, so
practically all bets are off, and Noto Color Emoji wonʼt have coverage
for it.

Having said that, here it displays with

    ftcrhb:-RSMS-Inter Display-regular-normal-normal-*-18-*-*-*-*-0-iso10646-1 (#x771)

Robert
-- 


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

* Re: gnus icons
  2024-05-06 10:12           ` Robert Pluim
@ 2024-05-14 17:44             ` Adam Sjøgren
  0 siblings, 0 replies; 9+ messages in thread
From: Adam Sjøgren @ 2024-05-14 17:44 UTC (permalink / raw)
  To: ding

Robert writes:

> The codepoint U+E158 is in the Unicode Private Use area, so
> practically all bets are off, and Noto Color Emoji wonʼt have coverage
> for it.

Ah, good point. I guess the package is more specialized, and your
clue:

> Having said that, here it displays with
>
>     ftcrhb:-RSMS-Inter Display-regular-normal-normal-*-18-*-*-*-*-0-iso10646-1 (#x771)

is one to explore for chuck.


  Best regards,

    Adam

-- 
 "Strange women lying in ponds distributing                 Adam Sjøgren
  swords is no basis for a system of government"       asjo@koldfront.dk



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

* Re: gnus icons
  2024-05-05  3:09       ` cyurek
  2024-05-05 13:28         ` Adam Sjøgren
@ 2024-05-26 13:22         ` Adam Sjøgren
  1 sibling, 0 replies; 9+ messages in thread
From: Adam Sjøgren @ 2024-05-26 13:22 UTC (permalink / raw)
  To: ding

cyurek@gmail.com writes:

>               display: no font available

Maybe a stupid question, but did you do the step "Installing Fonts" in
the all-the-icons.el README?

 · https://github.com/domtronn/all-the-icons.el?tab=readme-ov-file#installing-fonts


  Best regards,

    Adam

-- 
 "That doesn't make it anything wrong with it."             Adam Sjøgren
 "No, yeah, anybody can say it."                       asjo@koldfront.dk



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

end of thread, other threads:[~2024-05-26 13:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-30 23:04 gnus icons cyurek
2024-05-01 16:23 ` Adam Sjøgren
2024-05-02 22:55   ` cyurek
2024-05-04 20:25     ` Adam Sjøgren
2024-05-05  3:09       ` cyurek
2024-05-05 13:28         ` Adam Sjøgren
2024-05-06 10:12           ` Robert Pluim
2024-05-14 17:44             ` Adam Sjøgren
2024-05-26 13:22         ` Adam Sjøgren

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 NNTP newsgroup(s).