Re: Does Gnus read and sync the read with IMAP?
Michael Heerdegen wrote: > AFAIU Gnus stores such stuff in a file named ".newsrc.eld" (AFAIR > ".newsrc.el" in older Emacs versions). And indeed, among other things > there seems to be information about "seen" status of messages in that > file, as well as saved status, ticked and dormant status, all of that > Gnus specific stuff, but nothing related to the "read" (or "old") > status. So I guess the "read" status is fetched every time when you > open the group, along with the rest (list of existing messages etc). Just FYI: For those who use the agent, (info "(gnus) Agent and flags") is also relevant in this regard. --
Re: How to search for ticked articles
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:flagged" and it works ! Actually, I was wrong, I'm using notmuch to search a maildir group. The results, with gnus-search-use-parsed-queries turned off, are : No results with : mark:flag tag:flag flagged Success with : mark:flagged tag:flagged FLAGGED -- Julien Cubizolles
Re: Correct ordering of items in mail threads
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 year > old laptop. > > Maybe I'm just growing slower ;-) Or all this just seems to matter less!
Re: Correct ordering of items in mail threads
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 year old laptop. Maybe I'm just growing slower ;-) Best regards, Adam -- "What do you do for a living, man?"Adam Sjøgren "Oh, I confound expectations."a...@koldfront.dk
Re: Correct ordering of items in mail threads
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 the order they were originally authored.
Re: Correct ordering of items in mail threads
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? Best regards, Adam -- "Some kind of night into your darkness Adam Sjøgren Colors your eyes with what's not there" a...@koldfront.dk
Re: Correct ordering of items in mail threads
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 have >> >> (setq gnus-sort-gathered-threads-function 'gnus-thread-sort-by-date) >> >> along with similar (but slightly different) settings for the variables >> you've set. This variable says how to sort *within* a thread which may >> be what you are looking for. > > In fact, I wanted to use 'gnus-thread-sort-by-date for > gnus-thread-sort-functions. But the docstring discouraged me. > > Also note that sorting by date is often much slower than sorting by > number, and the sorting order is very similar. (Sorting by date means > sorting by the time the message was sent, sorting by number means > sorting by arrival time.) I think this is the trade-off, though -- sorting by number _usually_ means sorting by arrival time, but there's no contract there. It's entirely possible for messages to arrive out-of-order, and when they do, you get a weird display. I think a lot of what was slow in Gnus is gradually becoming less slow (with things like native compilation and whatnot) and you might try sorting by date and just seeing how bad it is.
Re: Correct ordering of items in mail threads
Pankaj writes: > In fact, I wanted to use 'gnus-thread-sort-by-date for > gnus-thread-sort-functions. But the docstring discouraged me. > > Also note that sorting by date is often much slower than sorting by > number, and the sorting order is very similar. These warnings are less and less relevant with the speed of personal computers these days, I think. If you give it a go, let us know if you can feel any difference! Best regards, Aam -- "It's either spectacular, unbelievable success, or Adam Sjøgren crushing, hopeless defeat! There is no middlea...@koldfront.dk ground!"
Re: Correct ordering of items in mail threads
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 have > > (setq gnus-sort-gathered-threads-function 'gnus-thread-sort-by-date) > > along with similar (but slightly different) settings for the variables > you've set. This variable says how to sort *within* a thread which may > be what you are looking for. In fact, I wanted to use 'gnus-thread-sort-by-date for gnus-thread-sort-functions. But the docstring discouraged me. --8<---cut here---start->8--- Also note that sorting by date is often much slower than sorting by number, and the sorting order is very similar. (Sorting by date means sorting by the time the message was sent, sorting by number means sorting by arrival time.) --8<---cut here---end--->8---
Re: Correct ordering of items in mail threads
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 have (setq gnus-sort-gathered-threads-function 'gnus-thread-sort-by-date) along with similar (but slightly different) settings for the variables you've set. This variable says how to sort *within* a thread which may be what you are looking for. -- Eric S Fraga via gnus (Emacs 30.0.50 2023-09-14) on Debian 12.1