Re: Help needed: nnmaildir and expire-group parameter.

2022-11-30 Thread Eric Abrahamsen
Fernando de Morais writes: > Hello Eric, > > Eric Abrahamsen writes: > >> Look for the value of "pgname", and the 'expire-age parameter, and >> later the 'expire-group parameter. Something in there should jump out >> at you as "wrong&qu

Re: delete downloaded marked emails after specific days & pop3 advice

2022-12-06 Thread Eric Abrahamsen
"jindam, vani" writes: > after much trials, i found its impossible to run > dovecot on debian 11 on userland (1). i have a > copy of gnus manual (by lars magne, 1995-2015, > no version). recently disvovered check paren > for looking errors on .gnus > > i have few questions: > > (a) is it possible

Re: Keeping IMAP connection alive when using it in mail-sources

2023-01-08 Thread Eric Abrahamsen
Adam Sjøgren writes: > Hi, > > > I was wondering if there is a way to use IMAP in mail-sources ("as > POP"), but without closing the connection after every > gnus-group-get-new-news? Not with the code as it's written! There's a very definite (imap-close buf) at the end of the mail source fetch

Re: Removing the first nntp server from the list

2023-01-26 Thread Eric Abrahamsen
Emanuel Berg writes: > Richmond 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:

Re: gnus-search since: not working for nnimap

2023-01-28 Thread Eric Abrahamsen
Julien Cubizolles writes: > I've gnus-search configured to use gnus-search-imap for a nnimap > method. G G (gnus-group-read-ephemeral-search-group) doesn't return any > result when using a query like "since:1y" on a nnimap group whereas: > > + the same query works in a nnml group > + a query like

Re: gnus-search since: not working for nnimap

2023-01-29 Thread Eric Abrahamsen
Julien Cubizolles writes: > Eric Abrahamsen writes: > >> You can play with the bits and pieces to see where things might be going >> wrong: >> >> (gnus-search-query-parse-date "1y") -> (28 1 2022) >> (gnus-search-parse-query "since:1y"

Re: gnus-search since: not working for nnimap

2023-01-30 Thread Eric Abrahamsen
Julien Cubizolles writes: > Julien Cubizolles writes: > >> 'gnus-search-transform seems to be at fault here. It uses >> '(format-time-string "%e-%b-%Y") where %b returns the "locale’s >> abbreviated month name" when imap commands expects the english abbreviated >> month name. > > It's working wi

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Eric Abrahamsen
Angel de Vicente writes: > Hello, > > piggypbacking from the thread started by Julien Cubizolles... > > I have all my mail in nnml folders, but searching seems really broken > here. In a folder where I keep all my 2022 mails, if I do > > G G since:3d > > I get mails for the following dates: > > ,

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Eric Abrahamsen
Angel de Vicente writes: >>> You haven't said what search engine you're using, but if it's notmuch: >> >> it is ages since I configured this, but I'm not using notmuch, it is >> just whatever stock method comes with Gnus, *I think* > > should be mairix. > > my gnus-search-default-engines variable

Re: wrong gnus-search in nnml folder

2023-01-30 Thread Eric Abrahamsen
Angel de Vicente writes: > Hello, > > Angel de Vicente writes: >> I will try, though I'm really rusty with Emacs debugging, I will have to >> refresh my memory.. > > ok, it was really easy to remember how to use Edebug. What I found is > that apparently I cannot use "since:3d", "from:angel", etc

Re: wrong gnus-search in nnml folder

2023-02-01 Thread Eric Abrahamsen
Angel de Vicente writes: > Hello, > > Angel de Vicente writes: >> oh, indeed it was nil. Changed it and queries like "since:3d" work now >> beautifully. What I don't get to work is compound queries like since:3d >> from:alex (they work separetely, but nothing gets returned if I try to >> combine

Re: wrong gnus-search in nnml folder

2023-02-01 Thread Eric Abrahamsen
Fernando de Morais writes: > Hello Angel and Eric, > > Angel de Vicente writes: > >> What I don't get to work is compound queries like since:3d from:alex >> (they work separetely, but nothing gets returned if I try to combine >> two queries... > > I use mairix as my search engine on nnmaildir se

Re: Is gnus-demon-scan-news supposed to scan nnselect search groups?

2023-02-13 Thread Eric Abrahamsen
Julien Cubizolles writes: > I noticed that the permanent search groups I've created don't get > rescanned by (gnus-demon-scan-news), I need to run > (gnus-summary-rescan-group) in its summary to get the new search > results. Is there a way to trigger a rescan of all nnselect groups when > the con

Re: Gnus fetch freezes emacs

2023-07-02 Thread Eric Abrahamsen
Prashant Tak writes: > Stephen Berman writes: > >> On Fri, 30 Jun 2023 20:03:11 +0530 Prashant Tak >> wrote: >> >>> Gnus has been freezing sporadically when `gnus-group-get-new-news` is run. >>> And it keeps on going for hours, I have to manually intercept and signal >>> `keyboard-quit` and the

Re: Gnus fetch freezes emacs

2023-07-03 Thread Eric Abrahamsen
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.

Re: Getting Keywords: from parent article in message-setup-hook when following up

2023-07-03 Thread Eric Abrahamsen
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-

Re: Getting Keywords: from parent article in message-setup-hook when following up

2023-07-03 Thread Eric Abrahamsen
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 > messa

Re: Gnus fetch freezes emacs

2023-07-04 Thread Eric Abrahamsen
Stephen Berman writes: > On Mon, 03 Jul 2023 09:36:26 -0700 Eric Abrahamsen > wrote: > >> 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 >&g

Re: Gnus fetch freezes emacs

2023-07-04 Thread Eric Abrahamsen
Stephen Berman writes: > On Tue, 04 Jul 2023 10:02:34 -0700 Eric Abrahamsen > wrote: > >> Stephen Berman writes: [...] > This: > > (defun srb-gnus-group-get-new-news (&optional arg one-level) >(interactive "P") >(with-timeout (1 (kill

Re: Getting Keywords: from parent article in message-setup-hook when following up

2023-07-05 Thread Eric Abrahamsen
Adam Sjøgren writes: > Eric writes: > >> 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... > > Haha, yes, and if you take a couple of more steps back, all computing > is manipulation of global memory

Re: Gnus fetch freezes emacs

2023-07-05 Thread Eric Abrahamsen
On 07/05/23 10:04 AM, Stephen Berman wrote: > On Tue, 04 Jul 2023 20:50:05 -0700 Eric Abrahamsen > wrote: > >> Stephen Berman writes: >> >>> On Tue, 04 Jul 2023 10:02:34 -0700 Eric Abrahamsen >>> wrote: >>> >>>> Stephen Berman wri

Re: Gnus fetch freezes emacs

2023-07-05 Thread Eric Abrahamsen
Stephen Berman writes: > On Wed, 05 Jul 2023 11:55:36 -0700 Eric Abrahamsen > wrote: > >> On 07/05/23 10:04 AM, Stephen Berman wrote: >>> On Tue, 04 Jul 2023 20:50:05 -0700 Eric Abrahamsen >>> wrote: > [...] >>>> Using `nntp-connection-t

Re: slow saving of scores when leaving a virtual (nnml+) group

2023-07-06 Thread Eric Abrahamsen
Eric S Fraga writes: > Hello all, > > recently (past week or two), I've noticed a slow down in leaving some of > my nnml groups. Using the profiler, I see the outcomes shown below, > capturing cpu and memory when entering a virtual group, that collects 3 > different nnml groups, and then immedia

Re: slow saving of scores when leaving a virtual (nnml+) group

2023-07-07 Thread Eric Abrahamsen
Eric S Fraga writes: > On Thursday, 6 Jul 2023 at 08:43, Eric Abrahamsen wrote: >> I've attached a patch that reverts it, you might give this a try? If it >> clearly fixes the problem, I would open a bug report and cc Stefan. > > Hi Eric, > > thank you for thi

Re: Does Gnus read and sync the read with IMAP?

2023-10-20 Thread Eric Abrahamsen
Michael Heerdegen writes: > Bob Newell writes: > >> This goes well beyond my very limited knowledge so I did an >> experiment. I went to the gmail web interface and found an >> already-opened message in the All Mail folder (really a label) >> that I knew for certain I had originally opened in g

Re: Does Gnus read and sync the read with IMAP?

2023-10-20 Thread Eric Abrahamsen
Dan Christensen writes: > On Oct 19, 2023, Björn Bidar wrote: > >> How can I make Gnus to fetch the read status from Imap? > > In the *Group* buffer, you can make Gnus update the marks from the IMAP > server using `M-g'. > > Here's a followup question: how can I make Gnus update the marks for >

Re: How to search for ticked articles

2023-10-20 Thread Eric Abrahamsen
Julien Cubizolles writes: > I used to use the "mark:flag" search query to look for ticked articles > with gnus-search. I recently noticed that it doesn't return any articles > anymore in groups with ticked articles. > > What exactly does the "flag" mark represent, and is there a better way > to l

Re: Does Gnus read and sync the read with IMAP?

2023-10-20 Thread Eric Abrahamsen
Björn Bidar writes: > Dan Christensen writes: > >> On Oct 20, 2023, Eric Abrahamsen wrote: >> >>> Dan Christensen writes: >>> >>>> Here's a followup question: how can I make Gnus update the marks >>>> for >>>> *al

Re: How to search for ticked articles

2023-10-21 Thread Eric Abrahamsen
Julien Cubizolles writes: > Eric Abrahamsen writes: > >> Julien Cubizolles writes: >> >>> I used to use the "mark:flag" search query to look for ticked articles >>> with gnus-search. I recently noticed that it doesn't return any articles >&

Re: Correct ordering of items in mail threads

2023-10-22 Thread Eric Abrahamsen
Pankaj Jangid writes: > Eric S Fraga writes: > >> On Saturday, 21 Oct 2023 at 10:41, Pankaj Jangid wrote: >>> ;; Threading >>> '(gnus-thread-sort-functions >>>'(gnus-thread-sort-by-number)) >>> '(gnus-summary-thread-gathering-function >>>'gnus-gather-threads-by-references) >>> >> >> I

Re: Correct ordering of items in mail threads

2023-10-22 Thread Eric Abrahamsen
Adam Sjøgren writes: > Eric writes: > >> sorting by number _usually_ means sorting by arrival time, but >> there's no contract there. > > When do the numbers given to articles in Gnus not reflect _arrival_ > time? Sorry, that was backwards -- I meant the articles don't always arrive at Gnus in t

Re: Correct ordering of items in mail threads

2023-10-22 Thread Eric Abrahamsen
Adam Sjøgren writes: > Eric writes: > >> I meant the articles don't always arrive at Gnus in the order they >> were originally authored. > > Got it :-) > > I have configured Gnus to sort a bunch of groups by date instead of by > number, and I can't feel the difference (in speed) -- this on a 4 ye

Re: How to search for ticked articles

2023-10-23 Thread Eric Abrahamsen
Julien Cubizolles writes: > Julien Cubizolles writes: > > >> I'm using the imap search engine. When I shut off search parsing, >> the "FLAGGED" search query does indeed return the ticked articles, when >> "mark:flag" didn't. But I tried again (with search parsing on) with the >> query "mark:flag

Re: Gnus threads too many articles together

2023-10-25 Thread Eric Abrahamsen
John Haman writes: > Everyday I get an email from my bank saying what my account balance > is. These are all different emails, but Gnus puts them all in one > thread, I think because they have the same subject. If I go into my > bank group and insert old articles, I get > > > O Jan 24, 2023

Re: Gnus and authinfo

2023-11-27 Thread Eric Abrahamsen
"Otto J. Makela" writes: > Sorry if this is a very much FAQ item, but I really don't know where > else I could ask this question. > > With an operating system upgrade (to Fedora Linux 39) I also got a emacs > upgrade (to version 29.1) Some time in the ancient past I've simply set > > (setq gnus-s

Re: Inhibiting gnus-get-new-news at startup

2023-12-30 Thread Eric Abrahamsen
Husain Alshehhi writes: > Hello, > > When gnus starts (M-x gnus), it automatically get new news. This is a > reasonable default. But when I start gnus multiple times to look up a > message, I have to wait few seconds for it to start. Is there a way to > prevent gnus to get new news at startup tim

Re: Inhibiting gnus-get-new-news at startup, Re: Inhibiting gnus-get-new-news at startup, Re: Inhibiting gnus-get-new-news at startup

2023-12-31 Thread Eric Abrahamsen
James Thomas writes: > Husain Alshehhi wrote: > >> Is there a way to prevent gnus to get new news at startup time, and >> only do it manually? > > Eric Abrahamsen wrote: > >> The command `gnus-no-server' will likely do what you want. > > IIRC this w

Re: Inhibiting gnus-get-new-news at startup

2024-01-03 Thread Eric Abrahamsen
Eric S Fraga writes: > On Tuesday, 2 Jan 2024 at 21:34, Husain Alshehhi wrote: >> I might have spoken too soon. It appears that the issue is not with nntp >> groups, but with nnrss. I ran the profile and saw the following: > > Which is why I switched to elfeed for rss feeds. I would prefer to u

<    1   2   3   4