Re: Face: not showing?

2023-06-18 Thread Adam Sjøgren
Eric writes:

> I would love a gnus interface to ActivityPub, mastodon in particular
> at the moment, giving me adaptive scoring and threading although I
> imagine the latter may be challenging if not impossible.

It's actually not that bad - ActivityPub objects have an "inReplyTo"
key which points to the parent, and that's sufficient for Gnus to do
the threading as expected.

So far I am just shoving the "inReplyTo" into References: which means
that Gnus only knows about the immediate parent.

To get the other replies in the same thread, more work is needed,
fetching URLs specified in the "replies" Collection of the object.

Everything can be seen through the glasses of NNTP if you squint a
little ;-)


  Best regards,

Adam

-- 
 "[...] but beyond that the Fry household had asAdam Sjøgren
  much interest or understanding of sport as a potato  a...@koldfront.dk
  has of  Riemann's zeta function."




Re: Face: not showing?

2023-04-07 Thread Björn Bidar


Eric S Fraga  writes:

> On Tuesday,  4 Apr 2023 at 16:16, Adam Sjøgren wrote:
>> Yes, when it's a little more functional - it's doesn't do much yet, but
>> it's kind of fun trying to make it work.
>
> Excellent and glad you're having fun playing with it.  I would love a
> gnus interface to ActivityPub, mastodon in particular at the moment,
> giving me adaptive scoring and threading although I imagine the latter
> may be challenging if not impossible.

Sidetrack: I think without any parallel fetching for articles this is gone by
impossible. There are a few backends written by nnreddit/Dick Mao
however they block Gnus so long during fetching.

The same guy started work on this. However his ability to communicate
this wasn't the best, the patches never came in as he didn't manage to
split them up correctly/talk.

Br,

Björn


NOTE: I originally send this message yesterday but forgot to reply to
list.




Re: Face: not showing?

2023-04-05 Thread Richmond
Richmond  writes:

> If I execute:
>
> gnus-article-display-x-face
>
> it says no such file or directory uncompface

I installed debian packages compface, and netpbm, set
'(gnus-treat-display-x-face 'head)

Now it works. Gnus/5.13 (Gnus v5.13) Emacs/27.1




Re: Face: not showing?

2023-04-05 Thread Richmond
If I execute:

gnus-article-display-x-face

it says no such file or directory uncompface




Re: Face: not showing?

2023-04-04 Thread Byung-Hee HWANG
Hellow Adam,

Adam Sjøgren  writes:

> Adam writes:
>
>> Maybe I have misconfigured something, but when I read an article that
>> has a Face: header, the picture isn't shown.
>
> The same goes for X-Face: h.

I can see your X-Face, my version is 27.1 ;;;

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: Face: not showing?

2023-04-04 Thread Richmond
Eric S Fraga  writes:

> On Tuesday,  4 Apr 2023 at 12:45, Richmond wrote:
>> Ah, it's a face! I am not sure who though, David Grohl perhaps?
>
> You'll have to ask Adam that...

At least I know it is not this kind of face:

https://www.gnu.org/software/emacs/manual/html_node/emacs/Faces.html




Re: Face: not showing?

2023-04-04 Thread Eric S Fraga
On Tuesday,  4 Apr 2023 at 16:16, Adam Sjøgren wrote:
> Yes, when it's a little more functional - it's doesn't do much yet, but
> it's kind of fun trying to make it work.

Excellent and glad you're having fun playing with it.  I would love a
gnus interface to ActivityPub, mastodon in particular at the moment,
giving me adaptive scoring and threading although I imagine the latter
may be challenging if not impossible.

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-04-01) on Debian 11.6




Re: Face: not showing?

2023-04-04 Thread Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
Adam Sjøgren  writes:

> Eric writes:
>
>> A data point: your face appears for me when reading your posts.  I'm on
>> Emacs from git updated three days ago now.
>
> Thanks! What is the value of gnus-treat-fold-headers in your setup?

I'm also seeing your face as always, gnus-treat-fold-headers is nil and
emacs is 28.2.

-- 
Alberto




Re: Face: not showing?

2023-04-04 Thread Adam Sjøgren
Alberto Luaces writes:

> Adam Sjøgren  writes:
>
>> Eric writes:
>>
>>> A data point: your face appears for me when reading your posts.  I'm on
>>> Emacs from git updated three days ago now.
>>
>> Thanks! What is the value of gnus-treat-fold-headers in your setup?
>
> I'm also seeing your face as always, gnus-treat-fold-headers is nil and
> emacs is 28.2.

Thanks! The bug was introduced in Emacs 29, I think, so that would
explain why you don't have missing images.


  Best regards,

Adam

-- 
 "Stand in front of you Adam Sjøgren
  Take the force of the blow   a...@koldfront.dk
  Protection"




Re: Face: not showing?

2023-04-04 Thread Adam Sjøgren
Eric writes:

> On Tuesday,  4 Apr 2023 at 15:43, Adam Sjøgren wrote:

>> because I am implementing an ActivityPub server with an nntp-interface
>> and wanted to see user icons) :-)

> Oh, that sounds interesting!  Are you intending on making it public?

Yes, when it's a little more functional - it's doesn't do much yet, but
it's kind of fun trying to make it work.


  Best regards,

Adam

-- 
 "nu skall vi dansa efter min pipa  Adam Sjøgren
  nu skall vi dansa efter min pipa"a...@koldfront.dk




Re: Face: not showing?

2023-04-04 Thread Eric S Fraga
On Tuesday,  4 Apr 2023 at 15:43, Adam Sjøgren wrote:
> because I am implementing an ActivityPub server with an nntp-interface
> and wanted to see user icons) :-)

Oh, that sounds interesting!  Are you intending on making it public?

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-04-01) on Debian 11.6




Re: Face: not showing?

2023-04-04 Thread Adam Sjøgren
Eric writes:

> It's not as if many people use the face capability so I guess it's not
> tested very thoroughly?

Yup - I mean, it took me two years to notice they were gone (and only
because I am implementing an ActivityPub server with an nntp-interface
and wanted to see user icons) :-)

> My own emails show a face but I think that comes from gravatar (setq
> gnus-treat-from-gravatar 'head) as I have not defined the face header
> details. Out of curiosity, does my (colourful and young ;-)) face
> appear if you set that?

I only see your gravatar when I set gnus-treat-fold-headers to nil,
otherwise your young colors are missing ;-)


  Best regards,

Adam

-- 
 "Pick-up trucks are ridiculous clown cars and 99%  Adam Sjøgren
  of the people who buy them will never have a a...@koldfront.dk
  practical need to own one."




Re: Face: not showing?

2023-04-04 Thread Eric S Fraga
On Tuesday,  4 Apr 2023 at 12:45, Richmond wrote:
> Ah, it's a face! I am not sure who though, David Grohl perhaps?

You'll have to ask Adam that...

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-04-01) on Debian 11.6




Re: Face: not showing?

2023-04-04 Thread Eric S Fraga
On Tuesday,  4 Apr 2023 at 14:03, Adam Sjøgren wrote:
> Maybe it works for you because you are using a monospaced face?

Interesting.  Maybe.  It could be that the image is considered to be 0
width...?

It's not as if many people use the face capability so I guess it's not
tested very thoroughly?  My own emails show a face but I think that
comes from gravatar (setq gnus-treat-from-gravatar 'head) as I have not
defined the face header details.  Out of curiosity, does my (colourful
and young ;-)) face appear if you set that?

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-04-01) on Debian 11.6




Re: Face: not showing?

2023-04-04 Thread Richmond
Eric S Fraga  writes:

> On Tuesday,  4 Apr 2023 at 12:12, Richmond wrote:
>> Eric S Fraga  writes:
>>
>>> A data point: your face appears for me when reading your posts.  I'm on
>>> Emacs from git updated three days ago now.
>>
>> I can see an x-face header in the original post, but no other evidence
>> of a face. What is it supposed to look like?
>
> Assuming I can send attachments, attached is a screenshot of what I see.

Ah, it's a face! I am not sure who though, David Grohl perhaps?




Re: Face: not showing?

2023-04-04 Thread Eric S Fraga
On Tuesday,  4 Apr 2023 at 12:12, Richmond wrote:
> Eric S Fraga  writes:
>
>> A data point: your face appears for me when reading your posts.  I'm on
>> Emacs from git updated three days ago now.
>
> I can see an x-face header in the original post, but no other evidence
> of a face. What is it supposed to look like?

Assuming I can send attachments, attached is a screenshot of what I see.

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-04-01) on Debian 11.6


Re: Face: not showing?

2023-04-04 Thread Eric S Fraga
On Tuesday,  4 Apr 2023 at 12:49, Adam Sjøgren wrote:
> Thanks! What is the value of gnus-treat-fold-headers in your setup?

head

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-04-01) on Debian 11.6




Re: Face: not showing?

2023-04-04 Thread Richmond
Eric S Fraga  writes:

> A data point: your face appears for me when reading your posts.  I'm on
> Emacs from git updated three days ago now.

I can see an x-face header in the original post, but no other evidence
of a face. What is it supposed to look like?




Re: Face: not showing?

2023-04-04 Thread Adam Sjøgren
Eric writes:

> A data point: your face appears for me when reading your posts.  I'm on
> Emacs from git updated three days ago now.

Thanks! What is the value of gnus-treat-fold-headers in your setup?


  Best regards,

   Adam

-- 
 "Hvad med kulturen og Information? Kan vi  Adam Sjøgren
  håbe på mere omtale af dansktoppen?" a...@koldfront.dk




Re: Face: not showing?

2023-04-04 Thread Eric S Fraga
A data point: your face appears for me when reading your posts.  I'm on
Emacs from git updated three days ago now.
-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-04-01) on Debian 11.6




Re: Face: not showing?

2023-04-03 Thread Adam Sjøgren
The bisect of "Face: header present, but image not showing" gives:

  3bc0768e9b82feaf5ce1665227055e97e72af164 is the first bad commit
  commit 3bc0768e9b82feaf5ce1665227055e97e72af164
  Author: Lars Ingebrigtsen 
  Date:   Wed Dec 1 14:10:19 2021 +0100

  Enable gnus-treat-fold-headers by default

  * lisp/gnus/gnus-art.el (gnus-treat-fold-headers): Change default
  to `head'.

   etc/NEWS  | 3 +++
   lisp/gnus/gnus-art.el | 4 ++--
   2 files changed, 5 insertions(+), 2 deletions(-)

Here is the bisect log:

  adsj@tullinup:~/emacs$ git bisect log 
  git bisect start
  # status: waiting for both good and bad commits
  # bad: [1f100def91292dae6f8a97bae2bcd1f3a4cb101e] Revert "Generalise a LAP 
optimisation rule"
  git bisect bad 1f100def91292dae6f8a97bae2bcd1f3a4cb101e
  # status: waiting for good commit(s), bad commit known
  # bad: [842ea1e22f2251e62a23c3fafdd7d1571f730d7d] Fix Gnus registry key 
bindings
  git bisect bad 842ea1e22f2251e62a23c3fafdd7d1571f730d7d
  # status: waiting for good commit(s), bad commit known
  # bad: [2a3edd1e0acf00587a5243db87bf80e8383a61d8] Document textsec
  git bisect bad 2a3edd1e0acf00587a5243db87bf80e8383a61d8
  # status: waiting for good commit(s), bad commit known
  # good: [ddabb03a0176beb4b7fc8d4f2267d459fd2ebded] * doc/misc/idlwave.texi 
(Troubleshooting): Don't say "Emacsen".
  git bisect good ddabb03a0176beb4b7fc8d4f2267d459fd2ebded
  # good: [f393d0d441c3746f98007ae54341870a296bf809] Fix regression leading to 
flickering tooltips when the mouse is moved
  git bisect good f393d0d441c3746f98007ae54341870a296bf809
  # good: [f393d0d441c3746f98007ae54341870a296bf809] Fix regression leading to 
flickering tooltips when the mouse is moved
  git bisect good f393d0d441c3746f98007ae54341870a296bf809
  # skip: [32a8b3bc22bfc0aeca9943699e7a43b68915122b] Fix regression introduced 
by the previous date-to-time change
  git bisect skip 32a8b3bc22bfc0aeca9943699e7a43b68915122b
  # bad: [c9186b1b0bfb7662a2765aac5dd1afd4309fdfec] Use gnus-message instead of 
plain message in gnus-search
  git bisect bad c9186b1b0bfb7662a2765aac5dd1afd4309fdfec
  # good: [3886c95d7ef20e40b5d3625d4650b89612f7efdd] Make emoji-describe really 
describe only the glyph under point
  git bisect good 3886c95d7ef20e40b5d3625d4650b89612f7efdd
  # good: [487ec3cf2a34496866153474507ab741d8dfea63] Add support for event 
processing via XInput 2
  git bisect good 487ec3cf2a34496866153474507ab741d8dfea63
  # good: [d329014574575b3f98ac68e22bdcb1ab4ddd5419] Make 
`pixel-scroll-precision-scroll-up' use existing logic
  git bisect good d329014574575b3f98ac68e22bdcb1ab4ddd5419
  # good: [6adf37b4a5a954ac981c2f89ea2c343658f532c2] Update SKK-JISYO.L from 
upstream
  git bisect good 6adf37b4a5a954ac981c2f89ea2c343658f532c2
  # bad: [aa6a05c146e94c0afc35b5354d68da55aecb2db7] Fix display of free disk 
space in Dired
  git bisect bad aa6a05c146e94c0afc35b5354d68da55aecb2db7
  # bad: [c35c86a353c7dd6d4130913c532aba026a5a6562] * 
lisp/emacs-lisp/cl-macs.el (cl-defstruct): Decl struct predicates as pure
  git bisect bad c35c86a353c7dd6d4130913c532aba026a5a6562
  # bad: [6348ca1a888974e7ed8d43e5d78961c81d80b140] Make pixel-fill-region 
handle space regions better
  git bisect bad 6348ca1a888974e7ed8d43e5d78961c81d80b140
  # good: [9d17e346fe15d7afff8a2e520522586c51225a4c] Preserve newlines at the 
end of pixel-fill-region
  git bisect good 9d17e346fe15d7afff8a2e520522586c51225a4c
  # bad: [2ee6621fe9ff67cd5ac4ac4e6b6f6d0c4cb6f047] Fix precision pixel 
scrolling for a recent change
  git bisect bad 2ee6621fe9ff67cd5ac4ac4e6b6f6d0c4cb6f047
  # good: [2d60566c8787b63b5e4e2958e9ec9f55fbcf9e87] Use proportional fonts in 
the Gnus headers by default
  git bisect good 2d60566c8787b63b5e4e2958e9ec9f55fbcf9e87
  # bad: [3bc0768e9b82feaf5ce1665227055e97e72af164] Enable 
gnus-treat-fold-headers by default
  git bisect bad 3bc0768e9b82feaf5ce1665227055e97e72af164
  # first bad commit: [3bc0768e9b82feaf5ce1665227055e97e72af164] Enable 
gnus-treat-fold-headers by default


  Best regards,

Adam

-- 
 "Good evening. Today is Good Friday. There is no   Adam Sjøgren
  news."   a...@koldfront.dk




Re: Face: not showing?

2023-04-03 Thread Adam Sjøgren
Ok, I've now tested it with a minimal configuration. Face: displays in
Emacs 28.02 with the minimal config, but not with 30.0.5 (master).

So it's not just me, phew.

On to bisecting.


  Best regards,

Adam

-- 
 "Man ser gubbar"   Adam Sjøgren
   a...@koldfront.dk




Re: Face: not showing?

2023-04-03 Thread Adam Sjøgren
Adam writes:

> Maybe I have misconfigured something, but when I read an article that
> has a Face: header, the picture isn't shown.

The same goes for X-Face: h.

-- 
 "I think there are enough frivolous lawsuits inAdam Sjøgren
  this country without people fighting over popa...@koldfront.dk
  songs."