sup 1.1 → 1.3

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 (82) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/checks.yml +40 -38
  3. data/.gitmodules +1 -0
  4. data/CONTRIBUTORS +3 -1
  5. data/History.txt +32 -3
  6. data/Manifest.txt +34 -1
  7. data/README.md +0 -1
  8. data/bin/sup-sync-back-maildir +1 -1
  9. data/contrib/nix/Gemfile +24 -0
  10. data/contrib/nix/Gemfile.lock +101 -0
  11. data/contrib/nix/README +7 -0
  12. data/contrib/nix/gem-install-shell.nix +14 -0
  13. data/contrib/nix/gemset.nix +391 -0
  14. data/contrib/nix/ruby2.4-Gemfile.lock +85 -0
  15. data/contrib/nix/ruby2.4-gemset.nix +329 -0
  16. data/contrib/nix/ruby2.4-shell.nix +26 -0
  17. data/contrib/nix/ruby2.5-Gemfile.lock +85 -0
  18. data/contrib/nix/ruby2.5-gemset.nix +329 -0
  19. data/contrib/nix/ruby2.5-shell.nix +26 -0
  20. data/contrib/nix/ruby2.6-Gemfile.lock +87 -0
  21. data/contrib/nix/ruby2.6-gemset.nix +339 -0
  22. data/contrib/nix/ruby2.6-shell.nix +26 -0
  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 +14 -0
  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 +14 -0
  29. data/contrib/nix/ruby3.1-shell.nix +25 -0
  30. data/contrib/nix/ruby3.2-shell.nix +25 -0
  31. data/contrib/nix/ruby3.3-shell.nix +25 -0
  32. data/contrib/nix/ruby3.4-shell.nix +36 -0
  33. data/contrib/nix/test-all-rubies.sh +6 -0
  34. data/doc/Hooks.txt +1 -1
  35. data/ext/mkrf_conf_xapian.rb +2 -2
  36. data/lib/sup/crypto.rb +8 -6
  37. data/lib/sup/index.rb +2 -2
  38. data/lib/sup/maildir.rb +5 -1
  39. data/lib/sup/mbox.rb +26 -8
  40. data/lib/sup/message.rb +15 -12
  41. data/lib/sup/modes/console_mode.rb +1 -1
  42. data/lib/sup/modes/edit_message_mode.rb +5 -5
  43. data/lib/sup/thread.rb +20 -20
  44. data/lib/sup/util.rb +12 -7
  45. data/lib/sup/version.rb +1 -1
  46. data/man/sup-add.1 +40 -40
  47. data/man/sup-config.1 +30 -26
  48. data/man/sup-dump.1 +38 -38
  49. data/man/sup-import-dump.1 +41 -37
  50. data/man/sup-psych-ify-config-files.1 +32 -28
  51. data/man/sup-recover-sources.1 +39 -35
  52. data/man/sup-sync-back-maildir.1 +39 -34
  53. data/man/sup-sync.1 +50 -46
  54. data/man/sup-tweak-labels.1 +43 -38
  55. data/man/sup.1 +42 -38
  56. data/shell.nix +1 -0
  57. data/sup.gemspec +2 -0
  58. data/test/dummy_source.rb +6 -0
  59. data/test/fixtures/embedded-message-rfc6532.eml +33 -0
  60. data/test/fixtures/invalid-date.eml +8 -0
  61. data/test/gnupg_test_home/private-keys-v1.d/26C05E44706A8E230B3255BB9532B34DC9420232.key +42 -0
  62. data/test/gnupg_test_home/private-keys-v1.d/D187ADC90EC4DEB7047678EAA37E33A53A465D47.key +5 -0
  63. data/test/gnupg_test_home/private-keys-v1.d/FB2D9BD3B1BE90B5BCF697781F8404224B0FCF5B.key +5 -0
  64. data/test/gnupg_test_home/pubring.gpg +0 -0
  65. data/test/gnupg_test_home/receiver_pubring.gpg +0 -0
  66. data/test/gnupg_test_home/receiver_secring.gpg +0 -0
  67. data/test/gnupg_test_home/regen_keys.sh +11 -2
  68. data/test/gnupg_test_home/secring.gpg +0 -0
  69. data/test/gnupg_test_home/sup-test-2@foo.bar.asc +20 -20
  70. data/test/integration/test_maildir.rb +18 -1
  71. data/test/integration/test_mbox.rb +13 -0
  72. data/test/integration/test_sup-sync-back-maildir.rb +40 -0
  73. data/test/test_crypto.rb +108 -71
  74. data/test/test_header_parsing.rb +2 -2
  75. data/test/test_message.rb +42 -0
  76. data/test/unit/test_contact.rb +1 -1
  77. data/test/unit/test_edit_message_mode.rb +94 -0
  78. data/test/unit/test_person.rb +3 -3
  79. data/test/unit/test_rmail_message.rb +36 -0
  80. data/test/unit/util/test_string.rb +3 -3
  81. metadata +73 -5
  82. data/test/gnupg_test_home/private-keys-v1.d/306D2EE90FF0014B5B9FD07E265C751791674140.key +0 -0
@@ -1,69 +1,68 @@
1
- .\" Automatically generated by Pandoc 2.9.2.1
1
+ .\" Automatically generated by Pandoc 3.1.11.1
2
2
  .\"
3
- .TH "SUP-IMPORT-DUMP" "1" "April 9, 2012" "Sup User Manual" ""
4
- .hy
3
+ .TH "SUP\-IMPORT\-DUMP" "1" "April 9, 2012" "Sup User Manual" ""
5
4
  .SH NAME
6
- .PP
7
- sup-import-dump - import message state dump to Sup index
5
+ sup\-import\-dump \- import message state dump to Sup index
8
6
  .SH SYNOPSIS
9
- .PP
10
- sup-import-dump [\f[I]options\f[R]] dumpfile
7
+ sup\-import\-dump [\f[I]options\f[R]] dumpfile
11
8
  .SH DESCRIPTION
12
- .PP
13
- Imports message state previously exported by sup-dump into the index.
14
- sup-import-dump operates on the index only, so the messages must have
15
- already been added using sup-sync.
16
- 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.
17
13
  .PP
18
14
  Messages not mentioned in the dump file will not be modified.
19
15
  .SH OPTIONS
20
16
  .TP
21
- -v, --verbose
17
+ \-v, \-\-verbose
22
18
  Print message ids as they\[cq]re processed
23
19
  .TP
24
- -i, --ignore-missing
20
+ \-i, \-\-ignore\-missing
25
21
  Silently skip over messages that are not in the index
26
22
  .TP
27
- -w, --warn-missing
23
+ \-w, \-\-warn\-missing
28
24
  Warn about messages that are not in the index, but continue
29
25
  .TP
30
- -a, --abort-missing
26
+ \-a, \-\-abort\-missing
31
27
  Abort on encountering messages that are not in the index (default)
32
28
  .TP
33
- -t, --atomic
29
+ \-t, \-\-atomic
34
30
  Use transaction to apply all changes atomically
35
31
  .TP
36
- -n, --dry-run
32
+ \-n, \-\-dry\-run
37
33
  Don\[cq]t actually modify the index.
38
- Probably only useful with --verbose
34
+ Probably only useful with \-\-verbose
39
35
  .TP
40
- --version
36
+ \-\-version
41
37
  Show version information
42
38
  .TP
43
- -h, --help
39
+ \-h, \-\-help
44
40
  Show help message
45
41
  .SH SEE ALSO
46
- .PP
47
- sup(1), sup-sync(1), sup-dump(1)
42
+ sup(1), sup\-sync(1), sup\-dump(1)
48
43
  .SH REPORTING BUGS
49
- .PP
50
44
  You are welcome to submit bug reports to the Sup issue tracker, located
51
45
  at
52
46
  .PP
53
- <https://github.com/sup-heliotrope/sup/issues>
47
+ \c
48
+ .UR https://github.com/sup-heliotrope/sup/issues
49
+ .UE \c
54
50
  .SH CONTACT INFORMATION
55
51
  .TP
56
52
  The Sup web page:
57
- <https://sup-heliotrope.github.io/>
53
+ \c
54
+ .UR https://sup-heliotrope.github.io/
55
+ .UE \c
58
56
  .TP
59
57
  Code repository:
60
- <https://github.com/sup-heliotrope/sup/>
58
+ \c
59
+ .UR https://github.com/sup-heliotrope/sup/
60
+ .UE \c
61
61
  .TP
62
62
  Sup Wiki:
63
- <https://github.com/sup-heliotrope/sup/wiki/>
64
- .TP
65
- Sup IRC channel:
66
- #sup \[at] freenode.net
63
+ \c
64
+ .UR https://github.com/sup-heliotrope/sup/wiki/
65
+ .UE \c
67
66
  .TP
68
67
  Mailing list:
69
68
  supmua\[at]googlegroups.com
@@ -71,17 +70,22 @@ supmua\[at]googlegroups.com
71
70
  .PP
72
71
  supmua+subscribe\[at]googlegroups.com
73
72
  .PP
74
- Archives: <https://groups.google.com/d/forum/supmua/>
73
+ Archives: \c
74
+ .UR https://groups.google.com/d/forum/supmua/
75
+ .UE \c
75
76
  .RE
76
77
  .SH COPYRIGHT
78
+ Copyright © 2006\-2009 William Morgan \c
79
+ .MT mworgan-sup@masanjin.net
80
+ .ME \c
77
81
  .PP
78
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
79
- .PP
80
- Copyright \[at] 2013-2014 Sup developers
82
+ Copyright \[at] 2013\-2014 Sup developers
81
83
  .PP
82
84
  Permission is granted to copy and distribute this manual under the terms
83
85
  of the GNU General Public License; either version 2 or (at your option)
84
86
  any later version.
85
87
  .SH AUTHORS
86
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
87
- and is now developed and maintained by the Sup developers.
88
+ Sup was originally written by William Morgan \c
89
+ .MT wmorgan-sup@masanjin.net
90
+ .ME \c
91
+ \ and is now developed and maintained by the Sup developers.
@@ -1,25 +1,21 @@
1
- .\" Automatically generated by Pandoc 2.9.2.1
1
+ .\" Automatically generated by Pandoc 3.1.11.1
2
2
  .\"
3
- .TH "SUP-SYNC" "1" "September 3, 2014" "Sup User Manual" ""
4
- .hy
3
+ .TH "SUP\-SYNC" "1" "September 3, 2014" "Sup User Manual" ""
5
4
  .SH NAME
6
- .PP
7
- sup-psych-ify-config-files - migrate Sup configuration
5
+ sup\-psych\-ify\-config\-files \- migrate Sup configuration
8
6
  .SH SYNOPSIS
9
- .PP
10
- sup-psych-ify-config-files
7
+ sup\-psych\-ify\-config\-files
11
8
  .SH DESCRIPTION
12
- .PP
13
9
  \f[B]YAML migration is deprecated by Ruby 2.1 and newer.\f[R]
14
10
  .PP
15
- If sup-psych-ify-config-files is executed by Ruby <= 2.0 it migrates the
16
- \f[I]$HOME/.sup/sources.yaml\f[R] configuration file by reading it with
17
- 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
18
14
  emitter.
19
15
  .PP
20
16
  Read more on the Sup wiki
21
17
  .PP
22
- 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
23
19
  .SH FILES
24
20
  .TP
25
21
  $HOME/.sup/config.yaml
@@ -28,27 +24,30 @@ Sup configuration file
28
24
  $HOME/.sup/sources.yaml
29
25
  Configuration file for Sup mail sources
30
26
  .SH SEE ALSO
31
- .PP
32
- sup(1), sup-add(1), sup-config(1), sup-dump(1)
27
+ sup(1), sup\-add(1), sup\-config(1), sup\-dump(1)
33
28
  .SH REPORTING BUGS
34
- .PP
35
29
  You are welcome to submit bug reports to the Sup issue tracker, located
36
30
  at
37
31
  .PP
38
- <https://github.com/sup-heliotrope/sup/issues>
32
+ \c
33
+ .UR https://github.com/sup-heliotrope/sup/issues
34
+ .UE \c
39
35
  .SH CONTACT INFORMATION
40
36
  .TP
41
37
  The Sup web page:
42
- <https://sup-heliotrope.github.io/>
38
+ \c
39
+ .UR https://sup-heliotrope.github.io/
40
+ .UE \c
43
41
  .TP
44
42
  Code repository:
45
- <https://github.com/sup-heliotrope/sup/>
43
+ \c
44
+ .UR https://github.com/sup-heliotrope/sup/
45
+ .UE \c
46
46
  .TP
47
47
  Sup Wiki:
48
- <https://github.com/sup-heliotrope/sup/wiki/>
49
- .TP
50
- Sup IRC channel:
51
- #sup \[at] freenode.net
48
+ \c
49
+ .UR https://github.com/sup-heliotrope/sup/wiki/
50
+ .UE \c
52
51
  .TP
53
52
  Mailing list:
54
53
  supmua\[at]googlegroups.com
@@ -56,17 +55,22 @@ supmua\[at]googlegroups.com
56
55
  .PP
57
56
  supmua+subscribe\[at]googlegroups.com
58
57
  .PP
59
- Archives: <https://groups.google.com/d/forum/supmua/>
58
+ Archives: \c
59
+ .UR https://groups.google.com/d/forum/supmua/
60
+ .UE \c
60
61
  .RE
61
62
  .SH COPYRIGHT
63
+ Copyright © 2006\-2009 William Morgan \c
64
+ .MT mworgan-sup@masanjin.net
65
+ .ME \c
62
66
  .PP
63
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
64
- .PP
65
- Copyright \[at] 2013-2014 Sup developers
67
+ Copyright \[at] 2013\-2014 Sup developers
66
68
  .PP
67
69
  Permission is granted to copy and distribute this manual under the terms
68
70
  of the GNU General Public License; either version 2 or (at your option)
69
71
  any later version.
70
72
  .SH AUTHORS
71
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
72
- and is now developed and maintained by the Sup developers.
73
+ Sup was originally written by William Morgan \c
74
+ .MT wmorgan-sup@masanjin.net
75
+ .ME \c
76
+ \ and is now developed and maintained by the Sup developers.
@@ -1,73 +1,72 @@
1
- .\" Automatically generated by Pandoc 2.9.2.1
1
+ .\" Automatically generated by Pandoc 3.1.11.1
2
2
  .\"
3
- .TH "SUP-RECOVER-SOURCES" "1" "April 9, 2012" "Sup User Manual" ""
4
- .hy
3
+ .TH "SUP\-RECOVER\-SOURCES" "1" "April 9, 2012" "Sup User Manual" ""
5
4
  .SH NAME
6
- .PP
7
- sup-recover-sources - rebuild a lost Sup source configuration file
5
+ sup\-recover\-sources \- rebuild a lost Sup source configuration file
8
6
  .SH SYNOPSIS
9
- .PP
10
- 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]]
11
8
  .SH DESCRIPTION
12
- .PP
13
9
  Rebuilds a lost sources.yaml file by reading messages from a list of
14
10
  sources and determining, for each source, the most prevalent `source_id'
15
11
  field of messages from that source in the index.
16
12
  .PP
17
- The only non-deterministic component to this is that if the same message
18
- appears in multiple sources, those sources may be mis-diagnosed by this
19
- 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.
20
16
  .PP
21
- If the first N messages (--scan-num below) all have the same source_id
22
- 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.
23
19
  Otherwise, the distribution will be printed, and you will have to add it
24
20
  by hand.
25
21
  .PP
26
22
  The offset pointer into the sources will be set to the end of the
27
- source, so you will have to run sup-import --rebuild for each new source
28
- after doing this.
23
+ source, so you will have to run sup\-import \-\-rebuild for each new
24
+ source after doing this.
29
25
  .SH OPTIONS
30
26
  .TP
31
- --unusual
27
+ \-\-unusual
32
28
  Mark sources as `unusual'.
33
29
  Only usual sources will be polled by hand (default: false)
34
30
  .TP
35
- --archive
31
+ \-\-archive
36
32
  Mark sources as `archive'.
37
33
  New messages from these sources will not appear in the inbox (default:
38
34
  false)
39
35
  .TP
40
- --scan-num N
36
+ \-\-scan\-num N
41
37
  Number of messages to scan per source (default: 10)
42
38
  .TP
43
- -h, --help
39
+ \-h, \-\-help
44
40
  Show help message
45
41
  .SH FILES
46
42
  .TP
47
43
  $HOME/.sup/sources.yaml
48
44
  Configuration file for Sup mail sources
49
45
  .SH SEE ALSO
50
- .PP
51
- sup(1), sup-config(1), sup-add(1), sup-import(1)
46
+ sup(1), sup\-config(1), sup\-add(1), sup\-import(1)
52
47
  .SH REPORTING BUGS
53
- .PP
54
48
  You are welcome to submit bug reports to the Sup issue tracker, located
55
49
  at
56
50
  .PP
57
- <https://github.com/sup-heliotrope/sup/issues>
51
+ \c
52
+ .UR https://github.com/sup-heliotrope/sup/issues
53
+ .UE \c
58
54
  .SH CONTACT INFORMATION
59
55
  .TP
60
56
  The Sup web page:
61
- <https://sup-heliotrope.github.io/>
57
+ \c
58
+ .UR https://sup-heliotrope.github.io/
59
+ .UE \c
62
60
  .TP
63
61
  Code repository:
64
- <https://github.com/sup-heliotrope/sup/>
62
+ \c
63
+ .UR https://github.com/sup-heliotrope/sup/
64
+ .UE \c
65
65
  .TP
66
66
  Sup Wiki:
67
- <https://github.com/sup-heliotrope/sup/wiki/>
68
- .TP
69
- Sup IRC channel:
70
- #sup \[at] freenode.net
67
+ \c
68
+ .UR https://github.com/sup-heliotrope/sup/wiki/
69
+ .UE \c
71
70
  .TP
72
71
  Mailing list:
73
72
  supmua\[at]googlegroups.com
@@ -75,17 +74,22 @@ supmua\[at]googlegroups.com
75
74
  .PP
76
75
  supmua+subscribe\[at]googlegroups.com
77
76
  .PP
78
- Archives: <https://groups.google.com/d/forum/supmua/>
77
+ Archives: \c
78
+ .UR https://groups.google.com/d/forum/supmua/
79
+ .UE \c
79
80
  .RE
80
81
  .SH COPYRIGHT
82
+ Copyright © 2006\-2009 William Morgan \c
83
+ .MT mworgan-sup@masanjin.net
84
+ .ME \c
81
85
  .PP
82
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
83
- .PP
84
- Copyright \[at] 2013-2014 Sup developers
86
+ Copyright \[at] 2013\-2014 Sup developers
85
87
  .PP
86
88
  Permission is granted to copy and distribute this manual under the terms
87
89
  of the GNU General Public License; either version 2 or (at your option)
88
90
  any later version.
89
91
  .SH AUTHORS
90
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
91
- and is now developed and maintained by the Sup developers.
92
+ Sup was originally written by William Morgan \c
93
+ .MT wmorgan-sup@masanjin.net
94
+ .ME \c
95
+ \ and is now developed and maintained by the Sup developers.
@@ -1,28 +1,25 @@
1
- .\" Automatically generated by Pandoc 2.9.2.1
1
+ .\" Automatically generated by Pandoc 3.1.11.1
2
2
  .\"
3
- .TH "SUP-SYNC-BACK-MAILDIR" "1" "August 25, 2014" "Sup User Manual" ""
4
- .hy
3
+ .TH "SUP\-SYNC\-BACK\-MAILDIR" "1" "August 25, 2014" "Sup User Manual" ""
5
4
  .SH NAME
6
- .PP
7
- 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
8
7
  .SH SYNOPSIS
9
- .PP
10
- 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]]
11
9
  .SH DESCRIPTION
12
- .PP
13
10
  This script parses the Xapian entries for a given Maildir source and
14
- 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
15
12
  labels stored in the index.
16
13
  It will export all the changes you made in Sup to your Maildirs so that
17
14
  they can be propagated to your IMAP server with e.g.\ offlineimap.
18
15
  .PP
19
16
  The script also merges some Maildir flags into Sup such as R (replied)
20
- 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
21
18
  like this: foo_bar:2,FRS (flags are favorite, replied, seen) and its
22
19
  Xapian entry has labels `starred', the merge operation will add the
23
20
  `replied' label to the Xapian entry.
24
21
  .PP
25
- 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'),
26
23
  and in the previous example the file will be renamed to foo_bar:2,FS.
27
24
  .PP
28
25
  Running this script is \f[I]strongly\f[R] recommended when setting the
@@ -35,50 +32,53 @@ sources marked as usual and that have not disabled sync back using the
35
32
  configuration parameter sync_back = false in sources.yaml.
36
33
  .SH OPTIONS
37
34
  .TP
38
- -n, --no-confirm
35
+ \-n, \-\-no\-confirm
39
36
  Don\[cq]t ask for confirmation before synchronizing
40
37
  .TP
41
- -m, --no-merge
38
+ \-m, \-\-no\-merge
42
39
  Don\[cq]t merge new supported Maildir flags (R and P)
43
40
  .TP
44
- -l, --list-sources
41
+ \-l, \-\-list\-sources
45
42
  List your Maildir sources and exit
46
43
  .TP
47
- -u, --unusual-sources-too
44
+ \-u, \-\-unusual\-sources\-too
48
45
  Sync unusual sources too if no specific source information is given
49
46
  .TP
50
- --version
47
+ \-\-version
51
48
  Print version and exit
52
49
  .TP
53
- -h, --help
50
+ \-h, \-\-help
54
51
  Show brief help message
55
52
  .SH FILES
56
53
  .TP
57
54
  $HOME/.sup/sources.yaml
58
55
  Configuration file for Sup mail sources
59
56
  .SH SEE ALSO
60
- .PP
61
- sup(1), sup-add(1), sup-config(1), sup-dump(1), sup-sync(1),
62
- sup-tweak-labels(1)
57
+ sup(1), sup\-add(1), sup\-config(1), sup\-dump(1), sup\-sync(1),
58
+ sup\-tweak\-labels(1)
63
59
  .SH REPORTING BUGS
64
- .PP
65
60
  You are welcome to submit bug reports to the Sup issue tracker, located
66
61
  at
67
62
  .PP
68
- <https://github.com/sup-heliotrope/sup/issues>
63
+ \c
64
+ .UR https://github.com/sup-heliotrope/sup/issues
65
+ .UE \c
69
66
  .SH CONTACT INFORMATION
70
67
  .TP
71
68
  The Sup web page:
72
- <https://sup-heliotrope.github.io/>
69
+ \c
70
+ .UR https://sup-heliotrope.github.io/
71
+ .UE \c
73
72
  .TP
74
73
  Code repository:
75
- <https://github.com/sup-heliotrope/sup/>
74
+ \c
75
+ .UR https://github.com/sup-heliotrope/sup/
76
+ .UE \c
76
77
  .TP
77
78
  Sup Wiki:
78
- <https://github.com/sup-heliotrope/sup/wiki/>
79
- .TP
80
- Sup IRC channel:
81
- #sup \[at] freenode.net
79
+ \c
80
+ .UR https://github.com/sup-heliotrope/sup/wiki/
81
+ .UE \c
82
82
  .TP
83
83
  Mailing list:
84
84
  supmua\[at]googlegroups.com
@@ -86,17 +86,22 @@ supmua\[at]googlegroups.com
86
86
  .PP
87
87
  supmua+subscribe\[at]googlegroups.com
88
88
  .PP
89
- Archives: <https://groups.google.com/d/forum/supmua/>
89
+ Archives: \c
90
+ .UR https://groups.google.com/d/forum/supmua/
91
+ .UE \c
90
92
  .RE
91
93
  .SH COPYRIGHT
94
+ Copyright © 2006\-2009 William Morgan \c
95
+ .MT mworgan-sup@masanjin.net
96
+ .ME \c
92
97
  .PP
93
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
94
- .PP
95
- Copyright \[at] 2013-2014 Sup developers
98
+ Copyright \[at] 2013\-2014 Sup developers
96
99
  .PP
97
100
  Permission is granted to copy and distribute this manual under the terms
98
101
  of the GNU General Public License; either version 2 or (at your option)
99
102
  any later version.
100
103
  .SH AUTHORS
101
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
102
- and is now developed and maintained by the Sup developers.
104
+ Sup was originally written by William Morgan \c
105
+ .MT wmorgan-sup@masanjin.net
106
+ .ME \c
107
+ \ and is now developed and maintained by the Sup developers.
data/man/sup-sync.1 CHANGED
@@ -1,103 +1,102 @@
1
- .\" Automatically generated by Pandoc 2.9.2.1
1
+ .\" Automatically generated by Pandoc 3.1.11.1
2
2
  .\"
3
- .TH "SUP-SYNC" "1" "April 9, 2012" "Sup User Manual" ""
4
- .hy
3
+ .TH "SUP\-SYNC" "1" "April 9, 2012" "Sup User Manual" ""
5
4
  .SH NAME
6
- .PP
7
- sup-sync - sychronize the Sup index with message sources
5
+ sup\-sync \- sychronize the Sup index with message sources
8
6
  .SH SYNOPSIS
9
- .PP
10
- sup-sync [\f[I]options\f[R]] source \&...
7
+ sup\-sync [\f[I]options\f[R]] source \&...
11
8
  .SH DESCRIPTION
12
- .PP
13
9
  Synchronizes the Sup index with one or more message sources by adding
14
10
  messages, deleting messages, or changing message state in the index as
15
11
  appropriate.
16
12
  .PP
17
13
  \[lq]Message state\[rq] means read/unread, archived/inbox,
18
- starred/unstarred, and all user-defined labels on each message.
14
+ starred/unstarred, and all user\-defined labels on each message.
19
15
  .PP
20
16
  \[lq]Default source state\[rq] refers to any state that a source itself
21
17
  has keeps about a message.
22
- 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.
23
19
  The source state is typically limited to read/unread, archived/inbox
24
20
  status and a single label based on the source name.
25
21
  Messages using the default source state are placed in the inbox
26
22
  (i.e.\ not archived) and unstarred.
27
23
  .PP
28
24
  If no sources are given, sync from all usual sources.
29
- Supported source URI schemes can be seen by running \[lq]sup-add
30
- --help\[rq].
25
+ Supported source URI schemes can be seen by running \[lq]sup\-add
26
+ \-\-help\[rq].
31
27
  .SH MESSAGE STATE OPTIONS
32
28
  .TP
33
- --asis
29
+ \-\-asis
34
30
  If the message is already in the index, preserve its state.
35
31
  Otherwise, use default source state (default)
36
32
  .TP
37
- --restore dumpfile
38
- Restore message state from a dump file created with sup-dump.
39
- 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
40
36
  .TP
41
- --discard
37
+ \-\-discard
42
38
  Discard any message state in the index and use the default source state.
43
39
  \f[B]Dangerous!\f[R]
44
40
  .TP
45
- -x, -
41
+ \-x, \-
46
42
  When using the default source state, mark messages as archived.
47
43
  .TP
48
- -r, --read
44
+ \-r, \-\-read
49
45
  When using the default source state, mark messages as read.
50
46
  .TP
51
- --extra-labels \f[I]STRING\f[R]
52
- When using the default source state, also apply these user-defined
53
- 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)
54
50
  .SH OTHER OPTIONS
55
51
  .TP
56
- -v, --verbose
52
+ \-v, \-\-verbose
57
53
  Print message ids as they\[cq]re processed.
58
54
  .TP
59
- -o, --optimize
55
+ \-o, \-\-optimize
60
56
  As the final operation, optimize the index.
61
57
  .TP
62
- --all-sources
58
+ \-\-all\-sources
63
59
  Scan over all sources.
64
60
  .TP
65
- -n, --dry-run
61
+ \-n, \-\-dry\-run
66
62
  Don\[cq]t actually modify the index.
67
- Probably only useful with --verbose.
63
+ Probably only useful with \-\-verbose.
68
64
  .TP
69
- --version
65
+ \-\-version
70
66
  Show version information
71
67
  .TP
72
- -h, --help
68
+ \-h, \-\-help
73
69
  Show help message
74
70
  .SH FILES
75
71
  .TP
76
72
  $HOME/.sup/sources.yaml
77
73
  Configuration file for Sup mail sources
78
74
  .SH SEE ALSO
79
- .PP
80
- sup(1), sup-add(1), sup-config(1), sup-dump(1),
81
- 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)
82
77
  .SH REPORTING BUGS
83
- .PP
84
78
  You are welcome to submit bug reports to the Sup issue tracker, located
85
79
  at
86
80
  .PP
87
- <https://github.com/sup-heliotrope/sup/issues>
81
+ \c
82
+ .UR https://github.com/sup-heliotrope/sup/issues
83
+ .UE \c
88
84
  .SH CONTACT INFORMATION
89
85
  .TP
90
86
  The Sup web page:
91
- <https://sup-heliotrope.github.io/>
87
+ \c
88
+ .UR https://sup-heliotrope.github.io/
89
+ .UE \c
92
90
  .TP
93
91
  Code repository:
94
- <https://github.com/sup-heliotrope/sup/>
92
+ \c
93
+ .UR https://github.com/sup-heliotrope/sup/
94
+ .UE \c
95
95
  .TP
96
96
  Sup Wiki:
97
- <https://github.com/sup-heliotrope/sup/wiki/>
98
- .TP
99
- Sup IRC channel:
100
- #sup \[at] freenode.net
97
+ \c
98
+ .UR https://github.com/sup-heliotrope/sup/wiki/
99
+ .UE \c
101
100
  .TP
102
101
  Mailing list:
103
102
  supmua\[at]googlegroups.com
@@ -105,17 +104,22 @@ supmua\[at]googlegroups.com
105
104
  .PP
106
105
  supmua+subscribe\[at]googlegroups.com
107
106
  .PP
108
- Archives: <https://groups.google.com/d/forum/supmua/>
107
+ Archives: \c
108
+ .UR https://groups.google.com/d/forum/supmua/
109
+ .UE \c
109
110
  .RE
110
111
  .SH COPYRIGHT
112
+ Copyright © 2006\-2009 William Morgan \c
113
+ .MT mworgan-sup@masanjin.net
114
+ .ME \c
111
115
  .PP
112
- Copyright \[co] 2006-2009 William Morgan <mworgan-sup@masanjin.net>
113
- .PP
114
- Copyright \[at] 2013-2014 Sup developers
116
+ Copyright \[at] 2013\-2014 Sup developers
115
117
  .PP
116
118
  Permission is granted to copy and distribute this manual under the terms
117
119
  of the GNU General Public License; either version 2 or (at your option)
118
120
  any later version.
119
121
  .SH AUTHORS
120
- Sup was originally written by William Morgan <wmorgan-sup@masanjin.net>
121
- and is now developed and maintained by the Sup developers.
122
+ Sup was originally written by William Morgan \c
123
+ .MT wmorgan-sup@masanjin.net
124
+ .ME \c
125
+ \ and is now developed and maintained by the Sup developers.