Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
* sup-tweak-labels: Changed labels not reflected in sup
@ 2020-07-08 17:17 Robert Winkler
  2020-07-08 18:43 ` [sup] " Iain Parris
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Winkler @ 2020-07-08 17:17 UTC (permalink / raw)
  To: The Sup email client


[-- Attachment #1.1: Type: text/plain, Size: 907 bytes --]

Hi, I try to homogenize the use of labels from my different accounts. As a 
first step, I wanted to remove all unnecessary labels and inbox by:

/usr/local/sup/bin/sup-tweak-labels --all-sources -r gmail_archive, 
inbox_archive, sentg_archive, senti_archive, sentm_archive, inbox 
Found 6000 documents across 18 sources. Scanning...
Scanned 4000 / 6000 messages and changed 4000.
Optimizing index...
[2020-07-08 09:06:11 -0500] Flushing Xapian updates to disk. This may take 
a while...

looks fine. Well, I run this a few times (I got >20k mails), until I get:

Found 0 documents across 18 sources. Scanning...
Scanned 0 / 0 messages and changed 0.
[2020-07-08 09:07:11 -0500] Flushing Xapian updates to disk. This may take 
a while...

and 
sup-sync

Now, my inbox in sup should be empty, isn't it?

Unfortunately, there are still 21635 messages in index.

Anything I am missing?

Best regards, 

Robert 

[-- Attachment #1.2: Type: text/html, Size: 10189 bytes --]

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

* Re: [sup] sup-tweak-labels: Changed labels not reflected in sup
  2020-07-08 17:17 sup-tweak-labels: Changed labels not reflected in sup Robert Winkler
@ 2020-07-08 18:43 ` Iain Parris
       [not found]   ` <1594237220-sup-4842@rob-Lenovo-Y720-15IKB>
  0 siblings, 1 reply; 5+ messages in thread
From: Iain Parris @ 2020-07-08 18:43 UTC (permalink / raw)
  To: Robert Winkler; +Cc: The Sup email client

Hi Robert,

Excerpts from Robert Winkler's message of 2020-07-08 10:17:32 -0700:
> Now, my inbox in sup should be empty, isn't it?
> 
> Unfortunately, there are still 21635 messages in index.
> 
> Anything I am missing?

There's a distinction between:

- "in index" - This is the total number of messages that Sup knows
  about, i.e., all messages that have been indexed by Xapian. This is
  expected to be a very big, and usually ever-increasing, number. :-)

- "in inbox" - Messages with the special label "Inbox". These will
  appear in the "index-mode" buffer (the default buffer shown when you
  launch sup).

To see some very approximate counts for messages in each label, type "L"
(capital-L) in index-mode, which will prompt "Show threads with label
(enter for listing)" - then press enter without specifying a label.
Normal labels are shown, as are the special labels (e.g., "Inbox").

Kind regards,
Iain


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

* Re: [sup] sup-tweak-labels: Changed labels not reflected in sup
       [not found]   ` <1594237220-sup-4842@rob-Lenovo-Y720-15IKB>
@ 2020-07-08 21:51     ` Iain Parris
  2020-07-08 22:42       ` Robert Winkler
  0 siblings, 1 reply; 5+ messages in thread
From: Iain Parris @ 2020-07-08 21:51 UTC (permalink / raw)
  To: Robert Winkler; +Cc: supmua

Hi Robert,

Excerpts from Robert Winkler's message of 2020-07-08 14:44:09 -0500:
> Thanks for this explanation. However, there are still 21,400 mails with
> the inbox label.
> 
> Somehow, the tweaks operation had no visible effect. Is there any
> additional step necessary after removing the labels?

There should be no additional steps necessary - "sup-tweak-labels"
should be all that's needed.

I think that I've spotted the problem. The comma-separated list for the
"-r" (--remove) parameter can't have any spaces between the label names.

Please could you try this instead (spaces removed):

  /usr/local/sup/bin/sup-tweak-labels --all-sources -r gmail_archive,inbox_archive,sentg_archive,senti_archive,sentm_archive,inbox

Kind regards,
Iain


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

* Re: [sup] sup-tweak-labels: Changed labels not reflected in sup
  2020-07-08 21:51     ` Iain Parris
@ 2020-07-08 22:42       ` Robert Winkler
  2020-07-08 23:06         ` Iain Parris
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Winkler @ 2020-07-08 22:42 UTC (permalink / raw)
  To: The Sup email client


[-- Attachment #1.1: Type: text/plain, Size: 994 bytes --]

Excellent, you were completely right, Iain!

For the first time in about a decade I had a 0 inbox ;-).

Best regards, 

Robert

On Wednesday, 8 July 2020 16:51:27 UTC-5, Iain Parris wrote:
>
> Hi Robert, 
>
> Excerpts from Robert Winkler's message of 2020-07-08 14:44:09 -0500: 
> > Thanks for this explanation. However, there are still 21,400 mails with 
> > the inbox label. 
> > 
> > Somehow, the tweaks operation had no visible effect. Is there any 
> > additional step necessary after removing the labels? 
>
> There should be no additional steps necessary - "sup-tweak-labels" 
> should be all that's needed. 
>
> I think that I've spotted the problem. The comma-separated list for the 
> "-r" (--remove) parameter can't have any spaces between the label names. 
>
> Please could you try this instead (spaces removed): 
>
>   /usr/local/sup/bin/sup-tweak-labels --all-sources -r 
> gmail_archive,inbox_archive,sentg_archive,senti_archive,sentm_archive,inbox 
>
> Kind regards, 
> Iain 
>

[-- Attachment #1.2: Type: text/html, Size: 9268 bytes --]

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

* Re: [sup] sup-tweak-labels: Changed labels not reflected in sup
  2020-07-08 22:42       ` Robert Winkler
@ 2020-07-08 23:06         ` Iain Parris
  0 siblings, 0 replies; 5+ messages in thread
From: Iain Parris @ 2020-07-08 23:06 UTC (permalink / raw)
  To: supmua

Excerpts from Robert Winkler's message of 2020-07-08 15:42:42 -0700:
> Excellent, you were completely right, Iain!
> 
> For the first time in about a decade I had a 0 inbox ;-).

That's great! It's probably been the best part of a decade for me too
since I was at Inbox Zero. Maybe I should also run sup-tweak-labels. :-)

Kind regards,
Iain


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

end of thread, other threads:[~2020-07-08 23:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 17:17 sup-tweak-labels: Changed labels not reflected in sup Robert Winkler
2020-07-08 18:43 ` [sup] " Iain Parris
     [not found]   ` <1594237220-sup-4842@rob-Lenovo-Y720-15IKB>
2020-07-08 21:51     ` Iain Parris
2020-07-08 22:42       ` Robert Winkler
2020-07-08 23:06         ` Iain Parris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox