Re: gnu.emacs.gnus

2024-03-02 Thread Richmond
yeti wrote:
> Richmond  writes:
>
>> Is gnu.emacs.gnus discontinued?
> I don't think so.
> Silence for a week just happens sometimes.
>
I see nothing since December 4th apart from my own post on 31st January.




gnu.emacs.gnus

2024-03-01 Thread Richmond
Is gnu.emacs.gnus discontinued?




Filtering cross posts

2024-03-01 Thread Richmond
Is it possible to filter out all cross posts? i.e. only see articles
posted to the subscribed group?




Re: A look at free.usenet reveals the need for matching on high entropy random strings

2023-07-04 Thread Richmond
Richmond  writes:

> Richmond  writes:
>
>> Emanuel Berg  writes:
>>
>>> Richmond wrote:
>>>
>>>> A look at free.usenet reveals the need for matching on high
>>>> entropy random strings. These are being used in the from
>>>> header to thwart filters.
>>>
>>> Are you on Usenet with news.eternal-september.org ?
>>
>> I am on usenet with news.solani.org . I forgot that
>> gmane.emacs.gnus.user is a mailing list. I am looking for a way to
>> filter out spam from newsgroup free.usenet although I think maybe there
>> is nothing else in there.
>
> Maybe I can use
>
> grep -P '<.{128,}>'
>
> on the from field?

If I say (L)ower (a)uthor (r)egular expression (p)ermanent and then
enter ^.{128,}$ that should match any from field of more than 127
characters right? It doesn't work. Nothing I have tried works.




Re: A look at free.usenet reveals the need for matching on high entropy random strings

2023-07-04 Thread Richmond
Richmond  writes:

> Emanuel Berg  writes:
>
>> Richmond wrote:
>>
>>> A look at free.usenet reveals the need for matching on high
>>> entropy random strings. These are being used in the from
>>> header to thwart filters.
>>
>> Are you on Usenet with news.eternal-september.org ?
>
> I am on usenet with news.solani.org . I forgot that
> gmane.emacs.gnus.user is a mailing list. I am looking for a way to
> filter out spam from newsgroup free.usenet although I think maybe there
> is nothing else in there.

Maybe I can use

grep -P '<.{128,}>'

on the from field?




Re: A look at free.usenet reveals the need for matching on high entropy random strings

2023-07-04 Thread Richmond
Emanuel Berg  writes:

> Richmond wrote:
>
>> A look at free.usenet reveals the need for matching on high
>> entropy random strings. These are being used in the from
>> header to thwart filters.
>
> Are you on Usenet with news.eternal-september.org ?

I am on usenet with news.solani.org . I forgot that
gmane.emacs.gnus.user is a mailing list. I am looking for a way to
filter out spam from newsgroup free.usenet although I think maybe there
is nothing else in there.




A look at free.usenet reveals the need for matching on high entropy random strings

2023-07-04 Thread Richmond
A look at free.usenet reveals the need for matching on high entropy
random strings. These are being used in the from header to thwart
filters. It ought to be possible to match on a high entropy string. Is
it possible? Perhaps re-use password strength measuring code.




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: Removing the first nntp server from the list

2023-04-04 Thread Richmond
Richmond  writes:

> Adam Sjøgren  writes:
>
>> Richmond writes:
>>
>>> If I have in .gnus a structure like
>>>
>>>   (setq gnus-select-method
>>>
>>> and then subsequently
>>>
>>>   (add-to-list 'gnus-secondary-select-methods
>>>
>>> How do I remove the first server from the list? Should I just replace it
>>> with the second server? I think the article numbers would be messed up.
>>
>> You can set gnus-select-method to '(nnnil) - then it will do nothing,
>> and everything else will be "secondary" select-methods. This way you
>> also avoid having the special case for the first method.
>>
>
> Thanks it worked. I thought you had a repeating n key, but it's really a
> thing, nnnil.
>
> https://github.com/emacs-mirror/emacs/blob/master/lisp/gnus/nnnil.el

I think I have discovered an unexpected side effect of this, which is
that I no longer have a folder containing sent articles. Can I create a
new one? Maybe it is just a coincidence but I used to have a folder with
sent articles in, and now I do not.




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 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 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: Removing the first nntp server from the list

2023-01-26 Thread Richmond
Emanuel Berg  writes:

> Eric Abrahamsen wrote:
>
 Thanks it worked. I thought you had a repeating n key, but
 it's really a thing, nnnil.

 https://github.com/emacs-mirror/emacs/blob/master/lisp/gnus/nnnil.el
>>>
>>> What's nn anyway, network news?
>>
>> The naming is built on the original protocol, nntp: Network
>> News Transfer Protocol. As Gnus grew the ability to speak
>> more protocols, they all got the same nn* prefix. I actually
>> find it sort of handy for distinguishing discussions about
>> IMAP or maildir from the Gnus backends, but I agree there
>> shouldn't be any need for nnnil.
>
> That, the last thing, I didn't say tho.
>
> We need nil (and /dev/null) so why not nnnil?

We needs The Knights Who Say nnnil!




Re: Server listed twice in gnus-group-enter-server-mode

2023-01-26 Thread Richmond
Adam Sjøgren  writes:

> Richmond writes:
>
>> Richmond  writes:
>>
>>> I have ended up with the same server listed twice in
>
>   [...]
>
>>> I must delete it from the configuration file, but there is only one in
>>> .gnus, where is the other?
>>
>> It must be in .newsrc-dribble.
>
> I would guess ~/.newsrc.eld - which can be quite fiddly to edit,
> remember to stop Gnus and take a backup copy before changing anything!
>

I used a sledge hammer to crack a nut, i.e. removed .newsrc-dribble
elsewhere and now all is fine, as far as I can tell.




Re: Server listed twice in gnus-group-enter-server-mode

2023-01-26 Thread Richmond
Richmond  writes:

> I have ended up with the same server listed twice in
> (gnus-group-enter-server-mode). I think this may be because I originally
> added the server using (gnus-group-browse-foreign-server METHOD), and
> then added it to .gnus as a (gnus-secondary-select-methods) and then
> later or maybe at the same time added tls with port 563. So now I am not
> sure how to delete one, preferably the one using 119 if indeed there are
> two occurences. When I use the letter k to delete the server it tells me
> I must delete it from the configuration file, but there is only one in
> .gnus, where is the other?

It must be in .newsrc-dribble.




Server listed twice in gnus-group-enter-server-mode

2023-01-26 Thread Richmond
I have ended up with the same server listed twice in
(gnus-group-enter-server-mode). I think this may be because I originally
added the server using (gnus-group-browse-foreign-server METHOD), and
then added it to .gnus as a (gnus-secondary-select-methods) and then
later or maybe at the same time added tls with port 563. So now I am not
sure how to delete one, preferably the one using 119 if indeed there are
two occurences. When I use the letter k to delete the server it tells me
I must delete it from the configuration file, but there is only one in
.gnus, where is the other?




Re: Removing the first nntp server from the list

2023-01-25 Thread Richmond
Adam Sjøgren  writes:

> Richmond writes:
>
>> If I have in .gnus a structure like
>>
>>   (setq gnus-select-method
>>
>> and then subsequently
>>
>>   (add-to-list 'gnus-secondary-select-methods
>>
>> How do I remove the first server from the list? Should I just replace it
>> with the second server? I think the article numbers would be messed up.
>
> You can set gnus-select-method to '(nnnil) - then it will do nothing,
> and everything else will be "secondary" select-methods. This way you
> also avoid having the special case for the first method.
>

Thanks it worked. I thought you had a repeating n key, but it's really a
thing, nnnil.

https://github.com/emacs-mirror/emacs/blob/master/lisp/gnus/nnnil.el




Removing the first nntp server from the list

2023-01-25 Thread Richmond
If I have in .gnus a structure like

  (setq gnus-select-method

and then subsequently

  (add-to-list 'gnus-secondary-select-methods

How do I remove the first server from the list? Should I just replace it
with the second server? I think the article numbers would be messed up.




Re: Academic interest - can I send an article with utf-16 or utf-32?

2021-07-23 Thread Richmond
Richmond  writes:

> I have tried various methods including setting the language and locale,
> and creating a file with encoding utf-16 and inserting it into an
> article, but I cannot seem to post an article with charset utf-16 or
> utf-32. It always converts to utf-8. I guess that is quite sensible, but
> why can't it be done? Why can't I use utf-16 or 32?

I think I have posted this to the wrong list. It should be
info-gnus-english@gnu.org

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Error message Process nntpd not running

2021-07-20 Thread Richmond
Richmond wrote:
> Pankaj Jangid  writes:
>
>> Richmond  writes:
>>
>>> I tried creating a new linux user, and copied the files .gnus and
>>> .gnu-emacs-custom and then ran emacs -nw -f gnus, but still got the
>>> same error.
>> Is this emacs-27? I can see that that could be the only difference. I am
>> using Emacs from the git master (i.e. 28.x).
>>
>> If you have access to emacs from git master then could you please try
>> reproducing it?
> I was using 26.
>
> I have now tried 27.2, and 28.0.50 (and 25) and all produce the same
> error.
>
> I think it is odd that I get the error if I start gnus from the command
> line, with emacs -nw -f gnus, but if I start emacs first, emacs -nw,
> then start gnus from within emacs. I get no error.
>
> So perhaps I just need to delay the start of gnus a little?
>

I placed:

(sit-for 3)

at the end of .emacs which seems to prevent the error, although I should
perhaps place it in a gnus file because I don't want it happening every
time I start emacs.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Error message Process nntpd not running

2021-07-20 Thread Richmond
Pankaj Jangid  writes:

> Richmond  writes:
>
>> I tried creating a new linux user, and copied the files .gnus and
>> .gnu-emacs-custom and then ran emacs -nw -f gnus, but still got the
>> same error.
>
> Is this emacs-27? I can see that that could be the only difference. I am
> using Emacs from the git master (i.e. 28.x).
>
> If you have access to emacs from git master then could you please try
> reproducing it?

I was using 26.

I have now tried 27.2, and 28.0.50 (and 25) and all produce the same
error.

I think it is odd that I get the error if I start gnus from the command
line, with emacs -nw -f gnus, but if I start emacs first, emacs -nw,
then start gnus from within emacs. I get no error.

So perhaps I just need to delay the start of gnus a little?

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Error message Process nntpd not running

2021-07-20 Thread Richmond
Pankaj Jangid  writes:

> Richmond  writes:
>
>> I have already reported it to them. They say there is nothing wrong
>>
>> their end.
>>
>> Notice this command works and allows interaction with the server:
>>
>> gnutls-cli nntp.aioe.org:563
>
> Oh yes. I forgot, you had already mentioned that it works fine in the
> server buffer.
>
> Then it could be something in your newsrc. I think Lars or Eric would
> like to comment here.

I tried creating a new linux user, and copied the files .gnus and
.gnu-emacs-custom and then ran emacs -nw -f gnus, but still got the same
error.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Error message Process nntpd not running

2021-07-20 Thread Richmond
Pankaj Jangid wrote:
> Richmond  writes:
>
>>> Could you please try removing the other params from your configuration
>>> if the previously mentioned restart also doesn’t fix the issue.
>> This change does fix the issue. However it means not using TLS. I want
>> to use TLS. I was using TLS before the server was upgraded without any
>> problems. And I use other servers with TLS without getting this error.
> Then probably wait for a couple of days. The guys at aioi.org must be in
> the process of restoring the certificates.
>
> If the issue persists then report it to them that TLS isn’t working.

I have already reported it to them. They say there is nothing wrong

their end.

Notice this command works and allows interaction with the server:

gnutls-cli nntp.aioe.org:563



___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Error message Process nntpd not running

2021-07-20 Thread Richmond
Pankaj Jangid wrote:
> Richmond  writes:
>
>> Since nntp.aioe.org has upgraded its system from debian 8 I have been
>> getting this error when starting gnus:
>>
>>>>> (error Process nntpd not running)
>> nntp (nntp.aioe.org) open error: ‘>>> (error Process nntpd not
>> running)’.  Continue? (y or n) y
>> However if I go to the server buffer and open the server it then works ok.
>>
>> What does this error mean? Is it a timing issue?
> This error should be related to the back-end process. Does the problem
> persists even after restarting Emacs? I face this issue with some IMAP
> servers but not always. This is could be due to unreliable network. Due
> to which the back-end process goes into stale state.
The problem occurs every time I start emacs. I start emacs with

emacs -nw -f gnus

>
>> I have
>>
>> (setq gnus-select-method
>> '(nntp "nntp.aioe.org"
>> (nntp-open-connection-function nntp-open-tls-stream)
>> (nntp-port-number 563)))
>>
>> (setq nntp-connection-timeout 240)
>
> I have just the below setting in my config. And it is working fine.
>
> (setq gnus-select-method '(nntp "nntp.aioe.org")) ; news
>
> Could you please try removing the other params from your configuration
> if the previously mentioned restart also doesn’t fix the issue.
This change does fix the issue. However it means not using TLS. I want
to use TLS. I was using TLS before the server was upgraded without any
problems. And I use other servers with TLS without getting this error.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Error message Process nntpd not running

2021-07-20 Thread Richmond
Since nntp.aioe.org has upgraded its system from debian 8 I have been
getting this error when starting gnus:

>>> (error Process nntpd not running)
nntp (nntp.aioe.org) open error: ‘>>> (error Process nntpd not
running)’.  Continue? (y or n) y

However if I go to the server buffer and open the server it then works ok.

What does this error mean? Is it a timing issue?

I have

(setq
gnus-select-method  
 
\

  '(nntp
"nntp.aioe.org" 
  
\

 (nntp-open-connection-function
nntp-open-tls-stream)   \

 (nntp-port-number 563)))

(setq nntp-connection-timeout 240)

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: fake-news in Gnus?

2021-06-04 Thread Richmond
Wayne Harris via info-gnus-english wrote:
> Emanuel Berg via info-gnus-english  writes:
>
>> Wayne Harris via info-gnus-english wrote:
>>
>>  o/ is there support in Gnus for fake news? a fake
>> news client if you will. fake client LOL. ? TIA
> I don't get it. :-)
 Check out Alex Jones (Prison PLanet and Infowars)
>>> I ended up on what seems to be Prison Planet website.  I searched for
>>> "fake news" and I got something involving trump, but the video duration
>>> was almost 3 hours.
>>>
>>> I still don't get it. :-)
>> Fake news is when you post news in a style and layout and
>> everything so it looks and reads like news, but the actual
>> news article is fabricated with a political agenda and facts
>> may not be true, it can be to make a specific person look bad
>> but it can also be with the purpose to make media look bad, to
>> have people confused so they loose faith in media and
>> politicians and the whole society, in general.
> Lol.  I do know the meaning of ``fake news''.  What I don't know is the
> apparent joke written by , which I suppose is you, and Gnus.  And
> couldn't get at all the connection with Alex Jones. :-) I must be really
> slow.
>
Fake Gnus are like stuffed donkeys.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gnus-kill-newsgroup error

2020-04-06 Thread Richmond
Eric Abrahamsen wrote:
> Richmond  writes:
>
>> Eric Abrahamsen wrote:
>>> Richmond  writes:
>>>
>>>> Eric Abrahamsen wrote:
>>>>> Richmond  writes:
>>>>>
>>>>>> Eric Abrahamsen  writes:
>>>>>>
>>>>>>> Richmond  writes:
>>>>>>>
>>>>>>>> Due to my computer dying I lost some changes. One of which was to stop
>>>>>>>> subscribing to new groups. But even though I reapplied this change, I
>>>>>>>> was unable to launch gnus because of this error. I cannot find any
>>>>>>>> reference in the lisp to this function gnus-kill-newsgroup but 
>>>>>>>> something
>>>>>>>> is calling it and then failing. I got gnus working in the end by
>>>>>>>> removing the mozilla server from .gnus.
>>>>>>>>
>>>>>>>> There was a reference in to this function in .gnu-emacs but I renamed
>>>>>>>> this file to dotgnu-emacs but still the error occured. Can functions 
>>>>>>>> get
>>>>>>>> copied around?
>>>>>>> `gnus-kill-newsgroup' was removed from Gnus (or at least this Gnus
>>>>>>> change was merged into Emacs master) in 2012, so it's been a while.
>>>>>> Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
>>>>> That's a pretty old Emacs -- is there a chance you could upgrade to 26?
>>>>> 27 is almost out.
>>>> Probably but I am not sure I want to just yet. On the last system which
>>>> is now dead I did upgrade but it caused various other problems.
>>>>
>>>>>>> What version of Emacs are you using? You're not still loading an
>>>>>>> external Gnus installation, are you?
>>>>>>>
>>>>>> No. I had to re-install linux etc. So starting from scratch.
>>>>>>
>>>>>>> You talk about changes, and "reapplying changes", what does that mean?
>>>>>> Some time ago, maybe a couple of months, I asked in this group why gnus
>>>>>> was subscribing to groups and as a result of that I made changes to
>>>>>> .gnus and got rid of .gnu-emacs-custom
>>>>>>> What seems most likely is that you've got some custom functions in
>>>>>>> your.gnus.el or elsewhere that are still calling `gnus-kill-newsgroup'.
>>>>>>>
>>>>>> The problem is I cannot find any reference to it.
>>>>>>
>>>>>> I do this:
>>>>>>
>>>>>> find . -type f -print|xargs grep -i gnus-kill-newsgroup
>>>>>>
>>>>>> All it finds is this:
>>>>>>
>>>>>> ./dotgnu-emacs: (gnus-kill-newsgroup newsgroup)))
>>>>> So presumably this file is getting loaded somehow? I don't see that
>>>>> that's a standard filename of any sort. If you look at that file, what
>>>>> is that code a part of?
>>>> I don't think it is getting loaded, although it might be. But it was the
>>>> file which was called .gnu-emacs which I renamed to dotgnu-emacs so that
>>>> it wouldn't get used. (dot = . )
>>> If it's not getting loaded, I can't think of what else could be causing
>>> the problem. Unless you've got some old *elc files lying around from a
>>> previous installation. But if you're confident that you've searched all
>>> the relevant locations, I'd say this file is still your culprit.
>> I have changed the permissions on the file to zero so that it could not
>> be loaded, but I didn't get any error.
>>
>> I am not able to prove much now, one way or another, because I removed
>> and re-added the mozilla newsgroup.
>>
>> I have an idea which is pure speculation that gnus had somehow recorded
>> its intention to kill some newsgroups because that's what I had been
>> doing - killing new groups which I had been subscribed to, using ctrl-k,
>> and so gnus was trying to finish this task on startup. But I can't see
>> how this would have been recorded anywhere without recording the name
>> "gnus-kill-newsgroup", unless it was encoded.
> A completely nuts possibility is that you had a .gnus-dribble file from
> an older Emacs, which had recorded a lambda containing a call to
> `gnus-kill-newsgroup' as part of Gnus's undo mechanism as you were
> killing. I'm just totally making things up at this point. But it sounds
> like the problem is gone?
It has gone for the time being, hopefully it will not return as I have
removed the instruction to subscribe automatically to new groups.

You theory is not nuts, but wouldn't I have found the lambda with my
find command? or maybe it would be a pointer only to something which
does not now exist?


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gnus-kill-newsgroup error

2020-04-06 Thread Richmond
Eric Abrahamsen wrote:
> Richmond  writes:
>
>> Eric Abrahamsen wrote:
>>> Richmond  writes:
>>>
>>>> Eric Abrahamsen  writes:
>>>>
>>>>> Richmond  writes:
>>>>>
>>>>>> Due to my computer dying I lost some changes. One of which was to stop
>>>>>> subscribing to new groups. But even though I reapplied this change, I
>>>>>> was unable to launch gnus because of this error. I cannot find any
>>>>>> reference in the lisp to this function gnus-kill-newsgroup but something
>>>>>> is calling it and then failing. I got gnus working in the end by
>>>>>> removing the mozilla server from .gnus.
>>>>>>
>>>>>> There was a reference in to this function in .gnu-emacs but I renamed
>>>>>> this file to dotgnu-emacs but still the error occured. Can functions get
>>>>>> copied around?
>>>>> `gnus-kill-newsgroup' was removed from Gnus (or at least this Gnus
>>>>> change was merged into Emacs master) in 2012, so it's been a while.
>>>> Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
>>> That's a pretty old Emacs -- is there a chance you could upgrade to 26?
>>> 27 is almost out.
>> Probably but I am not sure I want to just yet. On the last system which
>> is now dead I did upgrade but it caused various other problems.
>>
>>>>> What version of Emacs are you using? You're not still loading an
>>>>> external Gnus installation, are you?
>>>>>
>>>> No. I had to re-install linux etc. So starting from scratch.
>>>>
>>>>> You talk about changes, and "reapplying changes", what does that mean?
>>>> Some time ago, maybe a couple of months, I asked in this group why gnus
>>>> was subscribing to groups and as a result of that I made changes to
>>>> .gnus and got rid of .gnu-emacs-custom
>>>>> What seems most likely is that you've got some custom functions in
>>>>> your.gnus.el or elsewhere that are still calling `gnus-kill-newsgroup'.
>>>>>
>>>> The problem is I cannot find any reference to it.
>>>>
>>>> I do this:
>>>>
>>>> find . -type f -print|xargs grep -i gnus-kill-newsgroup
>>>>
>>>> All it finds is this:
>>>>
>>>> ./dotgnu-emacs:   (gnus-kill-newsgroup newsgroup)))
>>> So presumably this file is getting loaded somehow? I don't see that
>>> that's a standard filename of any sort. If you look at that file, what
>>> is that code a part of?
>> I don't think it is getting loaded, although it might be. But it was the
>> file which was called .gnu-emacs which I renamed to dotgnu-emacs so that
>> it wouldn't get used. (dot = . )
> If it's not getting loaded, I can't think of what else could be causing
> the problem. Unless you've got some old *elc files lying around from a
> previous installation. But if you're confident that you've searched all
> the relevant locations, I'd say this file is still your culprit.
I have changed the permissions on the file to zero so that it could not
be loaded, but I didn't get any error.

I am not able to prove much now, one way or another, because I removed
and re-added the mozilla newsgroup.

I have an idea which is pure speculation that gnus had somehow recorded
its intention to kill some newsgroups because that's what I had been
doing - killing new groups which I had been subscribed to, using ctrl-k,
and so gnus was trying to finish this task on startup. But I can't see
how this would have been recorded anywhere without recording the name
"gnus-kill-newsgroup", unless it was encoded.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gnus-kill-newsgroup error

2020-04-06 Thread Richmond
Eric Abrahamsen wrote:
> Richmond  writes:
>
>> Eric Abrahamsen  writes:
>>
>>> Richmond  writes:
>>>
>>>> Due to my computer dying I lost some changes. One of which was to stop
>>>> subscribing to new groups. But even though I reapplied this change, I
>>>> was unable to launch gnus because of this error. I cannot find any
>>>> reference in the lisp to this function gnus-kill-newsgroup but something
>>>> is calling it and then failing. I got gnus working in the end by
>>>> removing the mozilla server from .gnus.
>>>>
>>>> There was a reference in to this function in .gnu-emacs but I renamed
>>>> this file to dotgnu-emacs but still the error occured. Can functions get
>>>> copied around?
>>> `gnus-kill-newsgroup' was removed from Gnus (or at least this Gnus
>>> change was merged into Emacs master) in 2012, so it's been a while.
>> Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
> That's a pretty old Emacs -- is there a chance you could upgrade to 26?
> 27 is almost out.
Probably but I am not sure I want to just yet. On the last system which
is now dead I did upgrade but it caused various other problems.

>
>>> What version of Emacs are you using? You're not still loading an
>>> external Gnus installation, are you?
>>>
>> No. I had to re-install linux etc. So starting from scratch.
>>
>>> You talk about changes, and "reapplying changes", what does that mean?
>> Some time ago, maybe a couple of months, I asked in this group why gnus
>> was subscribing to groups and as a result of that I made changes to
>> .gnus and got rid of .gnu-emacs-custom
>>> What seems most likely is that you've got some custom functions in
>>> your.gnus.el or elsewhere that are still calling `gnus-kill-newsgroup'.
>>>
>> The problem is I cannot find any reference to it.
>>
>> I do this:
>>
>> find . -type f -print|xargs grep -i gnus-kill-newsgroup
>>
>> All it finds is this:
>>
>> ./dotgnu-emacs: (gnus-kill-newsgroup newsgroup)))
> So presumably this file is getting loaded somehow? I don't see that
> that's a standard filename of any sort. If you look at that file, what
> is that code a part of?
I don't think it is getting loaded, although it might be. But it was the
file which was called .gnu-emacs which I renamed to dotgnu-emacs so that
it wouldn't get used. (dot = . )


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Richmond
Bob Newell wrote:
>> So I don't understand. I am able to use seamonkey and claws-mail with an
>> app password, and it used to work with gnus. I am using ssl on port 993.
> Maybe it's obvious, but just to be sure I understand your
> setup:
>
> 1. You have 2-factor authentication turned on.
> 2. You are using your app password within gnus, not your gmail
> login password.
> 3. Claws/seamonkey are using the app password, not the
> login password.
>
> (My own setup is like Adam, without 2-factor, so I use my
> login password.)
>
> But there are two other things going on. Gmail is in the
> process of completely disabling "less secure" in all
> forms. (I've posted about this before.) The first stage is
> that the "less secure apps" setting can't be turned on any
> longer if it wasn't already on.
>
> The second stage, to come in about a year IIRC, will be to
> drop the app passwords and require use of Oauth2. That one
> will cause some irritating work for many of us. (As an
> occasional user of mutt, it will be especially annoying.)
>
It looks like they suspended this:

https://gsuiteupdates.googleblog.com/2020/03/less-secure-app-turn-off-suspended.html

because of some virus or other.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Richmond
Adam Sjøgren via info-gnus-english  writes:

> Richmond writes:
>
>> I tried both imap and imaps (instead of 993) but it made no difference.
>
> Just to be certain, you removed the (nnimap-stream ssl) when you tried
> imap, right?
>

No I didn't. What do you mean by trying imap instead? I thought I was
using imap. I thought you meant use "imap" instead of a port number.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Richmond
Adam Sjøgren via info-gnus-english  writes:

> Richmond writes:
>
>> Here is what I have in .gnus
>>
>> (setq gnus-select-method '(nnimap "gmail"
>>  8  (nnimap-address "imap.gmail.com")
>>  9  (nnimap-server-port 993)
>> 10  (nnimap-stream ssl)
>> 11  (nnimap-logout-timeout 60.0)))
>>
>> And in .authinfo
>>
>> machine imap.gmail.com login "...@gmail.com" password  
>> port 993
>
> Maybe try with imap instead (Gnus automatically does STARTTLS)?
>
I tried both imap and imaps (instead of 993) but it made no difference.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Richmond
Adam Sjøgren via info-gnus-english  writes:

> Richmond writes:
>
>> "This setting is not available for accounts with 2-Step Verification
>> enabled. Such accounts require an application-specific password for less
>> secure apps access. Learn more"
>
> Ah, I don't have 2-step verification enabled in Gmail. I guess you need
> to get an application-specific password then?
>
>> So I don't understand. I am able to use seamonkey and claws-mail with an
>> app password, and it used to work with gnus. I am using ssl on port 993.
>
> Maybe Gmail has changed?
>
> Does it work if you try with the app-specific password and specifying
> "port imap" in .authinfo.gpg (that's what used)?
>
>
>   Best regards,
>
> Adam

Here is what I have in .gnus

(setq gnus-select-method '(nnimap "gmail"
 8  (nnimap-address "imap.gmail.com")
 9  (nnimap-server-port 993)
10  (nnimap-stream ssl)
11  (nnimap-logout-timeout 60.0)))

And in .authinfo

machine imap.gmail.com login "...@gmail.com" password  port 
993

I set the gnutls-log-level to 2 and see these. Maybe they have changed
tls requirements? :

gnutls.c: [2] Advertizing version 3.4
 76
 77gnutls.c: [2] Advertizing version 3.3
 78
 79gnutls.c: [2] Advertizing version 3.2
 80
 81gnutls.c: [2] Advertizing version 3.1
 82
 83gnutls.c: [2] HSK[0x2745000]: sent server name: 'imap.gmail.com'
 84
 85gnutls.c: [1] (Emacs) non-fatal error: Resource temporarily unavailable, try 
again. [336 times]
 86gnutls.c: [2] EXT[0x2745000]: client generated X25519 shared key
 87
 88gnutls.c: [1] (Emacs) non-fatal error: Resource temporarily unavailable, try 
again. [2 times]
 89gnutls.c: [2] (Emacs) Deallocating x509 credentials
 90Unable to open server nnimap+gmail due to: Process *nnimap* not running

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail

2020-04-05 Thread Richmond
Adam Sjøgren via info-gnus-english  writes:

> Richmond writes:
>
>> Has gnus stopped working with gmail? I think I read maybe about some
>> changes to gmail.
>
> It seemsyou have to turn on "Less secure app access" in Gmail for IMAP
> authentication using password to work these days:
>

I went to that setting but it says this:

"This setting is not available for accounts with 2-Step Verification
enabled. Such accounts require an application-specific password for less
secure apps access. Learn more"

So I don't understand. I am able to use seamonkey and claws-mail with an
app password, and it used to work with gnus. I am using ssl on port 993.



___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


gmail

2020-04-05 Thread Richmond
Has gnus stopped working with gmail? I think I read maybe about some
changes to gmail.

I see an error "nnimap (gmail) open error: ‘’.  Continue? (y or n)"

Then if I try to open from the server list buffer:

Unable to open server nnimap+gmail due to: Process *nnimap* not running

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gnus-kill-newsgroup error

2020-04-05 Thread Richmond
Eric Abrahamsen  writes:

> Richmond  writes:
>
>> Due to my computer dying I lost some changes. One of which was to stop
>> subscribing to new groups. But even though I reapplied this change, I
>> was unable to launch gnus because of this error. I cannot find any
>> reference in the lisp to this function gnus-kill-newsgroup but something
>> is calling it and then failing. I got gnus working in the end by
>> removing the mozilla server from .gnus.
>>
>> There was a reference in to this function in .gnu-emacs but I renamed
>> this file to dotgnu-emacs but still the error occured. Can functions get
>> copied around?
>
> `gnus-kill-newsgroup' was removed from Gnus (or at least this Gnus
> change was merged into Emacs master) in 2012, so it's been a while.

Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

>
> What version of Emacs are you using? You're not still loading an
> external Gnus installation, are you?
>

No. I had to re-install linux etc. So starting from scratch.

> You talk about changes, and "reapplying changes", what does that mean?

Some time ago, maybe a couple of months, I asked in this group why gnus
was subscribing to groups and as a result of that I made changes to
.gnus and got rid of .gnu-emacs-custom
>
> What seems most likely is that you've got some custom functions in
> your.gnus.el or elsewhere that are still calling `gnus-kill-newsgroup'.
>

The problem is I cannot find any reference to it.

I do this:

find . -type f -print|xargs grep -i gnus-kill-newsgroup

All it finds is this:

./dotgnu-emacs:(gnus-kill-newsgroup newsgroup)))

find /usr/share/emacs/site-lisp/ -type f -print|xargs grep -i 
gnus-kill-newsgroup
find /usr/share/emacs/25.3 -type f -print|xargs grep -i gnus-kill-newsgroup

These find nothing.

If I look for gnus-kill it finds matches in the elc, so this
demonstrates that the command works, i.e. although it will not find
anything in the gzipped source, it will find in the elc.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


gnus-kill-newsgroup error

2020-04-05 Thread Richmond
Due to my computer dying I lost some changes. One of which was to stop
subscribing to new groups. But even though I reapplied this change, I
was unable to launch gnus because of this error. I cannot find any
reference in the lisp to this function gnus-kill-newsgroup but something
is calling it and then failing. I got gnus working in the end by
removing the mozilla server from .gnus.

There was a reference in to this function in .gnu-emacs but I renamed
this file to dotgnu-emacs but still the error occured. Can functions get
copied around?



Debugger entered--Lisp error: (void-function gnus-kill-newsgroup)
  (gnus-kill-newsgroup newsgroup)
  (lambda (newsgroup) (gnus-subscribe-newsgroup newsgroup) (gnus-kill-newsgroup 
newsgroup))("nntp+news.mozilla.org:mozilla.dev.l10n.ta")
  gnus-call-subscribe-functions((lambda (newsgroup) (gnus-subscribe-newsgroup 
newsgroup) (gnus-kill-newsgroup newsgroup)) "nntp+news.mozilla.org:\
mozilla.dev.l10n.ta")

[***deleted stuff here which contained a long list of groups and control 
characters]

  gnus-1(nil nil nil)
  gnus(nil)
  funcall-interactively(gnus nil)
  call-interactively(gnus record nil)
  command-execute(gnus record)
  execute-extended-command(nil "gnus" "gnus")
  funcall-interactively(execute-extended-command nil "gnus" "gnus")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus notification of replies to my articles

2020-03-12 Thread Richmond
Eric S Fraga  writes:

> On Thursday, 12 Mar 2020 at 12:59, Richmond wrote:
>> OK I am sending this by email to the mailing list, and I have set a
>> message-id on it which will be something like
>> *richmond.this-is-a-message-id.example.com but I am expecting that
>> this
>> message id will be replaced with one from the mail system like
>> mailman.2516.1584004990.2412.info-gnus-engl...@gnu.org, but you won't
>> see that if you look at it in email I think, only if you look at the
>> news server at news.gnus.org. On there the original message-id will
>> be
>> copied into references.
>
> You are correct.  Sorry about that.  I am surprised that the news
> server
> changes the reference.  Must be due to the gateway functionality
> between
> the mailing list and the news server?
>
> On a related note, is gmane.emacs.gnus.general no longer the place to
> read gnus related news items if you prefer nntp to email?  Although it
> is meant to be gatewayed (sic) with the ding mailing list, that gmane
> newsgroup hasn't been updated in several weeks.  The gnu.emacs.gnus
> group on news.gnus.org seems up to date, however.
>
> I was not aware of news.gnus.org until your post here.

Did you post the above on the news server? It seems to be a one-way
gateway, although there is no obvious indication of that. I have cut and
pasted the above into email.

I checked the group nntp+news.gmane.io:gmane.emacs.gnus.general and
there is a post four days ago. I wasn't subscribed to it, but I am now.

With gmane it used to be that you had to register your email with the
mailing list, then you could post with the same email on nntp, but I
don't know what the arrangement is here, I haven't tried that hard to
find out, just instead muddled through.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus notification of replies to my articles

2020-03-12 Thread Richmond
Richmond  writes:

> Something wasn't quite right, because when looking at the news server,
> and I pressed ^ from your article, it did not find my article. I have
> complicated things by using different instances of gnus for email and
> news. So when I use this email instance and did the same thing, it did
> find the article.
>
> So this post is by email and I have tried to set a message-id...
>

OK so the message-id I set (*richmond.example.com) was moved from
message-id to references, which breaks the thread on the news
server. But seems to work ok for email.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus notification of replies to my articles

2020-03-12 Thread Richmond
Eric S Fraga  writes:

> On Wednesday, 11 Mar 2020 at 20:09, Richmond wrote:
>>> Thanks. This seems complicated by mailing lists. I have changed the
>>> message id to something more recognisable, but I am not sure if I can
>>> post here through the news server...
>>
>> Well it looks like it didn't, so this is going through email...
>
> Mailing lists, or at least this one, do not touch the message id
> header.  In my experience, although the message-id may not be truly
> unique, when I used the references scoring option, it worked well.  Try
> with a reasonable regex for your typical message id and see if it works
> generally before worrying about having to make it unique?

Something wasn't quite right, because when looking at the news server,
and I pressed ^ from your article, it did not find my article. I have
complicated things by using different instances of gnus for email and
news. So when I use this email instance and did the same thing, it did
find the article.

So this post is by email and I have tried to set a message-id...


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus notification of replies to my articles

2020-03-11 Thread Richmond
> Thanks. This seems complicated by mailing lists. I have changed the
> message id to something more recognisable, but I am not sure if I can
> post here through the news server...

Well it looks like it didn't, so this is going through email...

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Gnus notification of replies to my articles

2020-03-10 Thread Richmond
Is it possible to get gnus to tell me of replies to my articles? or
maybe raise the score of them? or mark them in the article summary
buffer?

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Idle Time to Poll Serve

2020-02-20 Thread Richmond
Adam Sjøgren via info-gnus-english  writes:

> As your approach is giving you problems, maybe it would make sense to
> look into Gnus' demons?
>
>  · http://gnus.org/manual/gnus_119.html#Daemons
>
> I use this:
>
>   ; Demon to fetch email every 5 minutes when Emacs has been idle for 5 
> minutes:
>   (gnus-demon-add-handler 'gnus-demon-scan-news 5 5)
>   ; Demon to send queued email every other minute:
>   (gnus-demon-add-handler 'gnus-delay-send-queue 1 nil)
>   (gnus-demon-init)
>
> To my surprise, the manual doesn't mention gnus-demon-scan-news, which I
> would think was the most obvious one to write about...
>
> Hm, maybe it is obsolete? I guess this is the current way:
>
> ,[ C-h f gnus-demon-add-rescan RET ]
> | gnus-demon-add-rescan is an autoloaded compiled Lisp function in
> | ‘gnus-demon.el’.
> | 
> | (gnus-demon-add-rescan)
> | 
> | Add daemonic scanning of new articles from all backends.
> `
>
> ?
>
>
>   Best regards,
>
> Adam

Fantastic. It seems to work with me just doing this:

(gnus-demon-add-handler 'gnus-demon-scan-news 5 t)

So much time and effort replaced with one line!

Thanks!

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Idle Time to Poll Serve

2020-02-20 Thread Richmond
I've modified the script so that it does not check the servers and I
think I see the problem:

News checked at Thu Feb 20 16:41:01 2020
News checked at Thu Feb 20 16:46:01 2020
News checked at Thu Feb 20 16:51:01 2020
News checked at Thu Feb 20 17:00:41 2020
News checked at Thu Feb 20 17:05:41 2020 [2 times]
News checked at Thu Feb 20 17:10:41 2020 [3 times]

It is checking multiple times. Why is it doing that?

(defun news-check ()
  (message "News checked at %s" (current-time-string))
  (setq result (run-with-idle-timer (time-add (current-idle-time) 300) t 
(lambda () (news-check
  )

(defun tell-me-news ()
  (interactive)
  (setq result (run-with-idle-timer 300 t (lambda () (news-check
  (message "timer result %s" result)
)

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Idle Time to Poll Serve

2020-02-20 Thread Richmond
Eric Abrahamsen  writes:

> Richmond  writes:
>
>> I have devised this script to set up idle timers to poll the news
>> server. But it seems to cause emacs to hang after a while. If I use gtk
>> I can get it to respond with ctrl-g, but running in a terminal,
>> i.e. konsole or lxterminal, it is more difficult. What's wrong? This is
>> placed in .gnus
>>
>> (defun news-check ()
>>   (ignore-errors
>> (gnus-group-get-new-news)
>> )
>>   (setq result (run-with-idle-timer (time-add (current-idle-time) 300) t 
>> (lambda () (news-check
>>   )
>
> Why is this function recursive? That's bound to be a bad idea. I would
> refactor to remove the recursion, and to only start another check after
> the last one has completed.

I don't know how that would be possible. Once the news-check script has
completed, it has no power to do anything, so it would not be able to
set up another idle timer.

The script has to finish, otherwise emacs would be unavailable to
use. So it has to prepare the next run before it finishes. Unless I set
up many idle timers in advance, say enough to last 24 hours?


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Idle Time to Poll Serve

2020-02-20 Thread Richmond
I have devised this script to set up idle timers to poll the news
server. But it seems to cause emacs to hang after a while. If I use gtk
I can get it to respond with ctrl-g, but running in a terminal,
i.e. konsole or lxterminal, it is more difficult. What's wrong? This is
placed in .gnus

(defun news-check ()
  (ignore-errors
(gnus-group-get-new-news)
)
  (setq result (run-with-idle-timer (time-add (current-idle-time) 300) t 
(lambda () (news-check
  )

(defun tell-me-news ()
  (interactive)
  (setq result (run-with-idle-timer 300 t (lambda () (news-check
  (message "timer result %s" result)
)

(tell-me-news)

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Colours gone

2020-02-19 Thread Richmond
Richmond  writes:


> I never edit these files, neither .gnu-emacs or .gnu-emacs-custom, so I
> don't know what is going on in there.
>

This has been a voyage of discovery. I found that running emacs gnus on
the virtual console, I was not able to see some of the headers, like
From: Subject: and that when I tried to reconfigure them the cursor
vanished too! But this is only when using a virtual console in
non-graphical mode, as defined by grub. Using graphical mode it seemed
ok. The solution is to use X and reconfigure the face.

I also tried using --color=never to get around these problems but it
still uses colours.

There should perhaps be a two colour mode for emacs/gnus.

Thanks for your help!

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Problem with sit-for and alt-tab in emacs 27

2020-02-19 Thread Richmond
I have found a work around for this (in case anybody cares). Well, two
work arounds actually. The first is to run emacs from within
'screen'. The second is to use lxterminal.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Colours gone

2020-02-18 Thread Richmond
Eric Abrahamsen  writes:

> Richmond  writes:
>
>> Emanuel Berg via info-gnus-english  writes:
>>
>>> Richmond wrote:
>>>
>>>> Maybe it has to be in the context of gnus running?
>>>>
>>>> The link above was broken.
>>>
>>> Thanks for telling me, now the URL is fixed.
>>> The correct one should be:
>>>
>>>   https://dataswamp.org/~incal/emacs-init/my-faces.el
>>>
>>>> But I found this, not sure what it is
>>>> telling me.
>>>>
>>>> https://dataswamp.org/~incal/emacs-init/test-faces.el
>>>
>>> That's something else, to see how the colors
>>> look when actually displayed.
>>>
>>> It sounds like you have it misconfigured
>>> somehow.
>>>
>>> You don't need anything on these URLs, they are
>>> just examples how it can look and what you
>>> can do.
>>>
>>> Just require everything, then set the faces,
>>> byte compile, correct warnings and
>>> errors, do it again, done. Easy.
>>
>> I am afraid I am completely out of my depth. I don't know where these
>> faces came from. I see they are in the file .gnu-emacs, but I have never
>> edited that file.
>
> Looks like you're using this person's dotfiles:
>
> https://github.com/clauseggers/dotfiles/blob/master/.gnu-emacs
>
> As for why you're doing that, no one else can tell you :)
>
> That's also the config that's doing automatic new-group subscription,
> from your earlier message. If I were you I would set this code aside and
> start your config from scratch. It's a bit of a pain to start with, but
> will result in fewer subsequent mysteries.

I think this may have come from OpenSUSE. At the top of the file it
says:

Copyright 1993-2001 Werner Fink
Copyright (c) 1996-2001 SuSE Gmbh Nuernberg, Germany.
All rights reserved.

I never edit these files, neither .gnu-emacs or .gnu-emacs-custom, so I
don't know what is going on in there.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Problem with sit-for and alt-tab in emacs 27

2020-02-18 Thread Richmond
I have found a problem in sit-for in that it seems to be cancelled by
alt-tab i.e. switch kde windows. This didn't happen in 26.3. I think alt
tab should not get to emacs and I am not sure how it has.

(defun test-sit-for ()
  (interactive)
  (setq quit-for t)
  (while (eq quit-for t)
(setq  0)
(while (and (<  100) (eq t quit-for))
  (setq quit-for (sit-for 1))
  (message "count %s" )
  (setq  (+ 1 ))
  )
)
)

Test with this function, it displays a counter in the message buffer,
but alt-tab away and back and it stops running.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Colours gone

2020-02-18 Thread Richmond
Emanuel Berg via info-gnus-english  writes:

> Richmond wrote:
>
>> Maybe it has to be in the context of gnus running?
>>
>> The link above was broken.
>
> Thanks for telling me, now the URL is fixed.
> The correct one should be:
>
>   https://dataswamp.org/~incal/emacs-init/my-faces.el
>
>> But I found this, not sure what it is
>> telling me.
>>
>> https://dataswamp.org/~incal/emacs-init/test-faces.el
>
> That's something else, to see how the colors
> look when actually displayed.
>
> It sounds like you have it misconfigured
> somehow.
>
> You don't need anything on these URLs, they are
> just examples how it can look and what you
> can do.
>
> Just require everything, then set the faces,
> byte compile, correct warnings and
> errors, do it again, done. Easy.

I am afraid I am completely out of my depth. I don't know where these
faces came from. I see they are in the file .gnu-emacs, but I have never
edited that file.

Here is an extract:

(add-hook 'gnus-startup-hook
 '(lambda ()
(setq gnus-subscribe-newsgroup-method
'(lambda (newsgroup)
   (gnus-subscribe-newsgroup newsgroup)
   (gnus-kill-newsgroup newsgroup)))
(setq gnus-use-generic-from t)
;; highlighting and menu in GNUS
(if (or (and (= emacs-major-version 19) (> emacs-minor-version 29))
(> emacs-major-version 19))
  (progn
(setq gnus-visual '(highlight menu))
(setq gnus-group-highlight
'(;; News.
  ((and (> unread 100) (not mailp)) . 
gnus-summary-high-ticked-face)
  ((and (> unread 0) (not mailp))   . 
gnus-summary-high-read-face)
  ((and (= unread 0) (not mailp))   . 
gnus-summary-high-ancient-face)
  ((not mailp)  . 
gnus-summary-normal-ancient-face)
  ;; Mail.
  ((and (= unread 0) (eq level 1))  . 
gnus-group-mail-1-empty-face)
  ((eq level 1) . gnus-group-mail-1-face)
  ((and (= unread 0) (eq level 2))  . 
gnus-group-mail-2-empty-face)
  ((eq level 2) . gnus-group-mail-2-face)
  ((and (= unread 0) (eq level 3))  . 
gnus-group-mail-3-empty-face)
  ((eq level 3) . gnus-group-mail-3-face)
  ((= unread 0) . 
gnus-group-mail-low-empty-face)
  (t. 
gnus-group-mail-low-face)))
  )))
)

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Colours gone

2020-02-18 Thread Richmond
Emanuel Berg via info-gnus-english  writes:

> Richmond wrote:
>
>> After upgrading to 27 I've lost some colour
>> settings affecting the gnus list of groups,
>> list of articles. It used to show groups with
>> unread articles in a different colour. I am
>> also getting error messages about "invalid
>> face" (a bit of a cheek!)
>>
>> What can I do about these? Do I need to
>> install faces?
>
> You can use this to find out what face
> something is:
>
> (defun what-face (pos)
>   (interactive "d")
>   (let((face (or (get-char-property pos 'face)
>  (get-char-property pos 'read-cf-name) )))
> (message " Face: %s" (or face "(no face!)")) ))
> (defalias 'wf #'what-face)
>
> Then do, for example:
>
> (modify-face 'gnus-group-mail-1 "cyan" nil nil t)
>
> https://dataswamp.org/~incal/emacs-init/faces.el

OK what-face says the face in question is gnus-summary-high-read-face but when
I put (modify-face 'gnus-summary-high-read-face "cyan" nil nil t) into
.gnus it says invalid face.

Debugger entered--Lisp error: (error "Invalid face" gnus-summary-high-read-face)
  internal-set-lisp-face-attribute(gnus-summary-high-read-face :foreground 
"cyan" 0)

Maybe it has to be in the context of gnus running?

The link above was broken. But I found this, not sure what it is telling
me.

https://dataswamp.org/~incal/emacs-init/test-faces.el

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus Describe Group and Gnus Describe All Groups

2020-02-17 Thread Richmond
Eric Abrahamsen  writes:

> Richmond  writes:
>
>> Eric Abrahamsen  writes:
>>
>>> Richmond  writes:
>>>
>>>> Eric Abrahamsen  writes:
>>>>
>>>>> Richmond  writes:
>>>>>
>>>>>> Eric Abrahamsen wrote:
>>>>>>> Richmond  writes:
>>>>>>>
>>>>>>>> When viewing the list of subscribed groups in gnus, you can select
>>>>>>>> from  
>>>>>>>> the group menu an option to describe the group (ctrl-c ctrl-d). For
>>>>>>>> this     
>>>>>>>> group the description is "News reading under GNU Emacs using GNUS
>>>>>>>> (in    
>>>>>>>> English)." There is also an option to describe all groups (alt-d
>>>>>>>> or  
>>>>>>>> M-d). I anticipated that this would put the description like
>>>>>>>> above   
>>>>>>>> beside each group, but it just puts the group name. Is this a
>>>>>>>> bug?   
>>>>>>> When I run `gnus-group-describe-all-groups' it pops up a completely
>>>>>>> separate buffer containing all group descriptions, one per line.
>>>>>>> `gnus-group-describe-group', on the other hand, just echoes the
>>>>>>> description in the minibuffer. Neither of the commands actually change
>>>>>>> how the *Group* buffer looks. Is that not what you're seeing?
>>>>>>
>>>>
>>>>> Which of the above servers hosts the groups that aren't producing
>>>>> descriptions correctly? I only use news.gmane.io. If the server is
>>>>> freely accessible I can try reproducing the behavior.
>>>>>
>>>> There are no descriptions from any servers that I have tried (using
>>>> gnus-group-describe-all-groups). You could try news.aioe.org, that is
>>>> freely available.
>>>
>>> So far it works fine for me for news.gmane.io and news.aioe.org:
>>>
>>> *: nntp+news.aioe.org:ak.test Messages with the beta-nature.
>>> *: nntp+news.aioe.org:akr.biz Advertisements for Akron area businesses.
>>> *: nntp+news.aioe.org:akr.freenet Discussion about the Akron Regional 
>>> Free-Net.
>>> *: nntp+news.aioe.org:akr.internet Internet access in the Akron, Ohio, area.
>>> *: nntp+news.aioe.org:akr.jobs announcements and discussion of jobs in the 
>>> Akron area.
>>>
>>> news.mozilla.org simply seems to not provide group descriptions at all.
>>>
>>> Remind me of the version of Emacs/Gnus you're using?
>>
>> 26.3. I compiled it from source.
>
> Okay, with Emacs 26 I am able to reproduce that behavior. I don't think
> Emacs 26 is getting bugfixes at this point, though, so I'm not sure what
> to tell you. Is upgrading your Emacs a possibility?

OK I have upgraded to 27, and that has fixed the problem, although there
is a non-existant group called 215 with the description 'Newsgroup
descriptions in form "group description" '

Thanks for your help!
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus Describe Group and Gnus Describe All Groups

2020-02-16 Thread Richmond
Eric Abrahamsen  writes:

> Richmond  writes:
>
>> Eric Abrahamsen  writes:
>>
>>> Richmond  writes:
>>>
>>>> Eric Abrahamsen wrote:
>>>>> Richmond  writes:
>>>>>
>>>>>> When viewing the list of subscribed groups in gnus, you can select
>>>>>> from  
>>>>>> the group menu an option to describe the group (ctrl-c ctrl-d). For
>>>>>> this     
>>>>>> group the description is "News reading under GNU Emacs using GNUS
>>>>>> (in    
>>>>>> English)." There is also an option to describe all groups (alt-d
>>>>>> or  
>>>>>> M-d). I anticipated that this would put the description like
>>>>>> above   
>>>>>> beside each group, but it just puts the group name. Is this a
>>>>>> bug?   
>>>>> When I run `gnus-group-describe-all-groups' it pops up a completely
>>>>> separate buffer containing all group descriptions, one per line.
>>>>> `gnus-group-describe-group', on the other hand, just echoes the
>>>>> description in the minibuffer. Neither of the commands actually change
>>>>> how the *Group* buffer looks. Is that not what you're seeing?
>>>>
>>
>>> Which of the above servers hosts the groups that aren't producing
>>> descriptions correctly? I only use news.gmane.io. If the server is
>>> freely accessible I can try reproducing the behavior.
>>>
>> There are no descriptions from any servers that I have tried (using
>> gnus-group-describe-all-groups). You could try news.aioe.org, that is
>> freely available.
>
> So far it works fine for me for news.gmane.io and news.aioe.org:
>
> *: nntp+news.aioe.org:ak.test Messages with the beta-nature.
> *: nntp+news.aioe.org:akr.biz Advertisements for Akron area businesses.
> *: nntp+news.aioe.org:akr.freenet Discussion about the Akron Regional 
> Free-Net.
> *: nntp+news.aioe.org:akr.internet Internet access in the Akron, Ohio, area.
> *: nntp+news.aioe.org:akr.jobs announcements and discussion of jobs in the 
> Akron area.
>
> news.mozilla.org simply seems to not provide group descriptions at all.
>
> Remind me of the version of Emacs/Gnus you're using?

26.3. I compiled it from source.
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus Describe Group and Gnus Describe All Groups

2020-02-16 Thread Richmond
Eric Abrahamsen  writes:

> Richmond  writes:
>
>> Eric Abrahamsen wrote:
>>> Richmond  writes:
>>>
>>>> When viewing the list of subscribed groups in gnus, you can select
>>>> from  
>>>> the group menu an option to describe the group (ctrl-c ctrl-d). For
>>>> this     
>>>> group the description is "News reading under GNU Emacs using GNUS
>>>> (in    
>>>> English)." There is also an option to describe all groups (alt-d
>>>> or  
>>>> M-d). I anticipated that this would put the description like
>>>> above   
>>>> beside each group, but it just puts the group name. Is this a
>>>> bug?   
>>> When I run `gnus-group-describe-all-groups' it pops up a completely
>>> separate buffer containing all group descriptions, one per line.
>>> `gnus-group-describe-group', on the other hand, just echoes the
>>> description in the minibuffer. Neither of the commands actually change
>>> how the *Group* buffer looks. Is that not what you're seeing?
>>

> Which of the above servers hosts the groups that aren't producing
> descriptions correctly? I only use news.gmane.io. If the server is
> freely accessible I can try reproducing the behavior.
>
There are no descriptions from any servers that I have tried (using
gnus-group-describe-all-groups). You could try news.aioe.org, that is
freely available.

I expect if you don't want a list of all groups with their descriptions
then that is when to use the apropos version, which works.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Gnus Describe Group and Gnus Describe All Groups

2020-02-15 Thread Richmond
Eric Abrahamsen wrote:
> Richmond  writes:
>
>> When viewing the list of subscribed groups in gnus, you can select
>> from  
>> the group menu an option to describe the group (ctrl-c ctrl-d). For
>> this     
>> group the description is "News reading under GNU Emacs using GNUS
>> (in    
>> English)." There is also an option to describe all groups (alt-d
>> or  
>> M-d). I anticipated that this would put the description like
>> above   
>> beside each group, but it just puts the group name. Is this a
>> bug?   
> When I run `gnus-group-describe-all-groups' it pops up a completely
> separate buffer containing all group descriptions, one per line.
> `gnus-group-describe-group', on the other hand, just echoes the
> description in the minibuffer. Neither of the commands actually change
> how the *Group* buffer looks. Is that not what you're seeing?

No, not in the first case gnus-group-describe-all-groups
I am seeing a list of all the groups, including those
I am not subscribed to, in the *group* buffer, beginning like this:

 
*:  
  

  *: aaa.inu-chan
aaa.inu-chan
  

  *: ab.arnet
ab.arnet
  

  *: ab.general   ab.general


But note that it is not a description, it is simply the name of the
group repeated.

There is one error message in the messages buffer:

Reading descriptions file via nntp...   
Opening nntp server on news.aioe.org...done 
Reading descriptions file...done
Reading descriptions file via nnfolder...   
Couldn't read newsgroups descriptions   
Reading descriptions file via nntp...   
Opening nntp server on news.gmane.io... 
Opening nntp server on news.gmane.io...done 
Reading descriptions file...done
Reading descriptions file via nntp...   
Opening nntp server on news.mozilla.org...done  
Reading descriptions file...done

If I use "Group and description apropos" from the menu and press return
I see this:

aaa.inu-chan


  Inu-chan by Kenso KATO
(Moderated) 
   

ab.arnet


  No description.
(Moderated) 
  

ab.general  


  Items of general interest in Alberta,
Canada. 


In it's own buffer, which at least proves to me that there is a
description for these groups.

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Gnus Describe Group and Gnus Describe All Groups

2020-02-15 Thread Richmond
When viewing the list of subscribed groups in gnus, you can select
from  
the group menu an option to describe the group (ctrl-c ctrl-d). For
this     
group the description is "News reading under GNU Emacs using GNUS
(in    
English)." There is also an option to describe all groups (alt-d
or  
M-d). I anticipated that this would put the description like
above   
beside each group, but it just puts the group name. Is this a
bug?   

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Why is gnus subscribing me to groups without asking me?

2020-02-15 Thread Richmond
I am finding that groups appear on my list of groups which I have
not    
subscribed to. Why is this? For example since adding the gmane server
I  
am seeing things like this
appear: 

 

   
 
nntp+news.gmane.io:gwene.com.biblia-arabica.news
   
 

   
 
which is a group I did not subscribe
to. 
   

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Searching articles

2017-08-04 Thread Richmond
When searching articles using gnus-summary-search-article-forward or
backward, the search includes headers and body. Is it possible to search
only the body of the articles?

-- 
~


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Default character encoding

2017-07-30 Thread Richmond
Emanuel Berg <moa...@zoho.com> writes:

> Richmond wrote:
>
>> I think you can use C-U C-X =
>
> `C-x =' is `what-cursor-position' and with C-u
> it brings up DETAILs instead of just a short
> message in the echo area.
>
> The information with C-u is identical to what
> you get with `describe-char'.
>
>> Put the curser over a character in the
>> article whose encoding you would like to
>> know. If you are using gmane (or maybe even
>> if you are not) try it on these:
>>
>> Ż
>
> The Linux VT can't display it other than as
> a diamond but the encoding is utf-8-emacs.
>
>> “
>
> Displayable, utf-8-emacs.

What's the linux VT? The virtual console? I am using xfce4-terminal and
that can display it with xos4-terminus font. I think you would have to
change the font on the console to one which supported unicode.

Well I guess it told you the encoding anyway, which is what you wanted
to know.

-- 
~


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Default character encoding

2017-07-28 Thread Richmond
Emanuel Berg  writes:

>
> And: How can you tell what encoding is in
> effect in an article?

I think you can use C-U C-X =

Put the curser over a character in the article whose encoding you would
like to know. If you are using gmane (or maybe even if you are not) try
it on these:

Ż
“


-- 
~


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Default character encoding

2017-07-24 Thread Richmond
Teemu Likonen <tliko...@iki.fi> writes:

> Richmond [2017-07-23 18:16:50+01] wrote:
>
>> Is it possible to make Gnus default to Windows-1252 (or iso-8859-?)
>> when no character set is specified in headers of news articles?
>
> Yes. See variables gnus-default-charset and gnus-group-charset-alist.
> For example:
>
> (setq gnus-default-charset 'windows-1252)

Thanks, that's an even better solution I think.

-- 
~


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Default character encoding

2017-07-24 Thread Richmond
soyeo...@doraji.xyz (Byung-Hee HWANG "(황병희, 黃炳熙)") writes:

>
> How about this: in ~/.emacs
>
> #+BEGIN_SRC emacs-lisp
> (prefer-coding-system 'utf-8)
> #+END_SRC
>
> Then Gnus display on UTF-8, always!!!

Thanks. I've, um, slightly adapted that for my needs. :)

-- 
~


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Default character encoding

2017-07-23 Thread Richmond
Emanuel Berg  writes:

>
> As you seem to be so concerned with the
> appearance of articles, how about reading
> section 4.3 in RFC 3676? :)
>
> http://www.ietf.org/rfc/rfc3676.txt

OK my lawyer and I read the document. I think I get what you are
saying. :)

-- 
This signature is entended purely to provide a signature.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Default character encoding

2017-07-23 Thread Richmond
Is it possible to make Gnus default to Windows-1252 (or iso-8859-?) when
no character set is specified in headers of news articles?

I searched but only found the concept of washing, which replaces “ when
encoded as octal 224 with `` for example. W Y f. A very useful function
anyway.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Summary buffer highlighting/colouring with Agent

2017-07-22 Thread Richmond
a...@koldfront.dk (Adam Sjøgren) writes:

> Richmond writes:
>
>> When I switch on Agent for a server I find the colouring changes in the
>> summary buffers.
>
> Does running M-x describe-face with point on some of the colour-changed
> text give any clues?
>
> Maybe turning on the agent triggers the use of the
> gnus-summary.*undownloaded faces?
>

Yes that's it. It is using gnus-summary-normal-undownloaded, which is
cyan4, which to me looks the same as gnus-summary-normal-ancient, which
is RoyalBlue.

Thanks.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Summary buffer highlighting/colouring with Agent

2017-07-22 Thread Richmond
I am using xterm.

When I switch on Agent for a server I find the colouring changes in the
summary buffers. I think it is on all but one group. The colour has
changed to blue/grey as if the articles have been read, whereas they normally
appear in the foreground colour.

This also happens using gtk but the colours are different.

Why does it happen? What is the meaning of the colours? I haven't used a
face. I have a gnus-summary-line-format but it is just spacing etc.

(For those watching in black and white, the text that I am typing now is
in the foreground colour, but the header's names above are in blue/grey)


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Red Flag

2017-05-24 Thread Richmond
Dmitry Alexandrov <321...@gmail.com> writes:

>> it appears in purple in xterm
>
> In addition, I have to mention that is no much use in describing
> colours that you see in *your* terminal to someone else.
>
> But when using GNU Emacs examining appearance might be indeed a good
> start to solving a question.  If you C-u C-x = on that purple line,
> Emacs would report that it has (if I guessed right)
> ‘gnus-summary-normal-ticked’ face property.  And ‘ticked’ is the very
> key word you are looking for!  You could search the Web for it or
> address the accompanying manual directly ( i m gnus RET i tick
> RET).
>

Thanks. Right, ticked. I don't think I would ever have got that.

And what do you know, it's not purple, it's red. Well, could have fooled
me.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Red Flag

2017-05-24 Thread Richmond
Using Seamonkey I can set a flag on a message. It appears pictorially as
a flag if I enable the flag column. This is IMAP. If I go into Gnus and
look at the same message in the summary articles it appears in purple in
xterm and it does not go away when read. This is very useful. But I
don't know how to set the flag in Gnus. Is there a way to do it? Where
are the flags actually stored? I am guessing not in the headers, I can't
see anything there.


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english