-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig-command.txt
More file actions
130 lines (120 loc) · 4.69 KB
/
config-command.txt
File metadata and controls
130 lines (120 loc) · 4.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
distinguish between
DT_PATH => filesystem path
DT_MAILBOX => could be virtual
folder, record, spoolfile, trash
DT_COMMAND?
types to sort out
DT_PATH, DT_MAILBOX, DT_COMMAND
flags for expanding:
1) ~ ($HOME) or ~X (user X's home)
path only
done by mailbox
2) $X (env var)
done by neomutt
3) $x (config var)
done by neomutt
4) relative path
path only
done by mailbox
5) X| (shell expansion)
done by neomutt
6) %x (expando)
done by neomutt
7) `x` (external command)
done by neomutt
8) +X ([-+=@<>!^])
done by neomutt
- LastFolder
+ $folder
= $folder
!! LastFolder
! $spoolfile
< $record
> $mbox
@user Expand alias to user name
^ CurrentFolder
PATH
filesystem only
need to resolve ~/, ~X, $X, $x, relative path
evaluated when?
or at all? DON'T PROCESS
set path var, expand path before use - processes ~
expand env does $X
expand config does $x
expand expando does %x
what about "xyz|" ?
one function, 5 flags & sub functions
COMMAND
similar, don't expand relative, leave it to the shell
turn args into array/list?
what's most convenient to:
a) process args
b) pass to exec
MAILBOX
opaque folder name - may be delegated by mailbox to file functions
mxapi: probe, canon, pretty, equal?, exists?, parent, children
NEED expansion functions for ^, =/+, etc
handled by mailbox
all expanded just-in-time
6 MAILBOX folder, record, spoolfile, trash, postponed, mbox
all account-specific?
DT_PATH
alias_file AliasFile ~/.neomuttrc
certificate_file CertificateFile ~/.mutt_certificates
debug_file DebugFile ~/.neomuttdebug
entropy_file EntropyFile 0
header_cache HeaderCache 0
history_file HistoryFile ~/.mutthistory
message_cachedir MessageCachedir 0
newsrc Newsrc ~/.newsrc
news_cache_dir NewsCacheDir ~/.neomutt
signature Signature ~/.signature
smime_ca_location SmimeCaLocation 0
smime_certificates SmimeCertificates 0
smime_keys SmimeKeys 0
ssl_ca_certificates_file SslCaCertificatesFile 0
ssl_client_cert SslClientCert 0
tmpdir Tmpdir /tmp
DT_MAILBOX
folder Folder ~/Mail
record Record ~/sent
spoolfile Spoolfile 0
trash Trash 0
postponed Postponed ~/postponed
mbox Mbox ~/mbox
DT_COMMAND
display_filter DisplayFilter 0
editor Editor vi
inews Inews 0
ispell Ispell ISPELL
mime_type_query_command MimeTypeQueryCommand 0
new_mail_command NewMailCommand 0
pager Pager builtin
pgp_clearsign_command PgpClearsignCommand 0
pgp_decode_command PgpDecodeCommand 0
pgp_decrypt_command PgpDecryptCommand 0
pgp_encrypt_only_command PgpEncryptOnlyCommand 0
pgp_encrypt_sign_command PgpEncryptSignCommand 0
pgp_export_command PgpExportCommand 0
pgp_getkeys_command PgpGetkeysCommand 0
pgp_import_command PgpImportCommand 0
pgp_list_pubring_command PgpListPubringCommand 0
pgp_list_secring_command PgpListSecringCommand 0
pgp_sign_command PgpSignCommand 0
pgp_verify_command PgpVerifyCommand 0
pgp_verify_key_command PgpVerifyKeyCommand 0
print_command PrintCommand lpr
query_command QueryCommand 0
sendmail Sendmail SENDMAIL -oem -oi
shell Shell /bin/sh
smime_decrypt_command SmimeDecryptCommand 0
smime_encrypt_command SmimeEncryptCommand 0
smime_get_cert_command SmimeGetCertCommand 0
smime_get_cert_email_command SmimeGetCertEmailCommand 0
smime_get_signer_cert_command SmimeGetSignerCertCommand 0
smime_import_cert_command SmimeImportCertCommand 0
smime_pk7out_command SmimePk7outCommand 0
smime_sign_command SmimeSignCommand 0
smime_verify_command SmimeVerifyCommand 0
smime_verify_opaque_command SmimeVerifyOpaqueCommand 0
visual Visual vi