-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathneomutt2.lua
More file actions
35 lines (25 loc) · 780 Bytes
/
neomutt2.lua
File metadata and controls
35 lines (25 loc) · 780 Bytes
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
local inspect = require("inspect/inspect")
local n = neomutt
print(inspect(config))
-- print(config.sidebar_width)
-- do return end
print(os.date("%Y-%m-%d %H:%M:%S"))
log(LOG_DEBUG, "NeoMutt:")
log(LOG_DEBUG, inspect(neomutt))
log(LOG_DEBUG, "")
log(LOG_DEBUG, "Config:")
log(LOG_DEBUG, inspect(config))
log(LOG_DEBUG, "")
log(LOG_DEBUG, "wrap = %s", config.wrap)
log(LOG_DEBUG, "wrap = %s", config["wrap"])
config.status_format = "cavendish"
config["status_format"] = "cavendish"
config.status_format = 42
log(LOG_DEBUG, "status_format = %s", config.status_format)
index = gui:get_focus()
log(LOG_DEBUG, "Index:")
log(LOG_DEBUG, inspect(index))
log(LOG_DEBUG, "")
log(LOG_DEBUG, "before")
log(LOG_DEBUG, "index = %s", index.previous_undeleted)
log(LOG_DEBUG, "after")