sup 1.2 → 1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/checks.yml +19 -4
  3. data/.gitmodules +1 -0
  4. data/.rubocop.yml +1 -1
  5. data/History.txt +33 -0
  6. data/Manifest.txt +21 -2
  7. data/README.md +5 -3
  8. data/Rakefile +1 -1
  9. data/bin/sup +5 -3
  10. data/contrib/nix/Gemfile +2 -0
  11. data/contrib/nix/Gemfile.lock +62 -34
  12. data/contrib/nix/gem-install-shell.nix +2 -0
  13. data/contrib/nix/gemset.nix +130 -56
  14. data/contrib/nix/ruby2.4-Gemfile.lock +6 -2
  15. data/contrib/nix/ruby2.4-gemset.nix +24 -4
  16. data/contrib/nix/ruby2.4-shell.nix +2 -6
  17. data/contrib/nix/ruby2.5-Gemfile.lock +6 -2
  18. data/contrib/nix/ruby2.5-gemset.nix +24 -4
  19. data/contrib/nix/ruby2.5-shell.nix +2 -6
  20. data/contrib/nix/ruby2.6-Gemfile.lock +6 -2
  21. data/contrib/nix/ruby2.6-gemset.nix +24 -4
  22. data/contrib/nix/ruby2.6-shell.nix +2 -6
  23. data/contrib/nix/ruby2.7-Gemfile.lock +91 -0
  24. data/contrib/nix/ruby2.7-gemset.nix +359 -0
  25. data/contrib/nix/ruby2.7-shell.nix +2 -11
  26. data/contrib/nix/ruby3.0-Gemfile.lock +91 -0
  27. data/contrib/nix/ruby3.0-gemset.nix +359 -0
  28. data/contrib/nix/ruby3.0-shell.nix +2 -11
  29. data/contrib/nix/ruby3.1-Gemfile.lock +101 -0
  30. data/contrib/nix/ruby3.1-gemset.nix +391 -0
  31. data/contrib/nix/ruby3.1-shell.nix +3 -12
  32. data/contrib/nix/ruby3.2-Gemfile.lock +101 -0
  33. data/contrib/nix/ruby3.2-gemset.nix +391 -0
  34. data/contrib/nix/ruby3.2-shell.nix +3 -12
  35. data/contrib/nix/ruby3.3-shell.nix +1 -10
  36. data/contrib/nix/ruby3.4-shell.nix +27 -0
  37. data/contrib/nix/ruby4.0-shell.nix +40 -0
  38. data/contrib/nix/test-all-rubies.sh +1 -1
  39. data/lib/sup/account.rb +2 -0
  40. data/lib/sup/buffer.rb +1 -0
  41. data/lib/sup/contact.rb +3 -4
  42. data/lib/sup/crypto.rb +7 -5
  43. data/lib/sup/draft.rb +15 -11
  44. data/lib/sup/index.rb +8 -4
  45. data/lib/sup/maildir.rb +4 -0
  46. data/lib/sup/mbox.rb +25 -7
  47. data/lib/sup/message.rb +13 -10
  48. data/lib/sup/message_chunks.rb +0 -24
  49. data/lib/sup/mode.rb +1 -0
  50. data/lib/sup/modes/contact_list_mode.rb +0 -1
  51. data/lib/sup/modes/edit_message_mode.rb +6 -6
  52. data/lib/sup/modes/label_search_results_mode.rb +1 -2
  53. data/lib/sup/modes/line_cursor_mode.rb +22 -20
  54. data/lib/sup/modes/search_results_mode.rb +0 -1
  55. data/lib/sup/modes/thread_view_mode.rb +1 -2
  56. data/lib/sup/rfc2047.rb +5 -2
  57. data/lib/sup/source.rb +2 -0
  58. data/lib/sup/util.rb +9 -2
  59. data/lib/sup/version.rb +1 -1
  60. data/lib/sup.rb +1 -1
  61. data/man/sup-add.1 +18 -18
  62. data/man/sup-config.1 +12 -12
  63. data/man/sup-dump.1 +15 -14
  64. data/man/sup-import-dump.1 +24 -24
  65. data/man/sup-psych-ify-config-files.1 +11 -11
  66. data/man/sup-recover-sources.1 +20 -20
  67. data/man/sup-sync-back-maildir.1 +24 -23
  68. data/man/sup-sync.1 +35 -35
  69. data/man/sup-tweak-labels.1 +27 -26
  70. data/man/sup.1 +27 -27
  71. data/sup.gemspec +3 -1
  72. data/test/dummy_buffer.rb +34 -0
  73. data/test/dummy_source.rb +6 -0
  74. data/test/fixtures/contacts.txt +2 -1
  75. data/test/fixtures/embedded-message-rfc6532.eml +33 -0
  76. data/test/fixtures/invalid-date.eml +8 -0
  77. data/test/fixtures/rfc2047-header-encoding.eml +1 -1
  78. data/test/gnupg_test_home/private-keys-v1.d/26C05E44706A8E230B3255BB9532B34DC9420232.key +42 -0
  79. data/test/gnupg_test_home/private-keys-v1.d/D187ADC90EC4DEB7047678EAA37E33A53A465D47.key +5 -0
  80. data/test/gnupg_test_home/private-keys-v1.d/FB2D9BD3B1BE90B5BCF697781F8404224B0FCF5B.key +5 -0
  81. data/test/gnupg_test_home/pubring.gpg +0 -0
  82. data/test/gnupg_test_home/receiver_pubring.gpg +0 -0
  83. data/test/gnupg_test_home/receiver_secring.gpg +0 -0
  84. data/test/gnupg_test_home/regen_keys.sh +11 -2
  85. data/test/gnupg_test_home/secring.gpg +0 -0
  86. data/test/gnupg_test_home/sup-test-2@foo.bar.asc +20 -20
  87. data/test/integration/test_draft.rb +128 -0
  88. data/test/integration/test_maildir.rb +17 -1
  89. data/test/integration/test_mbox.rb +12 -0
  90. data/test/integration/test_sup-add.rb +4 -0
  91. data/test/test_crypto.rb +114 -72
  92. data/test/test_message.rb +43 -0
  93. data/test/unit/test_contact.rb +16 -4
  94. data/test/unit/test_edit_message_mode.rb +99 -0
  95. data/test/unit/test_index.rb +65 -0
  96. data/test/unit/test_line_cursor_mode.rb +208 -0
  97. data/test/unit/test_person.rb +3 -3
  98. data/test/unit/test_rmail_message.rb +36 -0
  99. data/test/unit/util/test_string.rb +3 -3
  100. metadata +64 -9
  101. data/shell.nix +0 -1
  102. data/test/gnupg_test_home/private-keys-v1.d/306D2EE90FF0014B5B9FD07E265C751791674140.key +0 -0
@@ -1,45 +1,45 @@
1
- .\" Automatically generated by Pandoc 3.1.9
1
+ .\" Automatically generated by Pandoc 3.7.0.2
2
2
  .\"
3
- .TH "SUP-IMPORT-DUMP" "1" "April 9, 2012" "Sup User Manual" ""
3
+ .TH "SUP\-IMPORT\-DUMP" "1" "April 9, 2012" "Sup User Manual"
4
4
  .SH NAME
5
- sup-import-dump - import message state dump to Sup index
5
+ sup\-import\-dump \- import message state dump to Sup index
6
6
  .SH SYNOPSIS
7
- sup-import-dump [\f[I]options\f[R]] dumpfile
7
+ sup\-import\-dump [\f[I]options\f[R]] dumpfile
8
8
  .SH DESCRIPTION
9
- Imports message state previously exported by sup-dump into the index.
10
- sup-import-dump operates on the index only, so the messages must have
11
- already been added using sup-sync.
12
- If you need to recreate the index, see sup-sync --restore instead.
9
+ Imports message state previously exported by sup\-dump into the index.
10
+ sup\-import\-dump operates on the index only, so the messages must have
11
+ already been added using sup\-sync.
12
+ If you need to recreate the index, see sup\-sync \-\-restore instead.
13
13
  .PP
14
14
  Messages not mentioned in the dump file will not be modified.
15
15
  .SH OPTIONS
16
16
  .TP
17
- -v, --verbose
18
- Print message ids as they\[cq]re processed
17
+ \-v, \-\-verbose
18
+ Print message ids as they\(cqre processed
19
19
  .TP
20
- -i, --ignore-missing
20
+ \-i, \-\-ignore\-missing
21
21
  Silently skip over messages that are not in the index
22
22
  .TP
23
- -w, --warn-missing
23
+ \-w, \-\-warn\-missing
24
24
  Warn about messages that are not in the index, but continue
25
25
  .TP
26
- -a, --abort-missing
26
+ \-a, \-\-abort\-missing
27
27
  Abort on encountering messages that are not in the index (default)
28
28
  .TP
29
- -t, --atomic
29
+ \-t, \-\-atomic
30
30
  Use transaction to apply all changes atomically
31
31
  .TP
32
- -n, --dry-run
33
- Don\[cq]t actually modify the index.
34
- Probably only useful with --verbose
32
+ \-n, \-\-dry\-run
33
+ Don\(cqt actually modify the index.
34
+ Probably only useful with \-\-verbose
35
35
  .TP
36
- --version
36
+ \-\-version
37
37
  Show version information
38
38
  .TP
39
- -h, --help
39
+ \-h, \-\-help
40
40
  Show help message
41
41
  .SH SEE ALSO
42
- sup(1), sup-sync(1), sup-dump(1)
42
+ sup(1), sup\-sync(1), sup\-dump(1)
43
43
  .SH REPORTING BUGS
44
44
  You are welcome to submit bug reports to the Sup issue tracker, located
45
45
  at
@@ -65,21 +65,21 @@ Sup Wiki:
65
65
  .UE \c
66
66
  .TP
67
67
  Mailing list:
68
- supmua\[at]googlegroups.com
68
+ supmua\(atgooglegroups.com
69
69
  .RS
70
70
  .PP
71
- supmua+subscribe\[at]googlegroups.com
71
+ supmua+subscribe\(atgooglegroups.com
72
72
  .PP
73
73
  Archives: \c
74
74
  .UR https://groups.google.com/d/forum/supmua/
75
75
  .UE \c
76
76
  .RE
77
77
  .SH COPYRIGHT
78
- Copyright © 2006-2009 William Morgan \c
78
+ Copyright © 2006\-2009 William Morgan \c
79
79
  .MT mworgan-sup@masanjin.net
80
80
  .ME \c
81
81
  .PP
82
- Copyright \[at] 2013-2014 Sup developers
82
+ Copyright \(at 2013\-2014 Sup developers
83
83
  .PP
84
84
  Permission is granted to copy and distribute this manual under the terms
85
85
  of the GNU General Public License; either version 2 or (at your option)
@@ -1,21 +1,21 @@
1
- .\" Automatically generated by Pandoc 3.1.9
1
+ .\" Automatically generated by Pandoc 3.1.11.1
2
2
  .\"
3
- .TH "SUP-SYNC" "1" "September 3, 2014" "Sup User Manual" ""
3
+ .TH "SUP\-SYNC" "1" "September 3, 2014" "Sup User Manual" ""
4
4
  .SH NAME
5
- sup-psych-ify-config-files - migrate Sup configuration
5
+ sup\-psych\-ify\-config\-files \- migrate Sup configuration
6
6
  .SH SYNOPSIS
7
- sup-psych-ify-config-files
7
+ sup\-psych\-ify\-config\-files
8
8
  .SH DESCRIPTION
9
9
  \f[B]YAML migration is deprecated by Ruby 2.1 and newer.\f[R]
10
10
  .PP
11
- If sup-psych-ify-config-files is executed by Ruby <= 2.0 it migrates the
12
- \f[I]$HOME/.sup/sources.yaml\f[R] configuration file by reading it with
13
- the SYCK YAML parser and emitting the results with the Psych YAML
11
+ If sup\-psych\-ify\-config\-files is executed by Ruby <= 2.0 it migrates
12
+ the \f[I]$HOME/.sup/sources.yaml\f[R] configuration file by reading it
13
+ with the SYCK YAML parser and emitting the results with the Psych YAML
14
14
  emitter.
15
15
  .PP
16
16
  Read more on the Sup wiki
17
17
  .PP
18
- https://github.com/sup-heliotrope/sup/wiki/Migration-0.13-to-0.14
18
+ https://github.com/sup\-heliotrope/sup/wiki/Migration\-0.13\-to\-0.14
19
19
  .SH FILES
20
20
  .TP
21
21
  $HOME/.sup/config.yaml
@@ -24,7 +24,7 @@ Sup configuration file
24
24
  $HOME/.sup/sources.yaml
25
25
  Configuration file for Sup mail sources
26
26
  .SH SEE ALSO
27
- sup(1), sup-add(1), sup-config(1), sup-dump(1)
27
+ sup(1), sup\-add(1), sup\-config(1), sup\-dump(1)
28
28
  .SH REPORTING BUGS
29
29
  You are welcome to submit bug reports to the Sup issue tracker, located
30
30
  at
@@ -60,11 +60,11 @@ Archives: \c
60
60
  .UE \c
61
61
  .RE
62
62
  .SH COPYRIGHT
63
- Copyright © 2006-2009 William Morgan \c
63
+ Copyright © 2006\-2009 William Morgan \c
64
64
  .MT mworgan-sup@masanjin.net
65
65
  .ME \c
66
66
  .PP
67
- Copyright \[at] 2013-2014 Sup developers
67
+ Copyright \[at] 2013\-2014 Sup developers
68
68
  .PP
69
69
  Permission is granted to copy and distribute this manual under the terms
70
70
  of the GNU General Public License; either version 2 or (at your option)
@@ -1,49 +1,49 @@
1
- .\" Automatically generated by Pandoc 3.1.9
1
+ .\" Automatically generated by Pandoc 3.7.0.2
2
2
  .\"
3
- .TH "SUP-RECOVER-SOURCES" "1" "April 9, 2012" "Sup User Manual" ""
3
+ .TH "SUP\-RECOVER\-SOURCES" "1" "April 9, 2012" "Sup User Manual"
4
4
  .SH NAME
5
- sup-recover-sources - rebuild a lost Sup source configuration file
5
+ sup\-recover\-sources \- rebuild a lost Sup source configuration file
6
6
  .SH SYNOPSIS
7
- sup-recover-sources [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
7
+ sup\-recover\-sources [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
8
8
  .SH DESCRIPTION
9
9
  Rebuilds a lost sources.yaml file by reading messages from a list of
10
10
  sources and determining, for each source, the most prevalent `source_id'
11
11
  field of messages from that source in the index.
12
12
  .PP
13
- The only non-deterministic component to this is that if the same message
14
- appears in multiple sources, those sources may be mis-diagnosed by this
15
- program.
13
+ The only non\-deterministic component to this is that if the same
14
+ message appears in multiple sources, those sources may be mis\-diagnosed
15
+ by this program.
16
16
  .PP
17
- If the first N messages (--scan-num below) all have the same source_id
18
- in the index, the source will be added to sources.yaml.
17
+ If the first N messages (\-\-scan\-num below) all have the same
18
+ source_id in the index, the source will be added to sources.yaml.
19
19
  Otherwise, the distribution will be printed, and you will have to add it
20
20
  by hand.
21
21
  .PP
22
22
  The offset pointer into the sources will be set to the end of the
23
- source, so you will have to run sup-import --rebuild for each new source
24
- after doing this.
23
+ source, so you will have to run sup\-import \-\-rebuild for each new
24
+ source after doing this.
25
25
  .SH OPTIONS
26
26
  .TP
27
- --unusual
27
+ \-\-unusual
28
28
  Mark sources as `unusual'.
29
29
  Only usual sources will be polled by hand (default: false)
30
30
  .TP
31
- --archive
31
+ \-\-archive
32
32
  Mark sources as `archive'.
33
33
  New messages from these sources will not appear in the inbox (default:
34
34
  false)
35
35
  .TP
36
- --scan-num N
36
+ \-\-scan\-num N
37
37
  Number of messages to scan per source (default: 10)
38
38
  .TP
39
- -h, --help
39
+ \-h, \-\-help
40
40
  Show help message
41
41
  .SH FILES
42
42
  .TP
43
43
  $HOME/.sup/sources.yaml
44
44
  Configuration file for Sup mail sources
45
45
  .SH SEE ALSO
46
- sup(1), sup-config(1), sup-add(1), sup-import(1)
46
+ sup(1), sup\-config(1), sup\-add(1), sup\-import(1)
47
47
  .SH REPORTING BUGS
48
48
  You are welcome to submit bug reports to the Sup issue tracker, located
49
49
  at
@@ -69,21 +69,21 @@ Sup Wiki:
69
69
  .UE \c
70
70
  .TP
71
71
  Mailing list:
72
- supmua\[at]googlegroups.com
72
+ supmua\(atgooglegroups.com
73
73
  .RS
74
74
  .PP
75
- supmua+subscribe\[at]googlegroups.com
75
+ supmua+subscribe\(atgooglegroups.com
76
76
  .PP
77
77
  Archives: \c
78
78
  .UR https://groups.google.com/d/forum/supmua/
79
79
  .UE \c
80
80
  .RE
81
81
  .SH COPYRIGHT
82
- Copyright © 2006-2009 William Morgan \c
82
+ Copyright © 2006\-2009 William Morgan \c
83
83
  .MT mworgan-sup@masanjin.net
84
84
  .ME \c
85
85
  .PP
86
- Copyright \[at] 2013-2014 Sup developers
86
+ Copyright \(at 2013\-2014 Sup developers
87
87
  .PP
88
88
  Permission is granted to copy and distribute this manual under the terms
89
89
  of the GNU General Public License; either version 2 or (at your option)
@@ -1,29 +1,30 @@
1
- .\" Automatically generated by Pandoc 3.1.9
1
+ .\" Automatically generated by Pandoc 3.7.0.2
2
2
  .\"
3
- .TH "SUP-SYNC-BACK-MAILDIR" "1" "August 25, 2014" "Sup User Manual" ""
3
+ .TH "SUP\-SYNC\-BACK\-MAILDIR" "1" "August 25, 2014" "Sup User Manual"
4
4
  .SH NAME
5
- sup-sync-back-maildir - Export Xapian entries to Maildir sources on disk
5
+ sup\-sync\-back\-maildir \- Export Xapian entries to Maildir sources on
6
+ disk
6
7
  .SH SYNOPSIS
7
- sup-sync-back-maildir [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
8
+ sup\-sync\-back\-maildir [\f[I]options\f[R]] [\f[I]source uri\&...\f[R]]
8
9
  .SH DESCRIPTION
9
10
  This script parses the Xapian entries for a given Maildir source and
10
- renames (changes maildir flags) e-mail files on disk according to the
11
+ renames (changes maildir flags) e\-mail files on disk according to the
11
12
  labels stored in the index.
12
13
  It will export all the changes you made in Sup to your Maildirs so that
13
14
  they can be propagated to your IMAP server with e.g.\ offlineimap.
14
15
  .PP
15
16
  The script also merges some Maildir flags into Sup such as R (replied)
16
- and P (passed, forwarded), for instance suppose you have an e-mail file
17
+ and P (passed, forwarded), for instance suppose you have an e\-mail file
17
18
  like this: foo_bar:2,FRS (flags are favorite, replied, seen) and its
18
19
  Xapian entry has labels `starred', the merge operation will add the
19
20
  `replied' label to the Xapian entry.
20
21
  .PP
21
- If you choose not to merge (-m) you will lose information (`replied'),
22
+ If you choose not to merge (\-m) you will lose information (`replied'),
22
23
  and in the previous example the file will be renamed to foo_bar:2,FS.
23
24
  .PP
24
25
  Running this script is \f[I]strongly\f[R] recommended when setting the
25
- \[lq]sync_back_to_maildir\[rq] option from false to true in config.yaml
26
- or changing the \[lq]sync_back\[rq] flag to true for a source in
26
+ \(lqsync_back_to_maildir\(rq option from false to true in config.yaml or
27
+ changing the \(lqsync_back\(rq flag to true for a source in
27
28
  sources.yaml.
28
29
  .PP
29
30
  If no source is given, the default behavior is to sync back all Maildir
@@ -31,30 +32,30 @@ sources marked as usual and that have not disabled sync back using the
31
32
  configuration parameter sync_back = false in sources.yaml.
32
33
  .SH OPTIONS
33
34
  .TP
34
- -n, --no-confirm
35
- Don\[cq]t ask for confirmation before synchronizing
35
+ \-n, \-\-no\-confirm
36
+ Don\(cqt ask for confirmation before synchronizing
36
37
  .TP
37
- -m, --no-merge
38
- Don\[cq]t merge new supported Maildir flags (R and P)
38
+ \-m, \-\-no\-merge
39
+ Don\(cqt merge new supported Maildir flags (R and P)
39
40
  .TP
40
- -l, --list-sources
41
+ \-l, \-\-list\-sources
41
42
  List your Maildir sources and exit
42
43
  .TP
43
- -u, --unusual-sources-too
44
+ \-u, \-\-unusual\-sources\-too
44
45
  Sync unusual sources too if no specific source information is given
45
46
  .TP
46
- --version
47
+ \-\-version
47
48
  Print version and exit
48
49
  .TP
49
- -h, --help
50
+ \-h, \-\-help
50
51
  Show brief help message
51
52
  .SH FILES
52
53
  .TP
53
54
  $HOME/.sup/sources.yaml
54
55
  Configuration file for Sup mail sources
55
56
  .SH SEE ALSO
56
- sup(1), sup-add(1), sup-config(1), sup-dump(1), sup-sync(1),
57
- sup-tweak-labels(1)
57
+ sup(1), sup\-add(1), sup\-config(1), sup\-dump(1), sup\-sync(1),
58
+ sup\-tweak\-labels(1)
58
59
  .SH REPORTING BUGS
59
60
  You are welcome to submit bug reports to the Sup issue tracker, located
60
61
  at
@@ -80,21 +81,21 @@ Sup Wiki:
80
81
  .UE \c
81
82
  .TP
82
83
  Mailing list:
83
- supmua\[at]googlegroups.com
84
+ supmua\(atgooglegroups.com
84
85
  .RS
85
86
  .PP
86
- supmua+subscribe\[at]googlegroups.com
87
+ supmua+subscribe\(atgooglegroups.com
87
88
  .PP
88
89
  Archives: \c
89
90
  .UR https://groups.google.com/d/forum/supmua/
90
91
  .UE \c
91
92
  .RE
92
93
  .SH COPYRIGHT
93
- Copyright © 2006-2009 William Morgan \c
94
+ Copyright © 2006\-2009 William Morgan \c
94
95
  .MT mworgan-sup@masanjin.net
95
96
  .ME \c
96
97
  .PP
97
- Copyright \[at] 2013-2014 Sup developers
98
+ Copyright \(at 2013\-2014 Sup developers
98
99
  .PP
99
100
  Permission is granted to copy and distribute this manual under the terms
100
101
  of the GNU General Public License; either version 2 or (at your option)
data/man/sup-sync.1 CHANGED
@@ -1,79 +1,79 @@
1
- .\" Automatically generated by Pandoc 3.1.9
1
+ .\" Automatically generated by Pandoc 3.7.0.2
2
2
  .\"
3
- .TH "SUP-SYNC" "1" "April 9, 2012" "Sup User Manual" ""
3
+ .TH "SUP\-SYNC" "1" "April 9, 2012" "Sup User Manual"
4
4
  .SH NAME
5
- sup-sync - sychronize the Sup index with message sources
5
+ sup\-sync \- sychronize the Sup index with message sources
6
6
  .SH SYNOPSIS
7
- sup-sync [\f[I]options\f[R]] source \&...
7
+ sup\-sync [\f[I]options\f[R]] source \&...
8
8
  .SH DESCRIPTION
9
9
  Synchronizes the Sup index with one or more message sources by adding
10
10
  messages, deleting messages, or changing message state in the index as
11
11
  appropriate.
12
12
  .PP
13
- \[lq]Message state\[rq] means read/unread, archived/inbox,
14
- starred/unstarred, and all user-defined labels on each message.
13
+ \(lqMessage state\(rq means read/unread, archived/inbox,
14
+ starred/unstarred, and all user\-defined labels on each message.
15
15
  .PP
16
- \[lq]Default source state\[rq] refers to any state that a source itself
16
+ \(lqDefault source state\(rq refers to any state that a source itself
17
17
  has keeps about a message.
18
- Sup-sync uses this information when adding a new message to the index.
18
+ Sup\-sync uses this information when adding a new message to the index.
19
19
  The source state is typically limited to read/unread, archived/inbox
20
20
  status and a single label based on the source name.
21
21
  Messages using the default source state are placed in the inbox
22
22
  (i.e.\ not archived) and unstarred.
23
23
  .PP
24
24
  If no sources are given, sync from all usual sources.
25
- Supported source URI schemes can be seen by running \[lq]sup-add
26
- --help\[rq].
25
+ Supported source URI schemes can be seen by running \(lqsup\-add
26
+ \-\-help\(rq.
27
27
  .SH MESSAGE STATE OPTIONS
28
28
  .TP
29
- --asis
29
+ \-\-asis
30
30
  If the message is already in the index, preserve its state.
31
31
  Otherwise, use default source state (default)
32
32
  .TP
33
- --restore dumpfile
34
- Restore message state from a dump file created with sup-dump.
35
- If a message is not in this dumpfile, act as --asis
33
+ \-\-restore dumpfile
34
+ Restore message state from a dump file created with sup\-dump.
35
+ If a message is not in this dumpfile, act as \-\-asis
36
36
  .TP
37
- --discard
37
+ \-\-discard
38
38
  Discard any message state in the index and use the default source state.
39
39
  \f[B]Dangerous!\f[R]
40
40
  .TP
41
- -x, -
41
+ \-x, \-
42
42
  When using the default source state, mark messages as archived.
43
43
  .TP
44
- -r, --read
44
+ \-r, \-\-read
45
45
  When using the default source state, mark messages as read.
46
46
  .TP
47
- --extra-labels \f[I]STRING\f[R]
48
- When using the default source state, also apply these user-defined
49
- labels (a comma-separated list) (default)
47
+ \-\-extra\-labels \f[I]STRING\f[R]
48
+ When using the default source state, also apply these user\-defined
49
+ labels (a comma\-separated list) (default)
50
50
  .SH OTHER OPTIONS
51
51
  .TP
52
- -v, --verbose
53
- Print message ids as they\[cq]re processed.
52
+ \-v, \-\-verbose
53
+ Print message ids as they\(cqre processed.
54
54
  .TP
55
- -o, --optimize
55
+ \-o, \-\-optimize
56
56
  As the final operation, optimize the index.
57
57
  .TP
58
- --all-sources
58
+ \-\-all\-sources
59
59
  Scan over all sources.
60
60
  .TP
61
- -n, --dry-run
62
- Don\[cq]t actually modify the index.
63
- Probably only useful with --verbose.
61
+ \-n, \-\-dry\-run
62
+ Don\(cqt actually modify the index.
63
+ Probably only useful with \-\-verbose.
64
64
  .TP
65
- --version
65
+ \-\-version
66
66
  Show version information
67
67
  .TP
68
- -h, --help
68
+ \-h, \-\-help
69
69
  Show help message
70
70
  .SH FILES
71
71
  .TP
72
72
  $HOME/.sup/sources.yaml
73
73
  Configuration file for Sup mail sources
74
74
  .SH SEE ALSO
75
- sup(1), sup-add(1), sup-config(1), sup-dump(1),
76
- sup-sync-back-maildir(1), sup-tweak-labels(1)
75
+ sup(1), sup\-add(1), sup\-config(1), sup\-dump(1),
76
+ sup\-sync\-back\-maildir(1), sup\-tweak\-labels(1)
77
77
  .SH REPORTING BUGS
78
78
  You are welcome to submit bug reports to the Sup issue tracker, located
79
79
  at
@@ -99,21 +99,21 @@ Sup Wiki:
99
99
  .UE \c
100
100
  .TP
101
101
  Mailing list:
102
- supmua\[at]googlegroups.com
102
+ supmua\(atgooglegroups.com
103
103
  .RS
104
104
  .PP
105
- supmua+subscribe\[at]googlegroups.com
105
+ supmua+subscribe\(atgooglegroups.com
106
106
  .PP
107
107
  Archives: \c
108
108
  .UR https://groups.google.com/d/forum/supmua/
109
109
  .UE \c
110
110
  .RE
111
111
  .SH COPYRIGHT
112
- Copyright © 2006-2009 William Morgan \c
112
+ Copyright © 2006\-2009 William Morgan \c
113
113
  .MT mworgan-sup@masanjin.net
114
114
  .ME \c
115
115
  .PP
116
- Copyright \[at] 2013-2014 Sup developers
116
+ Copyright \(at 2013\-2014 Sup developers
117
117
  .PP
118
118
  Permission is granted to copy and distribute this manual under the terms
119
119
  of the GNU General Public License; either version 2 or (at your option)
@@ -1,49 +1,50 @@
1
- .\" Automatically generated by Pandoc 3.1.9
1
+ .\" Automatically generated by Pandoc 3.7.0.2
2
2
  .\"
3
- .TH "SUP-TWEAK-LABELS" "1" "April 9, 2012" "Sup User Manuel" ""
3
+ .TH "SUP\-TWEAK\-LABELS" "1" "April 9, 2012" "Sup User Manuel"
4
4
  .SH NAME
5
- sup-tweak-labels - batch modification of message state already in index
5
+ sup\-tweak\-labels \- batch modification of message state already in
6
+ index
6
7
  .SH SYNOPSIS
7
- sup-tweak-labels [\f[I]options\f[R]] source \&...
8
+ sup\-tweak\-labels [\f[I]options\f[R]] source \&...
8
9
  .SH DESCRIPTION
9
10
  Batch modification of message state for messages already in the index.
10
11
  .PP
11
- Supported source URI schemes can be seen by running \[lq]sup-add
12
- --help\[rq].
12
+ Supported source URI schemes can be seen by running \(lqsup\-add
13
+ \-\-help\(rq.
13
14
  .SH OPTIONS
14
15
  .TP
15
- -a \f[I]STRING\f[R], --add \f[I]STRING\f[R]
16
- One or more labels (comma-separated) to add to every message from the
16
+ \-a \f[I]STRING\f[R], \-\-add \f[I]STRING\f[R]
17
+ One or more labels (comma\-separated) to add to every message from the
17
18
  specified sources (default: )
18
19
  .TP
19
- -r \f[I]STRING\f[R], --remove \f[I]STRING\f[R]
20
- One or more labels (comma-separated) to remove from every message from
20
+ \-r \f[I]STRING\f[R], \-\-remove \f[I]STRING\f[R]
21
+ One or more labels (comma\-separated) to remove from every message from
21
22
  the specified sources, if those labels are present (default: )
22
23
  .TP
23
- -q \f[I]QUERY\f[R], --query \f[I]QUERY\f[R]
24
+ \-q \f[I]QUERY\f[R], \-\-query \f[I]QUERY\f[R]
24
25
  A Sup search query
25
26
  .SH OTHER OPTIONS
26
27
  .TP
27
- -v, --verbose
28
- Print message ids as they\[cq]re processed
28
+ \-v, \-\-verbose
29
+ Print message ids as they\(cqre processed
29
30
  .TP
30
- -e, --very-verbose
31
- Print message names and subjects as they\[cq]re processed
31
+ \-e, \-\-very\-verbose
32
+ Print message names and subjects as they\(cqre processed
32
33
  .TP
33
- --all-sources
34
+ \-\-all\-sources
34
35
  Scan over all sources
35
36
  .TP
36
- -n, --dry-run
37
- Don\[cq]t actually modify the index.
38
- Probably only useful with --verbose
37
+ \-n, \-\-dry\-run
38
+ Don\(cqt actually modify the index.
39
+ Probably only useful with \-\-verbose
39
40
  .TP
40
- --version
41
+ \-\-version
41
42
  Show version information
42
43
  .TP
43
- -h, --help
44
+ \-h, \-\-help
44
45
  Show help message
45
46
  .SH SEE ALSO
46
- sup(1), sup-add(1)
47
+ sup(1), sup\-add(1)
47
48
  .SH REPORTING BUGS
48
49
  You are welcome to submit bug reports to the Sup issue tracker, located
49
50
  at
@@ -69,21 +70,21 @@ Sup Wiki:
69
70
  .UE \c
70
71
  .TP
71
72
  Mailing list:
72
- supmua\[at]googlegroups.com
73
+ supmua\(atgooglegroups.com
73
74
  .RS
74
75
  .PP
75
- supmua+subscribe\[at]googlegroups.com
76
+ supmua+subscribe\(atgooglegroups.com
76
77
  .PP
77
78
  Archives: \c
78
79
  .UR https://groups.google.com/d/forum/supmua/
79
80
  .UE \c
80
81
  .RE
81
82
  .SH COPYRIGHT
82
- Copyright © 2006-2009 William Morgan \c
83
+ Copyright © 2006\-2009 William Morgan \c
83
84
  .MT mworgan-sup@masanjin.net
84
85
  .ME \c
85
86
  .PP
86
- Copyright \[at] 2013-2014 Sup developers
87
+ Copyright \(at 2013\-2014 Sup developers
87
88
  .PP
88
89
  Permission is granted to copy and distribute this manual under the terms
89
90
  of the GNU General Public License; either version 2 or (at your option)