Gnus development mailing list
 help / color / mirror / Atom feed
* make dormant marks permanent (no gnus-summary-limit-to-registry)
@ 2025-06-06 12:41 Uwe Brauer
  2025-06-06 13:18 ` Andreas Schwab
  2025-06-07  0:30 ` James Cloos
  0 siblings, 2 replies; 4+ messages in thread
From: Uwe Brauer @ 2025-06-06 12:41 UTC (permalink / raw)
  To: ding


Hi


Is there any way to make dormant marks permanent?
I add dormant marks to the messages of my imap group

But after closing gnus and restarting emacs they are gone.

Rationale

I want to use gnus-summary-limit-to-marks
to display certain message.


Another option would be to use the registry, but
gnus-summary-limit-to-registry does not exist and seems difficult to
implement, at least I was unable to do it.


Regards

Uwe Brauer 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make dormant marks permanent (no gnus-summary-limit-to-registry)
  2025-06-06 12:41 make dormant marks permanent (no gnus-summary-limit-to-registry) Uwe Brauer
@ 2025-06-06 13:18 ` Andreas Schwab
  2025-06-07  0:30 ` James Cloos
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2025-06-06 13:18 UTC (permalink / raw)
  To: ding

On Jun 06 2025, Uwe Brauer wrote:

> Is there any way to make dormant marks permanent?
> I add dormant marks to the messages of my imap group

That should work out of the box, if your imap server allows storing
arbitrary permanent flags.  See nnimap-mark-alist.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make dormant marks permanent (no gnus-summary-limit-to-registry)
  2025-06-06 12:41 make dormant marks permanent (no gnus-summary-limit-to-registry) Uwe Brauer
  2025-06-06 13:18 ` Andreas Schwab
@ 2025-06-07  0:30 ` James Cloos
  2025-06-07  6:34   ` Uwe Brauer
  1 sibling, 1 reply; 4+ messages in thread
From: James Cloos @ 2025-06-07  0:30 UTC (permalink / raw)
  To: ding

>>>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

UB> Is there any way to make dormant marks permanent?
UB> I add dormant marks to the messages of my imap group

Since the commit Lars pushed which ended newsrc.eld storage of marks for
imap groups, persistance of any mark, including dormant, is solely
dependent on the imap server.

when that change happened, i was using an imap server which could only
support the fixed set of marks in the imap rfc.

so tick -- which uses the standard imap keyword Flagged -- would persist.

dormant, however, is a gnus-specific keyword (gnus-dormant).
so it would not persist.

i now use dovecot, which supports arbitrary keywords.  so now dormant
persists for me.  as it used to back when all of the marks were stored
in ~/.newrc.eld.

so your only options are an imap server capable of storing arbitrary
keywords, hack you current imap server to support the gnus-dormant
keyword, or hack gnus to save dormant in .newrc.eld.

(in the latter case it would be best to store locally only for imap
servers which cannot store arbitrary imap keywords.)

-JimC
-- 
James Cloos <cloos@jhcloos.com>
            OpenPGP: https://jhcloos.com/0x997A9F17ED7DAEA6.asc


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make dormant marks permanent (no gnus-summary-limit-to-registry)
  2025-06-07  0:30 ` James Cloos
@ 2025-06-07  6:34   ` Uwe Brauer
  0 siblings, 0 replies; 4+ messages in thread
From: Uwe Brauer @ 2025-06-07  6:34 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 1955 bytes --]

>>> "JC" == James Cloos <cloos@jhcloos.com> writes:

>>>>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:
UB> Is there any way to make dormant marks permanent?
UB> I add dormant marks to the messages of my imap group

> Since the commit Lars pushed which ended newsrc.eld storage of marks for
> imap groups, persistance of any mark, including dormant, is solely
> dependent on the imap server.


I didn't know this, do you remember which commit that was. I am still
using 29.4 but it seems that my «!» Marks are saved.


> when that change happened, i was using an imap server which could only
> support the fixed set of marks in the imap rfc.

> so tick -- which uses the standard imap keyword Flagged -- would persist.

> dormant, however, is a gnus-specific keyword (gnus-dormant).
> so it would not persist.

> i now use dovecot, which supports arbitrary keywords.  so now dormant
> persists for me.  as it used to back when all of the marks were stored
> in ~/.newrc.eld.

> so your only options are an imap server capable of storing arbitrary
> keywords, hack you current imap server to support the gnus-dormant
> keyword, or hack gnus to save dormant in .newrc.eld.

> (in the latter case it would be best to store locally only for imap
> servers which cannot store arbitrary imap keywords.)

I am depending on my university server which finally is a gmail imap
server.


Thanks, in principle from a user point of view I would also be happy with
registry marks, instead of dormant marks. 

Those are also saved (but in .gnus.registry.eieio), however writing a
gnus-summary-limit-to-registry function is too difficult for me at the
moment....

> -JimC

-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5684 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-09 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-06 12:41 make dormant marks permanent (no gnus-summary-limit-to-registry) Uwe Brauer
2025-06-06 13:18 ` Andreas Schwab
2025-06-07  0:30 ` James Cloos
2025-06-07  6:34   ` Uwe Brauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).