Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1d1b91ecfd | ||
![]() |
ee8b3070aa |
7 changed files with 5077 additions and 0 deletions
51
tools/mutt2meli/.muttrc
Normal file
51
tools/mutt2meli/.muttrc
Normal file
|
@ -0,0 +1,51 @@
|
|||
set imap_user = "username@gmail.com"
|
||||
set imap_pass = ""
|
||||
|
||||
set smtp_url = "smtp://username@smtp.gmail.com:587"
|
||||
set smtp_pass = ""
|
||||
set from = "username@gmail.com"
|
||||
set realname = "FirstName LastName"
|
||||
|
||||
set folder = "imaps://imap.gmail.com:993"
|
||||
set spoolfile = "+INBOX"
|
||||
set postponed = "+[Gmail]/Drafts"
|
||||
|
||||
set header_cache = ~/.mutt/cache/headers
|
||||
set message_cachedir = ~/.mutt/cache/bodies
|
||||
set certificate_file = ~/.mutt/certificates
|
||||
|
||||
set move = no
|
||||
|
||||
set sort = 'threads'
|
||||
set sort_aux = 'last-date-received'
|
||||
set imap_check_subscribed
|
||||
|
||||
set editor='vim "+normal \\ec" +/^$/'
|
||||
|
||||
# Colors
|
||||
|
||||
color normal white default
|
||||
color hdrdefault cyan default
|
||||
color attachment yellow default
|
||||
|
||||
color header brightyellow default "From: "
|
||||
color header brightyellow default "Subject: "
|
||||
color header brightyellow default "Date: "
|
||||
|
||||
color quoted green default
|
||||
color quoted1 cyan default
|
||||
color quoted2 green default
|
||||
color quoted3 cyan default
|
||||
|
||||
color error red default # error messages
|
||||
color message white default # message informational messages
|
||||
color indicator white red # indicator for the "current message"
|
||||
color status white blue # status lines in the folder index sed for the mini-help line
|
||||
color tree red default # the "tree" display of threads within the folder index
|
||||
color search white blue # search matches found with search within the internal pager
|
||||
color markers red default # The markers indicate a wrapped line hen showing messages with looong lines
|
||||
|
||||
color index yellow default '~O'
|
||||
color index yellow default '~N'
|
||||
color index brightred default '~F' # Flagged Messages are important!
|
||||
color index blue default '~D' # Deleted Mails - use dark color as these are already "dealt with"
|
528
tools/mutt2meli/Cargo.lock
generated
Normal file
528
tools/mutt2meli/Cargo.lock
generated
Normal file
|
@ -0,0 +1,528 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "aho-corasick"
|
||||
version = "0.7.18"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ascii-canvas"
|
||||
version = "3.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6"
|
||||
dependencies = [
|
||||
"term",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "atty"
|
||||
version = "0.2.14"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
||||
dependencies = [
|
||||
"hermit-abi",
|
||||
"libc",
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
||||
|
||||
[[package]]
|
||||
name = "bit-set"
|
||||
version = "0.5.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
|
||||
dependencies = [
|
||||
"bit-vec",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bit-vec"
|
||||
version = "0.6.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "1.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
||||
|
||||
[[package]]
|
||||
name = "cfg-if"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
|
||||
[[package]]
|
||||
name = "crunchy"
|
||||
version = "0.2.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
||||
|
||||
[[package]]
|
||||
name = "diff"
|
||||
version = "0.1.13"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
|
||||
|
||||
[[package]]
|
||||
name = "dirs-next"
|
||||
version = "2.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"dirs-sys-next",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dirs-sys-next"
|
||||
version = "0.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"redox_users",
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "either"
|
||||
version = "1.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
|
||||
|
||||
[[package]]
|
||||
name = "ena"
|
||||
version = "0.14.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3"
|
||||
dependencies = [
|
||||
"log",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fixedbitset"
|
||||
version = "0.4.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
|
||||
|
||||
[[package]]
|
||||
name = "getrandom"
|
||||
version = "0.2.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"libc",
|
||||
"wasi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hashbrown"
|
||||
version = "0.12.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
||||
|
||||
[[package]]
|
||||
name = "hermit-abi"
|
||||
version = "0.1.19"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
|
||||
dependencies = [
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "indexmap"
|
||||
version = "1.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"hashbrown",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "itertools"
|
||||
version = "0.10.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3"
|
||||
dependencies = [
|
||||
"either",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lalrpop"
|
||||
version = "0.19.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b30455341b0e18f276fa64540aff54deafb54c589de6aca68659c63dd2d5d823"
|
||||
dependencies = [
|
||||
"ascii-canvas",
|
||||
"atty",
|
||||
"bit-set",
|
||||
"diff",
|
||||
"ena",
|
||||
"itertools",
|
||||
"lalrpop-util",
|
||||
"petgraph",
|
||||
"pico-args",
|
||||
"regex",
|
||||
"regex-syntax",
|
||||
"string_cache",
|
||||
"term",
|
||||
"tiny-keccak",
|
||||
"unicode-xid",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lalrpop-util"
|
||||
version = "0.19.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bcf796c978e9b4d983414f4caedc9273aa33ee214c5b887bd55fde84c85d2dc4"
|
||||
dependencies = [
|
||||
"regex",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.132"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5"
|
||||
|
||||
[[package]]
|
||||
name = "lock_api"
|
||||
version = "0.4.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9f80bf5aacaf25cbfc8210d1cfb718f2bf3b11c4c54e5afe36c236853a8ec390"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"scopeguard",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
version = "0.4.17"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "memchr"
|
||||
version = "2.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
||||
|
||||
[[package]]
|
||||
name = "mutt2meli"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"lalrpop",
|
||||
"lalrpop-util",
|
||||
"regex",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "new_debug_unreachable"
|
||||
version = "1.0.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
||||
|
||||
[[package]]
|
||||
name = "once_cell"
|
||||
version = "1.14.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2f7254b99e31cad77da24b08ebf628882739a608578bb1bcdfc1f9c21260d7c0"
|
||||
|
||||
[[package]]
|
||||
name = "parking_lot"
|
||||
version = "0.12.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
||||
dependencies = [
|
||||
"lock_api",
|
||||
"parking_lot_core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "parking_lot_core"
|
||||
version = "0.9.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"libc",
|
||||
"redox_syscall",
|
||||
"smallvec",
|
||||
"windows-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "petgraph"
|
||||
version = "0.6.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143"
|
||||
dependencies = [
|
||||
"fixedbitset",
|
||||
"indexmap",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "phf_shared"
|
||||
version = "0.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
|
||||
dependencies = [
|
||||
"siphasher",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pico-args"
|
||||
version = "0.4.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "db8bcd96cb740d03149cbad5518db9fd87126a10ab519c011893b1754134c468"
|
||||
|
||||
[[package]]
|
||||
name = "precomputed-hash"
|
||||
version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro2"
|
||||
version = "1.0.43"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab"
|
||||
dependencies = [
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.21"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "redox_syscall"
|
||||
version = "0.2.16"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "redox_users"
|
||||
version = "0.4.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
|
||||
dependencies = [
|
||||
"getrandom",
|
||||
"redox_syscall",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex"
|
||||
version = "1.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b"
|
||||
dependencies = [
|
||||
"aho-corasick",
|
||||
"memchr",
|
||||
"regex-syntax",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex-syntax"
|
||||
version = "0.6.27"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
|
||||
|
||||
[[package]]
|
||||
name = "rustversion"
|
||||
version = "1.0.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "97477e48b4cf8603ad5f7aaf897467cf42ab4218a38ef76fb14c2d6773a6d6a8"
|
||||
|
||||
[[package]]
|
||||
name = "scopeguard"
|
||||
version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
||||
|
||||
[[package]]
|
||||
name = "siphasher"
|
||||
version = "0.3.10"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
|
||||
|
||||
[[package]]
|
||||
name = "smallvec"
|
||||
version = "1.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1"
|
||||
|
||||
[[package]]
|
||||
name = "string_cache"
|
||||
version = "0.8.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "213494b7a2b503146286049378ce02b482200519accc31872ee8be91fa820a08"
|
||||
dependencies = [
|
||||
"new_debug_unreachable",
|
||||
"once_cell",
|
||||
"parking_lot",
|
||||
"phf_shared",
|
||||
"precomputed-hash",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "1.0.99"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "term"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f"
|
||||
dependencies = [
|
||||
"dirs-next",
|
||||
"rustversion",
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror"
|
||||
version = "1.0.33"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3d0a539a918745651435ac7db7a18761589a94cd7e94cd56999f828bf73c8a57"
|
||||
dependencies = [
|
||||
"thiserror-impl",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror-impl"
|
||||
version = "1.0.33"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c251e90f708e16c49a16f4917dc2131e75222b72edfa9cb7f7c58ae56aae0c09"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tiny-keccak"
|
||||
version = "2.0.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
|
||||
dependencies = [
|
||||
"crunchy",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicode-ident"
|
||||
version = "1.0.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf"
|
||||
|
||||
[[package]]
|
||||
name = "unicode-xid"
|
||||
version = "0.2.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04"
|
||||
|
||||
[[package]]
|
||||
name = "wasi"
|
||||
version = "0.11.0+wasi-snapshot-preview1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
||||
|
||||
[[package]]
|
||||
name = "winapi"
|
||||
version = "0.3.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
||||
dependencies = [
|
||||
"winapi-i686-pc-windows-gnu",
|
||||
"winapi-x86_64-pc-windows-gnu",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "winapi-i686-pc-windows-gnu"
|
||||
version = "0.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
||||
|
||||
[[package]]
|
||||
name = "winapi-x86_64-pc-windows-gnu"
|
||||
version = "0.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
||||
|
||||
[[package]]
|
||||
name = "windows-sys"
|
||||
version = "0.36.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
|
||||
dependencies = [
|
||||
"windows_aarch64_msvc",
|
||||
"windows_i686_gnu",
|
||||
"windows_i686_msvc",
|
||||
"windows_x86_64_gnu",
|
||||
"windows_x86_64_msvc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows_aarch64_msvc"
|
||||
version = "0.36.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_gnu"
|
||||
version = "0.36.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_msvc"
|
||||
version = "0.36.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_gnu"
|
||||
version = "0.36.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_msvc"
|
||||
version = "0.36.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
|
27
tools/mutt2meli/Cargo.toml
Normal file
27
tools/mutt2meli/Cargo.toml
Normal file
|
@ -0,0 +1,27 @@
|
|||
[package]
|
||||
name = "mutt2meli"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
build = "build.rs" # LALRPOP preprocessing
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[workspace]
|
||||
|
||||
# The generated code depends on lalrpop-util.
|
||||
#
|
||||
# The generated tokenizer depends on the regex crate.
|
||||
#
|
||||
# (If you write your own tokenizer, or already have the regex
|
||||
# crate, you can skip this dependency.)
|
||||
[dependencies]
|
||||
lalrpop-util = "0.19.7"
|
||||
regex = "1"
|
||||
|
||||
# Add a build-time dependency on the lalrpop library:
|
||||
[build-dependencies]
|
||||
lalrpop = "0.19.7"
|
||||
# If you are supplying your own external lexer you can disable default features so that the
|
||||
# built-in lexer feature is not included
|
||||
# lalrpop = { version = "0.19.1", default-features = false }
|
||||
|
5
tools/mutt2meli/build.rs
Normal file
5
tools/mutt2meli/build.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
extern crate lalrpop;
|
||||
|
||||
fn main() {
|
||||
lalrpop::process_root().unwrap();
|
||||
}
|
3736
tools/mutt2meli/src/lexer.rs
Normal file
3736
tools/mutt2meli/src/lexer.rs
Normal file
File diff suppressed because it is too large
Load diff
13
tools/mutt2meli/src/main.rs
Normal file
13
tools/mutt2meli/src/main.rs
Normal file
|
@ -0,0 +1,13 @@
|
|||
#[macro_use]
|
||||
extern crate lalrpop_util;
|
||||
|
||||
pub mod lexer;
|
||||
lalrpop_mod!(pub muttrc); // synthesized by LALRPOP
|
||||
|
||||
fn main() {
|
||||
let muttrc = std::fs::read_to_string("./.muttrc").unwrap();
|
||||
println!(
|
||||
"Hello, world! {:?}",
|
||||
muttrc::MuttrcCommandParser::new().parse(&muttrc).unwrap()
|
||||
);
|
||||
}
|
717
tools/mutt2meli/src/muttrc.lalrpop
Normal file
717
tools/mutt2meli/src/muttrc.lalrpop
Normal file
|
@ -0,0 +1,717 @@
|
|||
use std::str::FromStr;
|
||||
use crate::lexer as ast;
|
||||
use crate::*;
|
||||
|
||||
grammar;
|
||||
|
||||
pub Muttrc = <Statement*>;
|
||||
|
||||
Statement: ast::Statement = {
|
||||
<inner:Command> => ast::Statement::Command { inner },
|
||||
<inner:Value> => ast::Statement::Value { inner },
|
||||
}
|
||||
|
||||
Command: MuttrcCommand = {
|
||||
"alias" => ast::MuttrcCommand::Alias,
|
||||
"unalias", => ast::MuttrcCommand::Unalias,
|
||||
"group", => ast::MuttrcCommand::Group,
|
||||
"ungroup", => ast::MuttrcCommand::Ungroup,
|
||||
"alternates", => ast::MuttrcCommand::Alternates,
|
||||
"unalternates", => ast::MuttrcCommand::Unalternates,
|
||||
"alternative_order", => ast::MuttrcCommand::AlternativeOrder,
|
||||
"unalternative_order", => ast::MuttrcCommand::UnalternativeOrder,
|
||||
"auto_view", => ast::MuttrcCommand::AutoView,
|
||||
"unauto_view", => ast::MuttrcCommand::UnautoView,
|
||||
"mime_lookup", => ast::MuttrcCommand::MimeLookup,
|
||||
"unmime_lookup", => ast::MuttrcCommand::UnmimeLookup,
|
||||
"color", => ast::MuttrcCommand::Color,
|
||||
"uncolor", => ast::MuttrcCommand::Uncolor,
|
||||
"mono", => ast::MuttrcCommand::Mono,
|
||||
"lists", => ast::MuttrcCommand::Lists,
|
||||
"unlists", => ast::MuttrcCommand::Unlists,
|
||||
"subscribe", => ast::MuttrcCommand::Subscribe,
|
||||
"unsubscribe", => ast::MuttrcCommand::Unsubscribe,
|
||||
"mailboxes", => ast::MuttrcCommand::Mailboxes,
|
||||
"unmailboxes", => ast::MuttrcCommand::Unmailboxes,
|
||||
"my_hdr", => ast::MuttrcCommand::MyHdr,
|
||||
"unmy_hdr", => ast::MuttrcCommand::UnmyHdr,
|
||||
"hdr_order", => ast::MuttrcCommand::HdrOrder,
|
||||
"save_hook", => ast::MuttrcCommand::SaveHook,
|
||||
"fcc_hook", => ast::MuttrcCommand::FccHook,
|
||||
"fcc_save_hook", => ast::MuttrcCommand::FccSaveHook,
|
||||
"send_hook", => ast::MuttrcCommand::SendHook,
|
||||
"send2_hook", => ast::MuttrcCommand::Send2Hook,
|
||||
"reply_hook", => ast::MuttrcCommand::ReplyHook,
|
||||
"crypt_hook", => ast::MuttrcCommand::CryptHook,
|
||||
"push", => ast::MuttrcCommand::Push,
|
||||
"set", => ast::MuttrcCommand::Set,
|
||||
"toggle", => ast::MuttrcCommand::Toggle,
|
||||
"unset", => ast::MuttrcCommand::Unset,
|
||||
"reset", => ast::MuttrcCommand::Reset,
|
||||
"source", => ast::MuttrcCommand::Source,
|
||||
"spam", => ast::MuttrcCommand::Spam,
|
||||
"nospam", => ast::MuttrcCommand::Nospam,
|
||||
"unhook", => ast::MuttrcCommand::Unhook,
|
||||
};
|
||||
|
||||
Value: MuttrcConfigurationValues = {
|
||||
"abort_nosubject", => ast::MuttrcConfigurationValues::AbortNosubject,
|
||||
"abort_unmodified", => ast::MuttrcConfigurationValues::AbortUnmodified,
|
||||
"alias_file", => ast::MuttrcConfigurationValues::AliasFile,
|
||||
"alias_format", => ast::MuttrcConfigurationValues::AliasFormat,
|
||||
"allow8bit", => ast::MuttrcConfigurationValues::Allow8bit,
|
||||
"allow_ansi", => ast::MuttrcConfigurationValues::AllowAnsi,
|
||||
"arrow_cursor", => ast::MuttrcConfigurationValues::ArrowCursor,
|
||||
"ascii_chars", => ast::MuttrcConfigurationValues::AsciiChars,
|
||||
"askbcc", => ast::MuttrcConfigurationValues::Askbcc,
|
||||
"askcc", => ast::MuttrcConfigurationValues::Askcc,
|
||||
"assumed_charset", => ast::MuttrcConfigurationValues::AssumedCharset,
|
||||
"attach_charset", => ast::MuttrcConfigurationValues::AttachCharset,
|
||||
"attach_format", => ast::MuttrcConfigurationValues::AttachFormat,
|
||||
"attach_sep", => ast::MuttrcConfigurationValues::AttachSep,
|
||||
"attach_split", => ast::MuttrcConfigurationValues::AttachSplit,
|
||||
"attribution", => ast::MuttrcConfigurationValues::Attribution,
|
||||
"auto_tag", => ast::MuttrcConfigurationValues::AutoTag,
|
||||
"autoedit", => ast::MuttrcConfigurationValues::Autoedit,
|
||||
"beep", => ast::MuttrcConfigurationValues::Beep,
|
||||
"beep_new", => ast::MuttrcConfigurationValues::BeepNew,
|
||||
"bounce", => ast::MuttrcConfigurationValues::Bounce,
|
||||
"bounce_delivered", => ast::MuttrcConfigurationValues::BounceDelivered,
|
||||
"braille_friendly", => ast::MuttrcConfigurationValues::BrailleFriendly,
|
||||
"certificate_file", => ast::MuttrcConfigurationValues::CertificateFile,
|
||||
"charset", => ast::MuttrcConfigurationValues::Charset,
|
||||
"check_mbox_size", => ast::MuttrcConfigurationValues::CheckMboxSize,
|
||||
"check_new", => ast::MuttrcConfigurationValues::CheckNew,
|
||||
"collapse_unread", => ast::MuttrcConfigurationValues::CollapseUnread,
|
||||
"compose_format", => ast::MuttrcConfigurationValues::ComposeFormat,
|
||||
"config_charset", => ast::MuttrcConfigurationValues::ConfigCharset,
|
||||
"confirm_append", => ast::MuttrcConfigurationValues::ConfirmAppend,
|
||||
"confirm_create", => ast::MuttrcConfigurationValues::ConfirmCreate,
|
||||
"connect_timeout", => ast::MuttrcConfigurationValues::ConnectTimeout,
|
||||
"content_type", => ast::MuttrcConfigurationValues::ContentType,
|
||||
"copy", => ast::MuttrcConfigurationValues::Copy,
|
||||
"crypt_autoencrypt", => ast::MuttrcConfigurationValues::CryptAutoencrypt,
|
||||
"crypt_autopgp", => ast::MuttrcConfigurationValues::CryptAutopgp,
|
||||
"crypt_autosign", => ast::MuttrcConfigurationValues::CryptAutosign,
|
||||
"crypt_autosmime", => ast::MuttrcConfigurationValues::CryptAutosmime,
|
||||
"crypt_replyencrypt", => ast::MuttrcConfigurationValues::CryptReplyencrypt,
|
||||
"crypt_replysign", => ast::MuttrcConfigurationValues::CryptReplysign,
|
||||
"crypt_replysignencrypted", => ast::MuttrcConfigurationValues::CryptReplysignencrypted,
|
||||
"crypt_timestamp", => ast::MuttrcConfigurationValues::CryptTimestamp,
|
||||
"cryptuse_gpgme", => ast::MuttrcConfigurationValues::CryptuseGpgme,
|
||||
"cryptuse_pka", => ast::MuttrcConfigurationValues::CryptusePka,
|
||||
"cryptverify_sig", => ast::MuttrcConfigurationValues::CryptverifySig,
|
||||
"date_format", => ast::MuttrcConfigurationValues::DateFormat,
|
||||
"default_hook", => ast::MuttrcConfigurationValues::DefaultHook,
|
||||
"delete", => ast::MuttrcConfigurationValues::Delete,
|
||||
"delete_untag", => ast::MuttrcConfigurationValues::DeleteUntag,
|
||||
"digest_collapse", => ast::MuttrcConfigurationValues::DigestCollapse,
|
||||
"display_filter", => ast::MuttrcConfigurationValues::DisplayFilter,
|
||||
"dsn_notify", => ast::MuttrcConfigurationValues::DsnNotify,
|
||||
"dsn_return", => ast::MuttrcConfigurationValues::DsnReturn,
|
||||
"duplicate_threads", => ast::MuttrcConfigurationValues::DuplicateThreads,
|
||||
"edit_headers", => ast::MuttrcConfigurationValues::EditHeaders,
|
||||
"editor", => ast::MuttrcConfigurationValues::Editor,
|
||||
"encode_from", => ast::MuttrcConfigurationValues::EncodeFrom,
|
||||
"envelope_from_address", => ast::MuttrcConfigurationValues::EnvelopeFromAddress,
|
||||
"escape", => ast::MuttrcConfigurationValues::Escape,
|
||||
"fast_reply", => ast::MuttrcConfigurationValues::FastReply,
|
||||
"fcc_attach", => ast::MuttrcConfigurationValues::FccAttach,
|
||||
"fcc_clear", => ast::MuttrcConfigurationValues::FccClear,
|
||||
"folder", => ast::MuttrcConfigurationValues::Folder,
|
||||
"folder_format", => ast::MuttrcConfigurationValues::FolderFormat,
|
||||
"followup_to", => ast::MuttrcConfigurationValues::FollowupTo,
|
||||
"force_name", => ast::MuttrcConfigurationValues::ForceName,
|
||||
"forward_decode", => ast::MuttrcConfigurationValues::ForwardDecode,
|
||||
"forward_decrypt", => ast::MuttrcConfigurationValues::ForwardDecrypt,
|
||||
"forward_edit", => ast::MuttrcConfigurationValues::ForwardEdit,
|
||||
"forward_format", => ast::MuttrcConfigurationValues::ForwardFormat,
|
||||
"forward_quote", => ast::MuttrcConfigurationValues::ForwardQuote,
|
||||
"from", => ast::MuttrcConfigurationValues::From,
|
||||
"gecos_mask", => ast::MuttrcConfigurationValues::GecosMask,
|
||||
"hdrs", => ast::MuttrcConfigurationValues::Hdrs,
|
||||
"header", => ast::MuttrcConfigurationValues::Header,
|
||||
"header_cache", => ast::MuttrcConfigurationValues::HeaderCache,
|
||||
"header_cache_compress", => ast::MuttrcConfigurationValues::HeaderCacheCompress,
|
||||
"help", => ast::MuttrcConfigurationValues::Help,
|
||||
"hidden_host", => ast::MuttrcConfigurationValues::HiddenHost,
|
||||
"hide_limited", => ast::MuttrcConfigurationValues::HideLimited,
|
||||
"hide_missing", => ast::MuttrcConfigurationValues::HideMissing,
|
||||
"hide_thread_subject", => ast::MuttrcConfigurationValues::HideThreadSubject,
|
||||
"hide_top_limited", => ast::MuttrcConfigurationValues::HideTopLimited,
|
||||
"hide_top_missing", => ast::MuttrcConfigurationValues::HideTopMissing,
|
||||
"history", => ast::MuttrcConfigurationValues::History,
|
||||
"history_file", => ast::MuttrcConfigurationValues::HistoryFile,
|
||||
"honor_disposition", => ast::MuttrcConfigurationValues::HonorDisposition,
|
||||
"honor_followup_to", => ast::MuttrcConfigurationValues::HonorFollowupTo,
|
||||
"hostname", => ast::MuttrcConfigurationValues::Hostname,
|
||||
"ignore_linear_white_space", => ast::MuttrcConfigurationValues::IgnoreLinearWhiteSpace,
|
||||
"ignore_list_reply_to", => ast::MuttrcConfigurationValues::IgnoreListReplyTo,
|
||||
"imap_authenticators", => ast::MuttrcConfigurationValues::ImapAuthenticators,
|
||||
"imap_check_subscribed", => ast::MuttrcConfigurationValues::ImapCheckSubscribed,
|
||||
"imap_delim_chars", => ast::MuttrcConfigurationValues::ImapDelimChars,
|
||||
"imap_headers", => ast::MuttrcConfigurationValues::ImapHeaders,
|
||||
"imap_idle", => ast::MuttrcConfigurationValues::ImapIdle,
|
||||
"imap_keepalive", => ast::MuttrcConfigurationValues::ImapKeepalive,
|
||||
"imap_list_subscribed", => ast::MuttrcConfigurationValues::ImapListSubscribed,
|
||||
"imap_login", => ast::MuttrcConfigurationValues::ImapLogin,
|
||||
"imap_pass", => ast::MuttrcConfigurationValues::ImapPass,
|
||||
"imap_passive", => ast::MuttrcConfigurationValues::ImapPassive,
|
||||
"imap_peek", => ast::MuttrcConfigurationValues::ImapPeek,
|
||||
"imap_pipeline_depth", => ast::MuttrcConfigurationValues::ImapPipelineDepth,
|
||||
"imap_servernoise", => ast::MuttrcConfigurationValues::ImapServernoise,
|
||||
"imap_user", => ast::MuttrcConfigurationValues::ImapUser,
|
||||
"implicit_autoview", => ast::MuttrcConfigurationValues::ImplicitAutoview,
|
||||
"include", => ast::MuttrcConfigurationValues::Include,
|
||||
"include_onlyfirst", => ast::MuttrcConfigurationValues::IncludeOnlyfirst,
|
||||
"indent_string", => ast::MuttrcConfigurationValues::IndentString,
|
||||
"index_format", => ast::MuttrcConfigurationValues::IndexFormat,
|
||||
"ispell", => ast::MuttrcConfigurationValues::Ispell,
|
||||
"keep_flagged", => ast::MuttrcConfigurationValues::KeepFlagged,
|
||||
"locale", => ast::MuttrcConfigurationValues::Locale,
|
||||
"mail_check", => ast::MuttrcConfigurationValues::MailCheck,
|
||||
"mailcap_path", => ast::MuttrcConfigurationValues::MailcapPath,
|
||||
"mailcap_sanitize", => ast::MuttrcConfigurationValues::MailcapSanitize,
|
||||
"maildir_header_cache_verify", => ast::MuttrcConfigurationValues::MaildirHeaderCacheVerify,
|
||||
"maildir_trash", => ast::MuttrcConfigurationValues::MaildirTrash,
|
||||
"mark_old", => ast::MuttrcConfigurationValues::MarkOld,
|
||||
"markers", => ast::MuttrcConfigurationValues::Markers,
|
||||
"mask", => ast::MuttrcConfigurationValues::Mask,
|
||||
"mbox", => ast::MuttrcConfigurationValues::Mbox,
|
||||
"mbox_type", => ast::MuttrcConfigurationValues::MboxType,
|
||||
"menu_context", => ast::MuttrcConfigurationValues::MenuContext,
|
||||
"menu_move_off", => ast::MuttrcConfigurationValues::MenuMoveOff,
|
||||
"menu_scroll", => ast::MuttrcConfigurationValues::MenuScroll,
|
||||
"message_cache_clean", => ast::MuttrcConfigurationValues::MessageCacheClean,
|
||||
"message_cachedir", => ast::MuttrcConfigurationValues::MessageCachedir,
|
||||
"message_format", => ast::MuttrcConfigurationValues::MessageFormat,
|
||||
"meta_key", => ast::MuttrcConfigurationValues::MetaKey,
|
||||
"metoo", => ast::MuttrcConfigurationValues::Metoo,
|
||||
"mh_purge", => ast::MuttrcConfigurationValues::MhPurge,
|
||||
"mh_seq_flagged", => ast::MuttrcConfigurationValues::MhSeqFlagged,
|
||||
"mh_seq_replied", => ast::MuttrcConfigurationValues::MhSeqReplied,
|
||||
"mh_seq_unseen", => ast::MuttrcConfigurationValues::MhSeqUnseen,
|
||||
"mime_forward", => ast::MuttrcConfigurationValues::MimeForward,
|
||||
"mime_forward_decode", => ast::MuttrcConfigurationValues::MimeForwardDecode,
|
||||
"mime_forward_rest", => ast::MuttrcConfigurationValues::MimeForwardRest,
|
||||
"move", => ast::MuttrcConfigurationValues::Move,
|
||||
"narrow_tree", => ast::MuttrcConfigurationValues::NarrowTree,
|
||||
"net_inc", => ast::MuttrcConfigurationValues::NetInc,
|
||||
"pager", => ast::MuttrcConfigurationValues::Pager,
|
||||
"pager_context", => ast::MuttrcConfigurationValues::PagerContext,
|
||||
"pager_format", => ast::MuttrcConfigurationValues::PagerFormat,
|
||||
"pager_index_lines", => ast::MuttrcConfigurationValues::PagerIndexLines,
|
||||
"pager_stop", => ast::MuttrcConfigurationValues::PagerStop,
|
||||
"pgp_auto_decode", => ast::MuttrcConfigurationValues::PgpAutoDecode,
|
||||
"pgp_autoinline", => ast::MuttrcConfigurationValues::PgpAutoinline,
|
||||
"pgp_check_exit", => ast::MuttrcConfigurationValues::PgpCheckExit,
|
||||
"pgp_clearsign_command", => ast::MuttrcConfigurationValues::PgpClearsignCommand,
|
||||
"pgp_decode_command", => ast::MuttrcConfigurationValues::PgpDecodeCommand,
|
||||
"pgp_decrypt_command", => ast::MuttrcConfigurationValues::PgpDecryptCommand,
|
||||
"pgp_encrypt_only_command", => ast::MuttrcConfigurationValues::PgpEncryptOnlyCommand,
|
||||
"pgp_encrypt_sign_command", => ast::MuttrcConfigurationValues::PgpEncryptSignCommand,
|
||||
"pgp_entry_format", => ast::MuttrcConfigurationValues::PgpEntryFormat,
|
||||
"pgp_export_command", => ast::MuttrcConfigurationValues::PgpExportCommand,
|
||||
"pgp_getkeys_command", => ast::MuttrcConfigurationValues::PgpGetkeysCommand,
|
||||
"pgp_good_sign", => ast::MuttrcConfigurationValues::PgpGoodSign,
|
||||
"pgp_ignore_subkeys", => ast::MuttrcConfigurationValues::PgpIgnoreSubkeys,
|
||||
"pgp_import_command", => ast::MuttrcConfigurationValues::PgpImportCommand,
|
||||
"pgp_list_pubring_command", => ast::MuttrcConfigurationValues::PgpListPubringCommand,
|
||||
"pgp_list_secring_command", => ast::MuttrcConfigurationValues::PgpListSecringCommand,
|
||||
"pgp_long_ids", => ast::MuttrcConfigurationValues::PgpLongIds,
|
||||
"pgp_mime_auto", => ast::MuttrcConfigurationValues::PgpMimeAuto,
|
||||
"pgp_replyinline", => ast::MuttrcConfigurationValues::PgpReplyinline,
|
||||
"pgp_retainable_sigs", => ast::MuttrcConfigurationValues::PgpRetainableSigs,
|
||||
"pgp_show_unusable", => ast::MuttrcConfigurationValues::PgpShowUnusable,
|
||||
"pgp_sign_as", => ast::MuttrcConfigurationValues::PgpSignAs,
|
||||
"pgp_sign_command", => ast::MuttrcConfigurationValues::PgpSignCommand,
|
||||
"pgp_sort_keys", => ast::MuttrcConfigurationValues::PgpSortKeys,
|
||||
"pgp_strict_enc", => ast::MuttrcConfigurationValues::PgpStrictEnc,
|
||||
"pgp_timeout", => ast::MuttrcConfigurationValues::PgpTimeout,
|
||||
"pgp_use_gpg_agent", => ast::MuttrcConfigurationValues::PgpUseGpgAgent,
|
||||
"pgp_verify_command", => ast::MuttrcConfigurationValues::PgpVerifyCommand,
|
||||
"pgp_verify_key_command", => ast::MuttrcConfigurationValues::PgpVerifyKeyCommand,
|
||||
"pipe_decode", => ast::MuttrcConfigurationValues::PipeDecode,
|
||||
"pipe_sep", => ast::MuttrcConfigurationValues::PipeSep,
|
||||
"pipe_split", => ast::MuttrcConfigurationValues::PipeSplit,
|
||||
"pop_auth_try_all", => ast::MuttrcConfigurationValues::PopAuthTryAll,
|
||||
"pop_authenticators", => ast::MuttrcConfigurationValues::PopAuthenticators,
|
||||
"pop_checkinterval", => ast::MuttrcConfigurationValues::PopCheckinterval,
|
||||
"pop_delete", => ast::MuttrcConfigurationValues::PopDelete,
|
||||
"pop_host", => ast::MuttrcConfigurationValues::PopHost,
|
||||
"pop_last", => ast::MuttrcConfigurationValues::PopLast,
|
||||
"pop_pass", => ast::MuttrcConfigurationValues::PopPass,
|
||||
"pop_reconnect", => ast::MuttrcConfigurationValues::PopReconnect,
|
||||
"pop_user", => ast::MuttrcConfigurationValues::PopUser,
|
||||
"post_indent_string", => ast::MuttrcConfigurationValues::PostIndentString,
|
||||
"postpone", => ast::MuttrcConfigurationValues::Postpone,
|
||||
"postponed", => ast::MuttrcConfigurationValues::Postponed,
|
||||
"preconnect", => ast::MuttrcConfigurationValues::Preconnect,
|
||||
"print", => ast::MuttrcConfigurationValues::Print,
|
||||
"print_command", => ast::MuttrcConfigurationValues::PrintCommand,
|
||||
"print_decode", => ast::MuttrcConfigurationValues::PrintDecode,
|
||||
"print_split", => ast::MuttrcConfigurationValues::PrintSplit,
|
||||
"prompt_after", => ast::MuttrcConfigurationValues::PromptAfter,
|
||||
"query_command", => ast::MuttrcConfigurationValues::QueryCommand,
|
||||
"query_format", => ast::MuttrcConfigurationValues::QueryFormat,
|
||||
"quit", => ast::MuttrcConfigurationValues::Quit,
|
||||
"quote_regexp", => ast::MuttrcConfigurationValues::QuoteRegexp,
|
||||
"read_inc", => ast::MuttrcConfigurationValues::ReadInc,
|
||||
"read_only", => ast::MuttrcConfigurationValues::ReadOnly,
|
||||
"realname", => ast::MuttrcConfigurationValues::Realname,
|
||||
"recall", => ast::MuttrcConfigurationValues::Recall,
|
||||
"record", => ast::MuttrcConfigurationValues::Record,
|
||||
"reply_regexp", => ast::MuttrcConfigurationValues::ReplyRegexp,
|
||||
"reply_self", => ast::MuttrcConfigurationValues::ReplySelf,
|
||||
"reply_to", => ast::MuttrcConfigurationValues::ReplyTo,
|
||||
"resolve", => ast::MuttrcConfigurationValues::Resolve,
|
||||
"reverse_alias", => ast::MuttrcConfigurationValues::ReverseAlias,
|
||||
"reverse_name", => ast::MuttrcConfigurationValues::ReverseName,
|
||||
"reverse_realname", => ast::MuttrcConfigurationValues::ReverseRealname,
|
||||
"rfc2047_parameters", => ast::MuttrcConfigurationValues::Rfc2047Parameters,
|
||||
"save_address", => ast::MuttrcConfigurationValues::SaveAddress,
|
||||
"save_empty", => ast::MuttrcConfigurationValues::SaveEmpty,
|
||||
"save_history", => ast::MuttrcConfigurationValues::SaveHistory,
|
||||
"save_name", => ast::MuttrcConfigurationValues::SaveName,
|
||||
"score", => ast::MuttrcConfigurationValues::Score,
|
||||
"score_threshold_delete", => ast::MuttrcConfigurationValues::ScoreThresholdDelete,
|
||||
"score_threshold_flag", => ast::MuttrcConfigurationValues::ScoreThresholdFlag,
|
||||
"score_threshold_read", => ast::MuttrcConfigurationValues::ScoreThresholdRead,
|
||||
"search_context", => ast::MuttrcConfigurationValues::SearchContext,
|
||||
"send_charset", => ast::MuttrcConfigurationValues::SendCharset,
|
||||
"sendmail", => ast::MuttrcConfigurationValues::Sendmail,
|
||||
"sendmail_wait", => ast::MuttrcConfigurationValues::SendmailWait,
|
||||
"shell", => ast::MuttrcConfigurationValues::Shell,
|
||||
"sig_dashes", => ast::MuttrcConfigurationValues::SigDashes,
|
||||
"sig_on_top", => ast::MuttrcConfigurationValues::SigOnTop,
|
||||
"signature", => ast::MuttrcConfigurationValues::Signature,
|
||||
"simple_search", => ast::MuttrcConfigurationValues::SimpleSearch,
|
||||
"sleep_time", => ast::MuttrcConfigurationValues::SleepTime,
|
||||
"smart_wrap", => ast::MuttrcConfigurationValues::SmartWrap,
|
||||
"smileys", => ast::MuttrcConfigurationValues::Smileys,
|
||||
"smime_ask_cert_label", => ast::MuttrcConfigurationValues::SmimeAskCertLabel,
|
||||
"smime_ca_location", => ast::MuttrcConfigurationValues::SmimeCaLocation,
|
||||
"smime_certificates", => ast::MuttrcConfigurationValues::SmimeCertificates,
|
||||
"smime_decrypt_command", => ast::MuttrcConfigurationValues::SmimeDecryptCommand,
|
||||
"smime_decrypt_use_default_key", => ast::MuttrcConfigurationValues::SmimeDecryptUseDefaultKey,
|
||||
"smime_default_key", => ast::MuttrcConfigurationValues::SmimeDefaultKey,
|
||||
"smime_encrypt_command", => ast::MuttrcConfigurationValues::SmimeEncryptCommand,
|
||||
"smime_encrypt_with", => ast::MuttrcConfigurationValues::SmimeEncryptWith,
|
||||
"smime_get_cert_command", => ast::MuttrcConfigurationValues::SmimeGetCertCommand,
|
||||
"smime_get_cert_email_command", => ast::MuttrcConfigurationValues::SmimeGetCertEmailCommand,
|
||||
"smime_get_signer_cert_command", => ast::MuttrcConfigurationValues::SmimeGetSignerCertCommand,
|
||||
"smime_import_cert_command", => ast::MuttrcConfigurationValues::SmimeImportCertCommand,
|
||||
"smime_is_default", => ast::MuttrcConfigurationValues::SmimeIsDefault,
|
||||
"smime_keys", => ast::MuttrcConfigurationValues::SmimeKeys,
|
||||
"smimepk7out_command", => ast::MuttrcConfigurationValues::Smimepk7outCommand,
|
||||
"smime_sign_command", => ast::MuttrcConfigurationValues::SmimeSignCommand,
|
||||
"smime_sign_opaque_command", => ast::MuttrcConfigurationValues::SmimeSignOpaqueCommand,
|
||||
"smime_timeout", => ast::MuttrcConfigurationValues::SmimeTimeout,
|
||||
"smime_verify_command", => ast::MuttrcConfigurationValues::SmimeVerifyCommand,
|
||||
"smime_verify_opaque_command", => ast::MuttrcConfigurationValues::SmimeVerifyOpaqueCommand,
|
||||
"smtp_authenticators", => ast::MuttrcConfigurationValues::SmtpAuthenticators,
|
||||
"smtp_pass", => ast::MuttrcConfigurationValues::SmtpPass,
|
||||
"smtp_url", => ast::MuttrcConfigurationValues::SmtpUrl,
|
||||
"sort", => ast::MuttrcConfigurationValues::Sort,
|
||||
"sort_alias", => ast::MuttrcConfigurationValues::SortAlias,
|
||||
"sort_aux", => ast::MuttrcConfigurationValues::SortAux,
|
||||
"sort_browser", => ast::MuttrcConfigurationValues::SortBrowser,
|
||||
"sort_re", => ast::MuttrcConfigurationValues::SortRe,
|
||||
"spam_separator", => ast::MuttrcConfigurationValues::SpamSeparator,
|
||||
"spoolfile", => ast::MuttrcConfigurationValues::Spoolfile,
|
||||
"ssl_ca_certificates_file", => ast::MuttrcConfigurationValues::SslCaCertificatesFile,
|
||||
"ssl_client_cert", => ast::MuttrcConfigurationValues::SslClientCert,
|
||||
"ssl_force_tls", => ast::MuttrcConfigurationValues::SslForceTls,
|
||||
"ssl_min_dh_prime_bits", => ast::MuttrcConfigurationValues::SslMinDhPrimeBits,
|
||||
"ssl_starttls", => ast::MuttrcConfigurationValues::SslStarttls,
|
||||
"ssl_use_sslv3", => ast::MuttrcConfigurationValues::SslUseSslv3,
|
||||
"ssl_use_tlsv1", => ast::MuttrcConfigurationValues::SslUseTlsv1,
|
||||
"ssl_verify_dates", => ast::MuttrcConfigurationValues::SslVerifyDates,
|
||||
"ssl_verify_host", => ast::MuttrcConfigurationValues::SslVerifyHost,
|
||||
"status_chars", => ast::MuttrcConfigurationValues::StatusChars,
|
||||
"status_format", => ast::MuttrcConfigurationValues::StatusFormat,
|
||||
"status_on_top", => ast::MuttrcConfigurationValues::StatusOnTop,
|
||||
"strict_threads", => ast::MuttrcConfigurationValues::StrictThreads,
|
||||
"suspend", => ast::MuttrcConfigurationValues::Suspend,
|
||||
"text_flowed", => ast::MuttrcConfigurationValues::TextFlowed,
|
||||
"thorough_search", => ast::MuttrcConfigurationValues::ThoroughSearch,
|
||||
"thread_received", => ast::MuttrcConfigurationValues::ThreadReceived,
|
||||
"tilde", => ast::MuttrcConfigurationValues::Tilde,
|
||||
"time_inc", => ast::MuttrcConfigurationValues::TimeInc,
|
||||
"timeout", => ast::MuttrcConfigurationValues::Timeout,
|
||||
"tmpdir", => ast::MuttrcConfigurationValues::Tmpdir,
|
||||
"to_chars", => ast::MuttrcConfigurationValues::ToChars,
|
||||
"tunnel", => ast::MuttrcConfigurationValues::Tunnel,
|
||||
"uncollapse_jump", => ast::MuttrcConfigurationValues::UncollapseJump,
|
||||
"use8bitmime", => ast::MuttrcConfigurationValues::Use8bitmime,
|
||||
"use_domain", => ast::MuttrcConfigurationValues::UseDomain,
|
||||
"use_envelope_from", => ast::MuttrcConfigurationValues::UseEnvelopeFrom,
|
||||
"use_from", => ast::MuttrcConfigurationValues::UseFrom,
|
||||
"use_idn", => ast::MuttrcConfigurationValues::UseIdn,
|
||||
"use_ipv6", => ast::MuttrcConfigurationValues::UseIpv6,
|
||||
"user_agent", => ast::MuttrcConfigurationValues::UserAgent,
|
||||
"visual", => ast::MuttrcConfigurationValues::Visual,
|
||||
"wait_key", => ast::MuttrcConfigurationValues::WaitKey,
|
||||
"weed", => ast::MuttrcConfigurationValues::Weed,
|
||||
"wrap", => ast::MuttrcConfigurationValues::Wrap,
|
||||
"wrap_headers", => ast::MuttrcConfigurationValues::WrapHeaders,
|
||||
"wrap_search", => ast::MuttrcConfigurationValues::WrapSearch,
|
||||
"wrapmargin", => ast::MuttrcConfigurationValues::Wrapmargin,
|
||||
"write_bcc", => ast::MuttrcConfigurationValues::WriteBcc,
|
||||
"write_inc", => ast::MuttrcConfigurationValues::WriteInc,
|
||||
}
|
||||
|
||||
extern {
|
||||
type Location = usize;
|
||||
type Error = lexer::LexicalError;
|
||||
|
||||
enum lexer::Tok {
|
||||
" " => lexer::Tok::Space,
|
||||
"\t" => lexer::Tok::Tab,
|
||||
"\n" => lexer::Tok::Linefeed,
|
||||
"abort_nosubject" => lexer::Tok::Value,
|
||||
"abort_unmodified" => lexer::Tok::Value,
|
||||
"alias_file" => lexer::Tok::Value,
|
||||
"alias_format" => lexer::Tok::Value,
|
||||
"allow8bit" => lexer::Tok::Value,
|
||||
"allow_ansi" => lexer::Tok::Value,
|
||||
"arrow_cursor" => lexer::Tok::Value,
|
||||
"ascii_chars" => lexer::Tok::Value,
|
||||
"askbcc" => lexer::Tok::Value,
|
||||
"askcc" => lexer::Tok::Value,
|
||||
"assumed_charset" => lexer::Tok::Value,
|
||||
"attach_charset" => lexer::Tok::Value,
|
||||
"attach_format" => lexer::Tok::Value,
|
||||
"attach_sep" => lexer::Tok::Value,
|
||||
"attach_split" => lexer::Tok::Value,
|
||||
"attribution" => lexer::Tok::Value,
|
||||
"auto_tag" => lexer::Tok::Value,
|
||||
"autoedit" => lexer::Tok::Value,
|
||||
"beep" => lexer::Tok::Value,
|
||||
"beep_new" => lexer::Tok::Value,
|
||||
"bounce" => lexer::Tok::Value,
|
||||
"bounce_delivered" => lexer::Tok::Value,
|
||||
"braille_friendly" => lexer::Tok::Value,
|
||||
"certificate_file" => lexer::Tok::Value,
|
||||
"charset" => lexer::Tok::Value,
|
||||
"check_mbox_size" => lexer::Tok::Value,
|
||||
"check_new" => lexer::Tok::Value,
|
||||
"collapse_unread" => lexer::Tok::Value,
|
||||
"compose_format" => lexer::Tok::Value,
|
||||
"config_charset" => lexer::Tok::Value,
|
||||
"confirm_append" => lexer::Tok::Value,
|
||||
"confirm_create" => lexer::Tok::Value,
|
||||
"connect_timeout" => lexer::Tok::Value,
|
||||
"content_type" => lexer::Tok::Value,
|
||||
"copy" => lexer::Tok::Value,
|
||||
"crypt_autoencrypt" => lexer::Tok::Value,
|
||||
"crypt_autopgp" => lexer::Tok::Value,
|
||||
"crypt_autosign" => lexer::Tok::Value,
|
||||
"crypt_autosmime" => lexer::Tok::Value,
|
||||
"crypt_replyencrypt" => lexer::Tok::Value,
|
||||
"crypt_replysign" => lexer::Tok::Value,
|
||||
"crypt_replysignencrypted" => lexer::Tok::Value,
|
||||
"crypt_timestamp" => lexer::Tok::Value,
|
||||
"cryptuse_gpgme" => lexer::Tok::Value,
|
||||
"cryptuse_pka" => lexer::Tok::Value,
|
||||
"cryptverify_sig" => lexer::Tok::Value,
|
||||
"date_format" => lexer::Tok::Value,
|
||||
"default_hook" => lexer::Tok::Value,
|
||||
"delete" => lexer::Tok::Value,
|
||||
"delete_untag" => lexer::Tok::Value,
|
||||
"digest_collapse" => lexer::Tok::Value,
|
||||
"display_filter" => lexer::Tok::Value,
|
||||
"dsn_notify" => lexer::Tok::Value,
|
||||
"dsn_return" => lexer::Tok::Value,
|
||||
"duplicate_threads" => lexer::Tok::Value,
|
||||
"edit_headers" => lexer::Tok::Value,
|
||||
"editor" => lexer::Tok::Value,
|
||||
"encode_from" => lexer::Tok::Value,
|
||||
"envelope_from_address" => lexer::Tok::Value,
|
||||
"escape" => lexer::Tok::Value,
|
||||
"fast_reply" => lexer::Tok::Value,
|
||||
"fcc_attach" => lexer::Tok::Value,
|
||||
"fcc_clear" => lexer::Tok::Value,
|
||||
"folder" => lexer::Tok::Value,
|
||||
"folder_format" => lexer::Tok::Value,
|
||||
"followup_to" => lexer::Tok::Value,
|
||||
"force_name" => lexer::Tok::Value,
|
||||
"forward_decode" => lexer::Tok::Value,
|
||||
"forward_decrypt" => lexer::Tok::Value,
|
||||
"forward_edit" => lexer::Tok::Value,
|
||||
"forward_format" => lexer::Tok::Value,
|
||||
"forward_quote" => lexer::Tok::Value,
|
||||
"from" => lexer::Tok::Value,
|
||||
"gecos_mask" => lexer::Tok::Value,
|
||||
"hdrs" => lexer::Tok::Value,
|
||||
"header" => lexer::Tok::Value,
|
||||
"header_cache" => lexer::Tok::Value,
|
||||
"header_cache_compress" => lexer::Tok::Value,
|
||||
"help" => lexer::Tok::Value,
|
||||
"hidden_host" => lexer::Tok::Value,
|
||||
"hide_limited" => lexer::Tok::Value,
|
||||
"hide_missing" => lexer::Tok::Value,
|
||||
"hide_thread_subject" => lexer::Tok::Value,
|
||||
"hide_top_limited" => lexer::Tok::Value,
|
||||
"hide_top_missing" => lexer::Tok::Value,
|
||||
"history" => lexer::Tok::Value,
|
||||
"history_file" => lexer::Tok::Value,
|
||||
"honor_disposition" => lexer::Tok::Value,
|
||||
"honor_followup_to" => lexer::Tok::Value,
|
||||
"hostname" => lexer::Tok::Value,
|
||||
"ignore_linear_white_space" => lexer::Tok::Value,
|
||||
"ignore_list_reply_to" => lexer::Tok::Value,
|
||||
"imap_authenticators" => lexer::Tok::Value,
|
||||
"imap_check_subscribed" => lexer::Tok::Value,
|
||||
"imap_delim_chars" => lexer::Tok::Value,
|
||||
"imap_headers" => lexer::Tok::Value,
|
||||
"imap_idle" => lexer::Tok::Value,
|
||||
"imap_keepalive" => lexer::Tok::Value,
|
||||
"imap_list_subscribed" => lexer::Tok::Value,
|
||||
"imap_login" => lexer::Tok::Value,
|
||||
"imap_pass" => lexer::Tok::Value,
|
||||
"imap_passive" => lexer::Tok::Value,
|
||||
"imap_peek" => lexer::Tok::Value,
|
||||
"imap_pipeline_depth" => lexer::Tok::Value,
|
||||
"imap_servernoise" => lexer::Tok::Value,
|
||||
"imap_user" => lexer::Tok::Value,
|
||||
"implicit_autoview" => lexer::Tok::Value,
|
||||
"include" => lexer::Tok::Value,
|
||||
"include_onlyfirst" => lexer::Tok::Value,
|
||||
"indent_string" => lexer::Tok::Value,
|
||||
"index_format" => lexer::Tok::Value,
|
||||
"ispell" => lexer::Tok::Value,
|
||||
"keep_flagged" => lexer::Tok::Value,
|
||||
"locale" => lexer::Tok::Value,
|
||||
"mail_check" => lexer::Tok::Value,
|
||||
"mailcap_path" => lexer::Tok::Value,
|
||||
"mailcap_sanitize" => lexer::Tok::Value,
|
||||
"maildir_header_cache_verify" => lexer::Tok::Value,
|
||||
"maildir_trash" => lexer::Tok::Value,
|
||||
"mark_old" => lexer::Tok::Value,
|
||||
"markers" => lexer::Tok::Value,
|
||||
"mask" => lexer::Tok::Value,
|
||||
"mbox" => lexer::Tok::Value,
|
||||
"mbox_type" => lexer::Tok::Value,
|
||||
"menu_context" => lexer::Tok::Value,
|
||||
"menu_move_off" => lexer::Tok::Value,
|
||||
"menu_scroll" => lexer::Tok::Value,
|
||||
"message_cache_clean" => lexer::Tok::Value,
|
||||
"message_cachedir" => lexer::Tok::Value,
|
||||
"message_format" => lexer::Tok::Value,
|
||||
"meta_key" => lexer::Tok::Value,
|
||||
"metoo" => lexer::Tok::Value,
|
||||
"mh_purge" => lexer::Tok::Value,
|
||||
"mh_seq_flagged" => lexer::Tok::Value,
|
||||
"mh_seq_replied" => lexer::Tok::Value,
|
||||
"mh_seq_unseen" => lexer::Tok::Value,
|
||||
"mime_forward" => lexer::Tok::Value,
|
||||
"mime_forward_decode" => lexer::Tok::Value,
|
||||
"mime_forward_rest" => lexer::Tok::Value,
|
||||
"move" => lexer::Tok::Value,
|
||||
"narrow_tree" => lexer::Tok::Value,
|
||||
"net_inc" => lexer::Tok::Value,
|
||||
"pager" => lexer::Tok::Value,
|
||||
"pager_context" => lexer::Tok::Value,
|
||||
"pager_format" => lexer::Tok::Value,
|
||||
"pager_index_lines" => lexer::Tok::Value,
|
||||
"pager_stop" => lexer::Tok::Value,
|
||||
"pgp_auto_decode" => lexer::Tok::Value,
|
||||
"pgp_autoinline" => lexer::Tok::Value,
|
||||
"pgp_check_exit" => lexer::Tok::Value,
|
||||
"pgp_clearsign_command" => lexer::Tok::Value,
|
||||
"pgp_decode_command" => lexer::Tok::Value,
|
||||
"pgp_decrypt_command" => lexer::Tok::Value,
|
||||
"pgp_encrypt_only_command" => lexer::Tok::Value,
|
||||
"pgp_encrypt_sign_command" => lexer::Tok::Value,
|
||||
"pgp_entry_format" => lexer::Tok::Value,
|
||||
"pgp_export_command" => lexer::Tok::Value,
|
||||
"pgp_getkeys_command" => lexer::Tok::Value,
|
||||
"pgp_good_sign" => lexer::Tok::Value,
|
||||
"pgp_ignore_subkeys" => lexer::Tok::Value,
|
||||
"pgp_import_command" => lexer::Tok::Value,
|
||||
"pgp_list_pubring_command" => lexer::Tok::Value,
|
||||
"pgp_list_secring_command" => lexer::Tok::Value,
|
||||
"pgp_long_ids" => lexer::Tok::Value,
|
||||
"pgp_mime_auto" => lexer::Tok::Value,
|
||||
"pgp_replyinline" => lexer::Tok::Value,
|
||||
"pgp_retainable_sigs" => lexer::Tok::Value,
|
||||
"pgp_show_unusable" => lexer::Tok::Value,
|
||||
"pgp_sign_as" => lexer::Tok::Value,
|
||||
"pgp_sign_command" => lexer::Tok::Value,
|
||||
"pgp_sort_keys" => lexer::Tok::Value,
|
||||
"pgp_strict_enc" => lexer::Tok::Value,
|
||||
"pgp_timeout" => lexer::Tok::Value,
|
||||
"pgp_use_gpg_agent" => lexer::Tok::Value,
|
||||
"pgp_verify_command" => lexer::Tok::Value,
|
||||
"pgp_verify_key_command" => lexer::Tok::Value,
|
||||
"pipe_decode" => lexer::Tok::Value,
|
||||
"pipe_sep" => lexer::Tok::Value,
|
||||
"pipe_split" => lexer::Tok::Value,
|
||||
"pop_auth_try_all" => lexer::Tok::Value,
|
||||
"pop_authenticators" => lexer::Tok::Value,
|
||||
"pop_checkinterval" => lexer::Tok::Value,
|
||||
"pop_delete" => lexer::Tok::Value,
|
||||
"pop_host" => lexer::Tok::Value,
|
||||
"pop_last" => lexer::Tok::Value,
|
||||
"pop_pass" => lexer::Tok::Value,
|
||||
"pop_reconnect" => lexer::Tok::Value,
|
||||
"pop_user" => lexer::Tok::Value,
|
||||
"post_indent_string" => lexer::Tok::Value,
|
||||
"postpone" => lexer::Tok::Value,
|
||||
"postponed" => lexer::Tok::Value,
|
||||
"preconnect" => lexer::Tok::Value,
|
||||
"print" => lexer::Tok::Value,
|
||||
"print_command" => lexer::Tok::Value,
|
||||
"print_decode" => lexer::Tok::Value,
|
||||
"print_split" => lexer::Tok::Value,
|
||||
"prompt_after" => lexer::Tok::Value,
|
||||
"query_command" => lexer::Tok::Value,
|
||||
"query_format" => lexer::Tok::Value,
|
||||
"quit" => lexer::Tok::Value,
|
||||
"quote_regexp" => lexer::Tok::Value,
|
||||
"read_inc" => lexer::Tok::Value,
|
||||
"read_only" => lexer::Tok::Value,
|
||||
"realname" => lexer::Tok::Value,
|
||||
"recall" => lexer::Tok::Value,
|
||||
"record" => lexer::Tok::Value,
|
||||
"reply_regexp" => lexer::Tok::Value,
|
||||
"reply_self" => lexer::Tok::Value,
|
||||
"reply_to" => lexer::Tok::Value,
|
||||
"resolve" => lexer::Tok::Value,
|
||||
"reverse_alias" => lexer::Tok::Value,
|
||||
"reverse_name" => lexer::Tok::Value,
|
||||
"reverse_realname" => lexer::Tok::Value,
|
||||
"rfc2047_parameters" => lexer::Tok::Value,
|
||||
"save_address" => lexer::Tok::Value,
|
||||
"save_empty" => lexer::Tok::Value,
|
||||
"save_history" => lexer::Tok::Value,
|
||||
"save_name" => lexer::Tok::Value,
|
||||
"score" => lexer::Tok::Value,
|
||||
"score_threshold_delete" => lexer::Tok::Value,
|
||||
"score_threshold_flag" => lexer::Tok::Value,
|
||||
"score_threshold_read" => lexer::Tok::Value,
|
||||
"search_context" => lexer::Tok::Value,
|
||||
"send_charset" => lexer::Tok::Value,
|
||||
"sendmail" => lexer::Tok::Value,
|
||||
"sendmail_wait" => lexer::Tok::Value,
|
||||
"shell" => lexer::Tok::Value,
|
||||
"sig_dashes" => lexer::Tok::Value,
|
||||
"sig_on_top" => lexer::Tok::Value,
|
||||
"signature" => lexer::Tok::Value,
|
||||
"simple_search" => lexer::Tok::Value,
|
||||
"sleep_time" => lexer::Tok::Value,
|
||||
"smart_wrap" => lexer::Tok::Value,
|
||||
"smileys" => lexer::Tok::Value,
|
||||
"smime_ask_cert_label" => lexer::Tok::Value,
|
||||
"smime_ca_location" => lexer::Tok::Value,
|
||||
"smime_certificates" => lexer::Tok::Value,
|
||||
"smime_decrypt_command" => lexer::Tok::Value,
|
||||
"smime_decrypt_use_default_key" => lexer::Tok::Value,
|
||||
"smime_default_key" => lexer::Tok::Value,
|
||||
"smime_encrypt_command" => lexer::Tok::Value,
|
||||
"smime_encrypt_with" => lexer::Tok::Value,
|
||||
"smime_get_cert_command" => lexer::Tok::Value,
|
||||
"smime_get_cert_email_command" => lexer::Tok::Value,
|
||||
"smime_get_signer_cert_command" => lexer::Tok::Value,
|
||||
"smime_import_cert_command" => lexer::Tok::Value,
|
||||
"smime_is_default" => lexer::Tok::Value,
|
||||
"smime_keys" => lexer::Tok::Value,
|
||||
"smimepk7out_command" => lexer::Tok::Value,
|
||||
"smime_sign_command" => lexer::Tok::Value,
|
||||
"smime_sign_opaque_command" => lexer::Tok::Value,
|
||||
"smime_timeout" => lexer::Tok::Value,
|
||||
"smime_verify_command" => lexer::Tok::Value,
|
||||
"smime_verify_opaque_command" => lexer::Tok::Value,
|
||||
"smtp_authenticators" => lexer::Tok::Value,
|
||||
"smtp_pass" => lexer::Tok::Value,
|
||||
"smtp_url" => lexer::Tok::Value,
|
||||
"sort" => lexer::Tok::Value,
|
||||
"sort_alias" => lexer::Tok::Value,
|
||||
"sort_aux" => lexer::Tok::Value,
|
||||
"sort_browser" => lexer::Tok::Value,
|
||||
"sort_re" => lexer::Tok::Value,
|
||||
"spam_separator" => lexer::Tok::Value,
|
||||
"spoolfile" => lexer::Tok::Value,
|
||||
"ssl_ca_certificates_file" => lexer::Tok::Value,
|
||||
"ssl_client_cert" => lexer::Tok::Value,
|
||||
"ssl_force_tls" => lexer::Tok::Value,
|
||||
"ssl_min_dh_prime_bits" => lexer::Tok::Value,
|
||||
"ssl_starttls" => lexer::Tok::Value,
|
||||
"ssl_use_sslv3" => lexer::Tok::Value,
|
||||
"ssl_use_tlsv1" => lexer::Tok::Value,
|
||||
"ssl_verify_dates" => lexer::Tok::Value,
|
||||
"ssl_verify_host" => lexer::Tok::Value,
|
||||
"status_chars" => lexer::Tok::Value,
|
||||
"status_format" => lexer::Tok::Value,
|
||||
"status_on_top" => lexer::Tok::Value,
|
||||
"strict_threads" => lexer::Tok::Value,
|
||||
"suspend" => lexer::Tok::Value,
|
||||
"text_flowed" => lexer::Tok::Value,
|
||||
"thorough_search" => lexer::Tok::Value,
|
||||
"thread_received" => lexer::Tok::Value,
|
||||
"tilde" => lexer::Tok::Value,
|
||||
"time_inc" => lexer::Tok::Value,
|
||||
"timeout" => lexer::Tok::Value,
|
||||
"tmpdir" => lexer::Tok::Value,
|
||||
"to_chars" => lexer::Tok::Value,
|
||||
"tunnel" => lexer::Tok::Value,
|
||||
"uncollapse_jump" => lexer::Tok::Value,
|
||||
"use8bitmime" => lexer::Tok::Value,
|
||||
"use_domain" => lexer::Tok::Value,
|
||||
"use_envelope_from" => lexer::Tok::Value,
|
||||
"use_from" => lexer::Tok::Value,
|
||||
"use_idn" => lexer::Tok::Value,
|
||||
"use_ipv6" => lexer::Tok::Value,
|
||||
"user_agent" => lexer::Tok::Value,
|
||||
"visual" => lexer::Tok::Value,
|
||||
"wait_key" => lexer::Tok::Value,
|
||||
"weed" => lexer::Tok::Value,
|
||||
"wrap" => lexer::Tok::Value,
|
||||
"wrap_headers" => lexer::Tok::Value,
|
||||
"wrap_search" => lexer::Tok::Value,
|
||||
"wrapmargin" => lexer::Tok::Value,
|
||||
"write_bcc" => lexer::Tok::Value,
|
||||
"write_inc" => lexer::Tok::Value,
|
||||
"alias" => lexer::Tok::Value,
|
||||
"unalias" => lexer::Tok::Value,
|
||||
"group" => lexer::Tok::Value,
|
||||
"ungroup" => lexer::Tok::Value,
|
||||
"alternates" => lexer::Tok::Value,
|
||||
"unalternates" => lexer::Tok::Value,
|
||||
"alternative_order" => lexer::Tok::Value,
|
||||
"unalternative_order" => lexer::Tok::Value,
|
||||
"auto_view" => lexer::Tok::Value,
|
||||
"unauto_view" => lexer::Tok::Value,
|
||||
"mime_lookup" => lexer::Tok::Value,
|
||||
"unmime_lookup" => lexer::Tok::Value,
|
||||
"color" => lexer::Tok::Value,
|
||||
"uncolor" => lexer::Tok::Value,
|
||||
"mono" => lexer::Tok::Value,
|
||||
"lists" => lexer::Tok::Value,
|
||||
"unlists" => lexer::Tok::Value,
|
||||
"subscribe" => lexer::Tok::Value,
|
||||
"unsubscribe" => lexer::Tok::Value,
|
||||
"mailboxes" => lexer::Tok::Value,
|
||||
"unmailboxes" => lexer::Tok::Value,
|
||||
"my_hdr" => lexer::Tok::Value,
|
||||
"unmy_hdr" => lexer::Tok::Value,
|
||||
"hdr_order" => lexer::Tok::Value,
|
||||
"save_hook" => lexer::Tok::Value,
|
||||
"fcc_hook" => lexer::Tok::Value,
|
||||
"fcc_save_hook" => lexer::Tok::Value,
|
||||
"send_hook" => lexer::Tok::Value,
|
||||
"send2_hook" => lexer::Tok::Value,
|
||||
"reply_hook" => lexer::Tok::Value,
|
||||
"crypt_hook" => lexer::Tok::Value,
|
||||
"push" => lexer::Tok::Value,
|
||||
"set" => lexer::Tok::Value,
|
||||
"toggle" => lexer::Tok::Value,
|
||||
"unset" => lexer::Tok::Value,
|
||||
"reset" => lexer::Tok::Value,
|
||||
"source" => lexer::Tok::Value,
|
||||
"spam" => lexer::Tok::Value,
|
||||
"nospam" => lexer::Tok::Value,
|
||||
"unhook" => lexer::Tok::Value,
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue