Re: Getting Keywords: from parent article in message-setup-hook when following up
Adam Sjøgren writes: > Eric writes: > >> I think the "big" solution is to visit `message-reply-buffer', if that's >> a live buffer, and parse its contents. > > That sounds better than the ugly hack I have now, where I update a > global variable from gnus-article-prepare-hook and use it in > message-setup-hook - eeek. When you think about it, updating a global variable is all the Gnus code is doing! But better to rely on someone else's ugly hack, I suppose...
Re: Gnus fetch freezes emacs
> So this works, in the sense that it stops me waiting forever... However, > it seems (early days yet) that when it fails to open the connection to > an NNTP server, it stops retrieving news and I have to hit 'g' again to > get the counts etc. updated for other servers. But much better than > waiting forever. Interestingly (to me at least!) is that I rarely encounter a hang while fetching, although at times it can be terribly slow--- I fetch via IMAP and just from gmail, and I blame gmail for this for the most part. But what I do encounter from time to time is a hang when sending. I'll wait, press ctrl-g, and find the email has been sent, but control was never returned. This is with SMTP via msmtp. I've never tried to track it down as it isn't frequent enough to be more than a small nuisance. -- Bob Newell Honolulu, Hawai`i - Via GNU/Linux/Emacs/Gnus/BBDB
Re: Getting Keywords: from parent article in message-setup-hook when following up
Eric writes: > I think the "big" solution is to visit `message-reply-buffer', if that's > a live buffer, and parse its contents. That sounds better than the ugly hack I have now, where I update a global variable from gnus-article-prepare-hook and use it in message-setup-hook - eeek. Thanks! Adam -- 'As usual, Bob Dylan said it best when he wrote in Adam Sjøgren 1965, "He not busy being born, is busy dying."' a...@koldfront.dk
Re: Getting Keywords: from parent article in message-setup-hook when following up
Adam Sjøgren writes: > How do I get hold of the parent articles' Keywords: in > message-setup-hook when I do a follow up? > > I can get eg From: by lookin in message-reply-headers - but Keywords: > are not in there. > > Is there a trick I can use? I think the "big" solution is to visit `message-reply-buffer', if that's a live buffer, and parse its contents.
Re: Gnus fetch freezes emacs
Eric S Fraga writes: > On Sunday, 2 Jul 2023 at 16:59, Eric Abrahamsen wrote: >> If everyone's hitting this with NNTP servers, you can set >> `nntp-connection-timeout' to a number of seconds. It is nil by default, >> which I guess would result in permanent hangs. > > So this works, in the sense that it stops me waiting forever... However, > it seems (early days yet) that when it fails to open the connection to > an NNTP server, it stops retrieving news and I have to hit 'g' again to > get the counts etc. updated for other servers. But much better than > waiting forever. Yeah, I'd put in a dumb fix for this that turned out to be buggy, so we just recently reverted it. I have a more thorough fix in progress somewhere here, that would report a server connection failure without interrupting the rest of the servers, but it's not done yet. I've had very little time for coding recently, but will get to it At Some Point. Glad it's at least better than it was. I wonder if we should have some generous timeout set by default...
Getting Keywords: from parent article in message-setup-hook when following up
How do I get hold of the parent articles' Keywords: in message-setup-hook when I do a follow up? I can get eg From: by lookin in message-reply-headers - but Keywords: are not in there. Is there a trick I can use? Best regards, Adam -- "The laws of perspective have been repealed! Adam Sjøgren Objects no longer diminish in size with distance!" a...@koldfront.dk
Re: Gnus fetch freezes emacs
On Sunday, 2 Jul 2023 at 16:59, Eric Abrahamsen wrote: > If everyone's hitting this with NNTP servers, you can set > `nntp-connection-timeout' to a number of seconds. It is nil by default, > which I guess would result in permanent hangs. So this works, in the sense that it stops me waiting forever... However, it seems (early days yet) that when it fails to open the connection to an NNTP server, it stops retrieving news and I have to hit 'g' again to get the counts etc. updated for other servers. But much better than waiting forever. Thank you, eric -- Eric S Fraga via gnus (Emacs 30.0.50 2023-06-29) on Debian 12.0
Re: Gnus fetch freezes emacs
On Sunday, 2 Jul 2023 at 16:59, Eric Abrahamsen wrote: > If everyone's hitting this with NNTP servers, you can set > `nntp-connection-timeout' to a number of seconds. It is nil by default, > which I guess would result in permanent hangs. Thank you for the suggestion. I have set this to 15 seconds and we'll see if this makes any difference! I'll report back in due course hopefully. -- Eric S Fraga via gnus (Emacs 30.0.50 2023-06-29) on Debian 12.0