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

2021-09-23 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


Morning Adam.
  
> Adam Sjøgren  writes:

> Sharon writes:
>
>> at last I can see html-like emails using 'shr'. Before I used 'w3m',
>> and I could right-click a link and then copy the url to the clipboard
>> for pasting into a browser. Unfortunately I've now lost that ability
>> through using 'shr'.
>
>> Do you know how I can regain the right-click of the mouse ability
>> please?
>
> No.
>
> However, if I left-click on a link in an article, it opens in my default
> browser.

I haven't tried this one yet.  
>
> If I press u with point on the link in the article, the URL is copied to
> the clipboard.

But this works a treat!
  
>
> If I press w in the *Summary* buffer, Gnus will open the link in the
> article in my default browser - prompting if there is more than one
> link.

And this works too, so thank you very much. :)
  
>
> Are any of those options useful for you?
>
Thanks again
   Sharon.
- -- 
Debian 11, fluxbox 1.3.7, emacs 28.0.50, org 9.4.6
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmFMNBAbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbDrcP/jTgj93aD52lAuaIKx6P
/GKRRHNh+HcHIBLDLbCzPOhDaAeNpyajKHGkL+pTcqf0tPNBmiv+Q1wKCxVGjHbT
eL89+IKm93gRDJkN5M+Ab1g/UcWMQX5K0RijZw+aNuPg1TP0oLrG6Y24GrqD6By8
Kp+WEuGR7i/md9HwkQ1q9BLs6ZmDaEtKCw/i67WOYKxmdletWovIVWAVlEIyMvF+
JsfmFjl09FBCMjF/nUw4OMbTMsklXONZXLnWMs82Po/iWATdCnpo1i2BJWbFb8RP
FLmduWlBg+zheNEa9tnS3mpM2ZoLYjvlOwZvejtEPXBq18/PvSSgVF8LKzcejBgS
XzOXhLOJNfPMsJg2z9Tii95AlzR8ljGRB8paJpjtLp6RNvqiXuOD+2z0i3zKzY6r
XnOmjHBqgomvgoYsj/dazRMoYKzvkS61F+n1wT1SNvyN3sSSev6EhNR+KnMH1phf
oPK2tywpZXdo2ZWoz4XwjSoyie5IjbG1RoEM/qvsewde6aHDonfKep0nelLyEa3H
ZT18FFnAihUnhp+ukL+niS3zLKBprSbXA5IHuuHhQg7pyA+XFTxczeE4FyZ6ehSV
xViCn6S30P8d6e1/OyTCcqhVGAZ42U3y8YvnG/Z0cEiSwLnPi2T/7s9pu9iUYUc1
USx8OF3hfJgxzwkvO2GiWpot
=FPWz
-END PGP SIGNATURE-



Gnus signature bug [screenshot] (was: Re: [question] how show messages with bold or colored or different font sizes)

2021-09-21 Thread Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
Oh!

After all these years, this bug again!

I reported it ~10 years ago but no one was able to reproduce
it, but now I have Lessie on camera! (Maybe Gnus is more
like Yeti...)

  https://dataswamp.org/~incal/figures/emacs/gnus/gnus-sig.png

Note that I saw two posts from you (Mr. Adam Sjøgren) and the
first post was cool, this only appeared in your

  Message-ID: <87fstxzrke@tullinup.koldfront.dk>

post!

Cool BTW:

  Organization: koldfront - analysis & revolution, Copenhagen,
  Denmark

:)

-- 
underground experts united
https://dataswamp.org/~incal




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

2021-09-21 Thread Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
Adam Sjøgren wrote:


> Another good reason to discourage the use of HTML in email :-)

You mean like this?

(setq mm-discouraged-alternatives '("text/html" "text/richtext"))

-- 
underground experts united
https://dataswamp.org/~incal




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

2021-09-21 Thread Adam Sjøgren
Sharon writes:

> at last I can see html-like emails using 'shr'. Before I used 'w3m',
> and I could right-click a link and then copy the url to the clipboard
> for pasting into a browser. Unfortunately I've now lost that ability
> through using 'shr'.

> Do you know how I can regain the right-click of the mouse ability
> please?

No.

However, if I left-click on a link in an article, it opens in my default
browser.

If I press u with point on the link in the article, the URL is copied to
the clipboard.

If I press w in the *Summary* buffer, Gnus will open the link in the
article in my default browser - prompting if there is more than one
link.

Are any of those options useful for you?


  Best regards,

Adam

-- 
 "Who's got time for this nonsense! I'm a busy guy! Adam Sjøgren
  I've got things to do! The *last* thing *I* need is  a...@koldfront.dk
  to stand around with my nose in some silly plant!"




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

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

> i set shr-use-fonts and shr-use-colors to t.

Ok, those are the defaults, so you had configured them previously, I
guess?

> but now the colors in html mails from other poeple are mostly terrible.
> too light or too dark, no real good mix.

Another good reason to discourage the use of HTML in email :-)


  Best regards,

Adam

-- 
 "I am not able rightly to apprehend the kind ofAdam Sjøgren
  confusion of ideas that could provoke such a a...@koldfront.dk
  question."




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

2021-09-21 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Adam Sjøgren  writes:
>
> 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.
>
Hi Adam.

Your comment above scratched an itch I've had for several years now, at
last I can see html-like emails using 'shr'. Before I used 'w3m', and I
could right-click a link and then copy the url to the clipboard for
pasting into a browser. Unfortunately I've now lost that ability through
using 'shr'.

Do you know how I can regain the right-click of the mouse ability please?  

Thanks
  Sharon.  
- -- 
Debian 11, fluxbox 1.3.7, emacs 28.0.50, org 9.4.6
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmFJ620bHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbJZsQAJ2LnHgYONZzG4JMq/Fr
6W2wdzrPJzAXnEEFB0upUK1braalV2/oFuBxDvz/ppDskCFvQNioAl/sVVssGKJL
NXNYZ3nQfqm5tpY44XMCeO3nVkEjC32MWfAsHGhWqLRAbu5k3PB82xYp5AmOMgPi
cu0HJJ+DIEeNUoZTb4cF83V22pu34fhFNxe9FPRUxNkvO3HbgkvvkcN3FmXyvsRM
h2brI4UzWn3k9WANLLiFs+PkIjD9DIn7kGLJv1qB/4MrxoPtdJwKvbTdKbBYS2UK
z0D4PmHSsbA7ltWSwvERR/j2psUYy9mLph+zU+92SzsRg+gbHrHqeE0YfFWsTpV0
bNwbVbSooPvsiXGPbUrzHZuqKK6IbiSVARJ//SL6RQorGUl2xVgYp29wnuV8vclj
ngbbAuEGzJosFRoDOfIFnRLeZ/1sshFYaGiuDd4/VORTb6KLIY+XYGZSryKuVSLb
uaxJJG+yo9QJTEJkJK4N6O/mWA4/Z2lFLvr/vE+0FNn9bMprQhhHKHyl5/MIisDC
KFj0xwVf8lvYXX/RBHgEmQhPQ3+VdlWXrvFBW6wGcqMGl0upJmQneelscvj7zHvI
fQvShiH7jemrLUiT+ELWUS14nUx3REfMKppLMUsxKPI4gryNboV2FH2mubSBBlQm
uy1xaxMoRt1hb9BfOL9R7BKa
=6+D4
-END PGP SIGNATURE-



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

2021-09-20 Thread physiculus
hello,

i set shr-use-fonts and shr-use-colors to t.

but now the colors in html mails from other poeple are mostly terrible.
too light or too dark, no real good mix.

regards
poul




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

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

> I'm on a step forward!

What did you change?

> colors are correct.
> bold, italics are correct.
> font sizes not.

That's also what you saw on my screenshot.


physiculus writes:

> Is it possible, that this is a bug in shr?

Yes, or perhaps a feature.


  Best regards,

Adam

-- 
 "En monoton vers behöver en stark refräng" Adam Sjøgren
   a...@koldfront.dk




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

2021-09-20 Thread physiculus
Am Mo, 2021-09-20, 19:25 +0200, physiculus  schrieb:

> Am Mo, 2021-09-20, 08:50 +0200, Adam Sjgren  schrieb:
>
> I'm on a step forward!
> colors are correct.
> bold, italics are correct.
> font sizes not.
>
> here is the raw html.
> Ein, zwei Wrter in unterschiedlichen GrŸen
>   GrŸensize="+3">GrŸen
>
> command C-u C-x = dont show a different face, only variable-pitch Height
> 1.0
> so i guess a render component don't recognize the html font size factor.
>
> Any ideas?
I find out that rendering this message with external browser works!
command K H

Is it possible, that this is a bug in shr?

>
> Regards
> Poul
>
>
>> 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

-- 
Jens Reimer



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

2021-09-20 Thread physiculus
Am Mo, 2021-09-20, 08:50 +0200, Adam Sjøgren  schrieb:

I'm on a step forward!
colors are correct.
bold, italics are correct.
font sizes not.

here is the raw html.
Ein, zwei W¶rter in unterschiedlichen Gr¶Ÿen
  Gr¶Ÿen Gr¶Ÿen

command C-u C-x = dont show a different face, only variable-pitch Height
1.0
so i guess a render component don't recognize the html font size factor.

Any ideas?

Regards
Poul


> 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

-- 
Jens Reimer



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

2021-09-20 Thread Physiculus

I changed it to display html part.
Perhaps an issue in my shr configuration or gnus?
I dont know 🤔



Von: Adam Sjøgren 
An: info-gnus-english@gnu.org
Datum: 20.09.2021 08:51:20
Betreff: Re: [question] how show messages with bold or colored or 
different font sizes



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




[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