Re: [question] how show messages with bold or colored or different font sizes

2021-09-19 Thread Adam Sjøgren
physiculus writes:

> i changed my settings and now gnus display bold and italics and bold.
> but no color and no font sizes.
>
> do you know why?

No. I'm guessing it is something in your configuration. Have you changed
it to display the HTML part or the text part?


  Best regards,

Adam

-- 
 "They are very important clients, they can't wait."Adam Sjøgren
 "They're about to."   a...@koldfront.dk




Re: [question] how show messages with bold or colored or different font sizes

2021-09-19 Thread physiculus
Am So, 2021-09-19, 22:03 +0200, Adam Sjøgren  schrieb:
Hello,
i changed my settings and now gnus display bold and italics and bold.
but no color and no font sizes.

do you know why?

regards
poul

> physiculus writes:
>
>> here is a message:
>
> This is what that email looks like in my Gnus:
>
>  · https://koldfront.dk/misc/gnus/email-screenshot.png
>
> (when I remove "text/html" from mm-discouraged-alternatives, and leave
> "text/html" in mm-automatic-display).
>
> It looks like the only thing shr ignores is the font size part.
>
>>> Do you have any configuration set up to prefer text/ignore HTML?
>>>
>>> E.g. I have:
>>>
>>>   ;; Don't display html inline
>>>   (setq
>>>mm-discouraged-alternatives '("text/html" "text/richtext" 
>>> "text/enriched")
>>>mm-automatic-display (remove "text/html" mm-automatic-display))
>
>> Here is my setting:
>> Its value is ("text/html" "text/richtext" "image/.*")
>
> Well, there's your problem. You've told Gnus to prefer not displaying
> text/html.
>
>
>   Best regards,
>
> Adam

-- 
Jens Reimer


Re: [question] how show messages with bold or colored or different font sizes

2021-09-19 Thread Adam Sjøgren
physiculus writes:

> here is a message:

This is what that email looks like in my Gnus:

 · https://koldfront.dk/misc/gnus/email-screenshot.png

(when I remove "text/html" from mm-discouraged-alternatives, and leave
"text/html" in mm-automatic-display).

It looks like the only thing shr ignores is the font size part.

>> Do you have any configuration set up to prefer text/ignore HTML?
>>
>> E.g. I have:
>>
>>   ;; Don't display html inline
>>   (setq
>>mm-discouraged-alternatives '("text/html" "text/richtext" "text/enriched")
>>mm-automatic-display (remove "text/html" mm-automatic-display))

> Here is my setting:
> Its value is ("text/html" "text/richtext" "image/.*")

Well, there's your problem. You've told Gnus to prefer not displaying
text/html.


  Best regards,

Adam

-- 
 "And when your friends begin to lose their way...  Adam Sjøgren
  Don't look back just helpyourselfish"a...@koldfront.dk




Re: [question] how show messages with bold or colored or different font sizes

2021-09-19 Thread physiculus
Hello,
thanks for the quick answer.
hope my edit helps
Regards
Poul

Am So, 2021-09-19, 20:11 +0200, Adam Sjøgren  schrieb:

> physiculus writes:
>
>> my wife sends messages with thunderbird, but inside gnus these things are
>> gone.
>> Is it possible with gnus to show the messages with these attributes?
>
> Are you talking about emails in HTML format, and/or in both text and
> HTML?
>
> The default is to render them with shr, which does a pretty good job of
> showing such formatting.
>
> Do you have an example you can share?
here is a message:

User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.14.0
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="4E1A7030A865AFAD184E7054"
X-bounce-key: webpack.hosteurope.de;x...@xxx.de;1632035349;53830b03;
X-HE-SMSGID: 1mRqwn-0003bK-6G
X-HE-Virus-Scanned: Yes
Old-X-HE-Spam-Score: -0.6
Old-X-HE-Spam-Report: Content analysis details:   (-0.6 points)
  pts rule name  description
  -- --
 -0.7 RCVD_IN_DNSWL_LOW  RBL: Sender listed at https://www.dnswl.org/,
 low trust
 [80.237.132.77 listed in list.dnswl.org]
  0.0 HTML_FONT_SIZE_LARGE   BODY: HTML font size is large
  0.1 HTML_MESSAGE   BODY: HTML included in message
  0.0 RCVD_IN_MSPIKE_H3  RBL: Good reputation (+3)
 [80.237.132.77 listed in wl.mailspike.net]
  0.0 RCVD_IN_MSPIKE_WL  Mailspike good senders
Envelope-to: x...@xxx.de
X-HE-Spam-Score: 0.0
X-HE-Spam-Report: Customer whitelisted
X-HE-Spam-Level: /

This is a multi-part message in MIME format.
--4E1A7030A865AFAD184E7054
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Ich schreibe hier ein Text f¼r dich zum testen:

Ein, zwei W¶rter farbig farbig
Ein, zwei W¶rter *fett fett*
Ein, zwei W¶rter /kursiv kursiv/
Ein, zwei W¶rter in unterschiedlichen Gr¶Ÿen Gr¶Ÿen Gr¶Ÿen


--4E1A7030A865AFAD184E7054
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit


  


  
  
Ich schreibe hier ein Text f¼r dich zum testen
  
  Ein, zwei W¶rter farbig farbig
  Ein, zwei W¶rter fett fett
  Ein, zwei W¶rter kursiv kursiv
  Ein, zwei W¶rter in unterschiedlichen Gr¶Ÿen
  Gr¶Ÿen Gr¶Ÿen

  


--4E1A7030A865AFAD184E7054--


>
> Do you have any configuration set up to prefer text/ignore HTML?
>
> E.g. I have:
>
>   ;; Don't display html inline
>   (setq
>mm-discouraged-alternatives '("text/html" "text/richtext" "text/enriched")
>mm-automatic-display (remove "text/html" mm-automatic-display))
Here is my setting:
Its value is ("text/html" "text/richtext" "image/.*")

and
Its value is
("text/plain" "text/enriched" "text/richtext" "text/html" "text/x-verbatim" 
"text/calendar" "text/x-vcard" "image/.*" "message/delivery-status" 
"multipart/.*" "message/rfc822" "text/x-patch" "text/dns" 
"application/pgp-signature" "application/emacs-lisp" "application/x-emacs-lisp" 
"application/x-pkcs7-signature" "application/pkcs7-signature" 
"application/x-pkcs7-mime" "application/pkcs7-mime" "application/pgp\\'" 
"text/x-org")

>
> which is the opposite of what you want. At work I have configured Gnus
> the other way around, i.e. to display text/html.
>
> What is the value of mm-text-html-renderer in your setup?
my setting:
Its value is shr
>
>   Best regards,
>
> Adam

-- 
Jens Reimer



Re: [question] how show messages with bold or colored or different font sizes

2021-09-19 Thread Adam Sjøgren
physiculus writes:

> my wife sends messages with thunderbird, but inside gnus these things are
> gone.
> Is it possible with gnus to show the messages with these attributes?

Are you talking about emails in HTML format, and/or in both text and
HTML?

The default is to render them with shr, which does a pretty good job of
showing such formatting.

Do you have an example you can share?

Do you have any configuration set up to prefer text/ignore HTML?

E.g. I have:

  ;; Don't display html inline
  (setq
   mm-discouraged-alternatives '("text/html" "text/richtext" "text/enriched")
   mm-automatic-display (remove "text/html" mm-automatic-display))

which is the opposite of what you want. At work I have configured Gnus
the other way around, i.e. to display text/html.

What is the value of mm-text-html-renderer in your setup?

,[ C-h v mm-text-html-renderer RET ]
| mm-text-html-renderer is a variable defined in ‘mm-decode.el’.
| 
| Its value is ‘shr’
| 
|   You can customize this variable.
|   This variable was introduced, or its default value was changed, in
|   version 27.1 of Emacs.
|   Probably introduced at or before Emacs version 27.1.
| 
| Render of HTML contents.
| It is one of defined renderer types, or a rendering function.
| The defined renderer types are:
| ‘shr’: use the built-in Gnus HTML renderer;
| ‘gnus-w3m’: use Gnus renderer based on w3m;
| ‘w3m’: use emacs-w3m;
| ‘w3m-standalone’: use plain w3m;
| ‘links’: use links;
| ‘lynx’: use lynx;
| ‘html2text’: use html2text.
`

In my experience the default, shr, is preferable for HTML email.


  Best regards,

Adam

-- 
 "Unfortunately, much of the Web is like an anthill Adam Sjøgren
  built by ants on LSD"a...@koldfront.dk




Re: cut here markers for code snippets in mail

2021-09-19 Thread Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
Andreas Reuleaux  writes:

[...]

> I have seen people highlighting code snippets in mail
> with "cut here markers": some ascii art for scissors, "cut here",
> "start", "end", ..., like so:
>
> rm -f /etc/fonts/conf.d/70-no-bitmaps.conf
> ln -f -s /usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf  
> /etc/fonts/conf.d
>
>
> which is kind of nice, and simple (as I don't want to get into
> composing html mails with org-mime or the like).

By the way, notice how we end up with a double blank line.  That's how I
saw your message rendered on my screen too --- with Gnus v5.13.  This
was not the behavior in some older version.  (Perhaps one from 2013.)  I
would like to fix that.  Is everyone getting the same result?




[question] how show messages with bold or colored or different font sizes

2021-09-19 Thread physiculus
hello,
i wonder how i could see received messages with bold, italic or
underlined text. Or text with colored words or text with different font
sizes.

my wife sends messages with thunderbird, but inside gnus these things are
gone.
Is it possible with gnus to show the messages with these attributes?

regards
Poul