summaryrefslogtreecommitdiff
path: root/docs/source/configuration/alotrc_table
blob: c2a04618e97c00da4f30756469fdcef830e258c9 (plain)
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
.. CAUTION: THIS FILE IS AUTO-GENERATED
    from the inline comments of specfile defaults/alot.rc.spec.

    If you want to change its content make your changes
    to that spec to ensure they woun't be overwritten later.

.. _ask-subject:

.. describe:: ask_subject


    :type: boolean
    :default: True


.. _attachment-prefix:

.. describe:: attachment_prefix

     directory prefix for downloading attachments

    :type: string
    :default: "~"


.. _auto-remove-unread:

.. describe:: auto_remove_unread

     automatically remove 'unread' tag when focussing messages in thread mode

    :type: boolean
    :default: True


.. _auto-replyto-mailinglist:

.. describe:: auto_replyto_mailinglist

     Automatically switch to list reply mode if appropriate

    :type: boolean
    :default: False


.. _bounce-force-address:

.. describe:: bounce_force_address

     Always use the accounts main address when constructing "Resent-From" headers for bounces.
     Set this to False to use the address string as received in the original message.

    :type: boolean
    :default: False


.. _bounce-force-realname:

.. describe:: bounce_force_realname

     Always use the proper realname when constructing "Resent-From" headers for bounces.
     Set this to False to use the realname string as received in the original message.

    :type: boolean
    :default: True


.. _bufferclose-focus-offset:

.. describe:: bufferclose_focus_offset

     offset of next focused buffer if the current one gets closed

    :type: integer
    :default: -1


.. _bufferlist-statusbar:

.. describe:: bufferlist_statusbar

     Format of the status-bar in bufferlist mode.
     This is a pair of strings to be left and right aligned in the status-bar that may contain variables:

     * `{buffer_no}`: index of this buffer in the global buffer list
     * `{total_messages}`: total numer of messages indexed by notmuch
     * `{pending_writes}`: number of pending write operations to the index

    :type: mixed_list
    :default: [{buffer_no}: bufferlist], {input_queue} total messages: {total_messages}


.. _bug-on-exit:

.. describe:: bug_on_exit

     confirm exit

    :type: boolean
    :default: False


.. _colourmode:

.. describe:: colourmode

     number of colours to use on the terminal

    :type: option, one of ['1', '16', '256']
    :default: 256


.. _complete-matching-abook-only:

.. describe:: complete_matching_abook_only

     in case more than one account has an address book:
     Set this to True to make tab completion for recipients during compose only
     look in the abook of the account matching the sender address

    :type: boolean
    :default: False


.. _compose-ask-tags:

.. describe:: compose_ask_tags

     prompt for initial tags when compose

    :type: boolean
    :default: False


.. _displayed-headers:

.. describe:: displayed_headers

     headers that get displayed by default

    :type: string list
    :default: From, To, Cc, Bcc, Subject


.. _edit-headers-blacklist:

.. describe:: edit_headers_blacklist

     see :ref:`edit_headers_whitelist <edit-headers-whitelist>`

    :type: string list
    :default: Content-Type, MIME-Version, References, In-Reply-To


.. _edit-headers-whitelist:

.. describe:: edit_headers_whitelist

     Which header fields should be editable in your editor
     used are those that match the whitelist and don't match the blacklist.
     in both cases '*' may be used to indicate all fields.

    :type: string list
    :default: \*,


.. _editor-cmd:

.. describe:: editor_cmd

     editor command
     if unset, alot will first try the :envvar:`EDITOR` env variable, then :file:`/usr/bin/editor`

    :type: string
    :default: None


.. _editor-in-thread:

.. describe:: editor_in_thread

     call editor in separate thread.
     In case your editor doesn't run in the same window as alot, setting true here
     will make alot non-blocking during edits

    :type: boolean
    :default: False


.. _editor-spawn:

.. describe:: editor_spawn

     use :ref:`terminal_cmd <terminal-cmd>` to spawn a new terminal for the editor?
     equivalent to always providing the `--spawn=yes` parameter to compose/edit commands

    :type: boolean
    :default: False


.. _editor-writes-encoding:

.. describe:: editor_writes_encoding

     file encoding used by your editor

    :type: string
    :default: "UTF-8"


.. _envelope-headers-blacklist:

.. describe:: envelope_headers_blacklist

     headers that are hidden in envelope buffers by default

    :type: string list
    :default: In-Reply-To, References


.. _envelope-statusbar:

.. describe:: envelope_statusbar

     Format of the status-bar in envelope mode.
     This is a pair of strings to be left and right aligned in the status-bar.
     Apart from the global variables listed at :ref:`bufferlist_statusbar <bufferlist-statusbar>`
     these strings may contain variables:

     * `{to}`: To-header of the envelope

    :type: mixed_list
    :default: [{buffer_no}: envelope], {input_queue} total messages: {total_messages}


.. _exclude-tags:

.. describe:: exclude_tags

     A list of tags that will be excluded from search results by default. Using an excluded tag in a query will override that exclusion.
     .. note:: this config setting is equivalent to, but independent of, the 'search.exclude_tags' in the notmuch config.

    :type: string list
    :default: ,


.. _flush-retry-timeout:

.. describe:: flush_retry_timeout

     timeout in seconds after a failed attempt to writeout the database is
     repeated. Set to 0 for no retry.

    :type: integer
    :default: 5


.. _followup-to:

.. describe:: followup_to

     When one of the recipients of an email is a subscribed mailing list, set the
     "Mail-Followup-To" header to the list of recipients without yourself

    :type: boolean
    :default: False


.. _forward-force-address:

.. describe:: forward_force_address

     Always use the accounts main address when constructing "From" headers for forwards.
     Set this to False to use the address string as received in the original message.

    :type: boolean
    :default: False


.. _forward-force-realname:

.. describe:: forward_force_realname

     Always use the proper realname when constructing "From" headers for forwards.
     Set this to False to use the realname string as received in the original message.

    :type: boolean
    :default: True


.. _forward-subject-prefix:

.. describe:: forward_subject_prefix

     String prepended to subject header on forward
     only if original subject doesn't start with 'Fwd:' or this prefix

    :type: string
    :default: "Fwd: "


.. _handle-mouse:

.. describe:: handle_mouse

     enable mouse support - mouse tracking will be handled by urwid

     .. note:: If this is set to True mouse events are passed from the terminal
               to urwid/alot.  This means that normal text selection in alot will
               not be possible.  Most terminal emulators will still allow you to
               select text when shift is pressed.

    :type: boolean
    :default: False


.. _history-size:

.. describe:: history_size

     The number of command line history entries to save

     .. note:: You can set this to -1 to save *all* entries to disk but the
               history file might get *very* long.

    :type: integer
    :default: 50


.. _honor-followup-to:

.. describe:: honor_followup_to

     When group-reply-ing to an email that has the "Mail-Followup-To" header set,
     use the content of this header as the new "To" header and leave the "Cc"
     header empty

    :type: boolean
    :default: False


.. _hooksfile:

.. describe:: hooksfile

     where to look up hooks

    :type: string
    :default: "~/.config/alot/hooks.py"


.. _initial-command:

.. describe:: initial_command

     initial command when none is given as argument:

    :type: string
    :default: "search tag:inbox AND NOT tag:killed"


.. _input-timeout:

.. describe:: input_timeout

     timeout in (floating point) seconds until partial input is cleared

    :type: float
    :default: 1.0


.. _mailinglists:

.. describe:: mailinglists

     The list of addresses associated to the mailinglists you are subscribed to

    :type: string list
    :default: ,


.. _message-id-domain:

.. describe:: message_id_domain

     Domain to use in automatically generated Message-ID headers.
     The default is the local hostname.

    :type: string
    :default: None


.. _msg-summary-hides-threadwide-tags:

.. describe:: msg_summary_hides_threadwide_tags

     In a thread buffer, hide from messages summaries tags that are commom to all
     messages in that thread.

    :type: boolean
    :default: True


.. _namedqueries-statusbar:

.. describe:: namedqueries_statusbar

     Format of the status-bar in named query list mode.
     This is a pair of strings to be left and right aligned in the status-bar.
     These strings may contain variables listed at :ref:`bufferlist_statusbar <bufferlist-statusbar>`
     that will be substituted accordingly.

    :type: mixed_list
    :default: [{buffer_no}: namedqueries], {query_count} named queries


.. _notify-timeout:

.. describe:: notify_timeout

     time in secs to display status messages

    :type: integer
    :default: 2


.. _periodic-hook-frequency:

.. describe:: periodic_hook_frequency

     The number of seconds to wait between calls to the loop_hook

    :type: integer
    :default: 300


.. _prefer-plaintext:

.. describe:: prefer_plaintext

     prefer plaintext alternatives over html content in multipart/alternative

    :type: boolean
    :default: False


.. _print-cmd:

.. describe:: print_cmd

     how to print messages:
     this specifies a shell command used for printing.
     threads/messages are piped to this command as plain text.
     muttprint/a2ps works nicely

    :type: string
    :default: None


.. _prompt-suffix:

.. describe:: prompt_suffix

     Suffix of the prompt used when waiting for user input

    :type: string
    :default: ":"


.. _quit-on-last-bclose:

.. describe:: quit_on_last_bclose

     shut down when the last buffer gets closed

    :type: boolean
    :default: False


.. _quote-prefix:

.. describe:: quote_prefix

     String prepended to line when quoting

    :type: string
    :default: "> "


.. _reply-account-header-priority:

.. describe:: reply_account_header_priority

     The list of headers to match to determine sending account for a reply.
     Headers are searched in the order in which they are specified here, and the first header
     containing a match is used. If multiple accounts match in that header, the one defined
     first in the account block is used.

    :type: string list
    :default: From, To, Cc, Envelope-To, X-Envelope-To, Delivered-To


.. _reply-force-address:

.. describe:: reply_force_address

     Always use the accounts main address when constructing "From" headers for replies.
     Set this to False to use the address string as received in the original message.

    :type: boolean
    :default: False


.. _reply-force-realname:

.. describe:: reply_force_realname

     Always use the proper realname when constructing "From" headers for replies.
     Set this to False to use the realname string as received in the original message.

    :type: boolean
    :default: True


.. _reply-subject-prefix:

.. describe:: reply_subject_prefix

     String prepended to subject header on reply
     only if original subject doesn't start with 'Re:' or this prefix

    :type: string
    :default: "Re: "


.. _search-statusbar:

.. describe:: search_statusbar

     Format of the status-bar in search mode.
     This is a pair of strings to be left and right aligned in the status-bar.
     Apart from the global variables listed at :ref:`bufferlist_statusbar <bufferlist-statusbar>`
     these strings may contain variables:

     * `{querystring}`: search string
     * `{result_count}`: number of matching messages
     * `{result_count_positive}`: 's' if result count is greater than 0.

    :type: mixed_list
    :default: [{buffer_no}: search] for "{querystring}", {input_queue} {result_count} of {total_messages} messages


.. _search-threads-sort-order:

.. describe:: search_threads_sort_order

     default sort order of results in a search

    :type: option, one of ['oldest_first', 'newest_first', 'message_id', 'unsorted']
    :default: newest_first


.. _show-statusbar:

.. describe:: show_statusbar

     display status-bar at the bottom of the screen?

    :type: boolean
    :default: True


.. _tabwidth:

.. describe:: tabwidth

     number of spaces used to replace tab characters

    :type: integer
    :default: 8


.. _taglist-statusbar:

.. describe:: taglist_statusbar

     Format of the status-bar in taglist mode.
     This is a pair of strings to be left and right aligned in the status-bar.
     These strings may contain variables listed at :ref:`bufferlist_statusbar <bufferlist-statusbar>`
     that will be substituted accordingly.

    :type: mixed_list
    :default: [{buffer_no}: taglist], {input_queue} total messages: {total_messages}


.. _template-dir:

.. describe:: template_dir

     templates directory that contains your message templates.
     It will be used if you give `compose --template` a filename without a path prefix.

    :type: string
    :default: "$XDG_CONFIG_HOME/alot/templates"


.. _terminal-cmd:

.. describe:: terminal_cmd

     set terminal command used for spawning shell commands

    :type: string
    :default: "x-terminal-emulator -e"


.. _theme:

.. describe:: theme

     name of the theme to use

    :type: string
    :default: None


.. _themes-dir:

.. describe:: themes_dir

     directory containing theme files.

    :type: string
    :default: "$XDG_CONFIG_HOME/alot/themes"


.. _thread-authors-me:

.. describe:: thread_authors_me

     Word to replace own addresses with. Works in combination with
     :ref:`thread_authors_replace_me <thread-authors-replace-me>`

    :type: string
    :default: "Me"


.. _thread-authors-order-by:

.. describe:: thread_authors_order_by

     When constructing the unique list of thread authors, order by date of
     author's first or latest message in thread

    :type: option, one of ['first_message', 'latest_message']
    :default: first_message


.. _thread-authors-replace-me:

.. describe:: thread_authors_replace_me

     Replace own email addresses with "me" in author lists
     Uses own addresses and aliases in all configured accounts.

    :type: boolean
    :default: True


.. _thread-indent-replies:

.. describe:: thread_indent_replies

     number of characters used to indent replies relative to original messages in thread mode

    :type: integer
    :default: 2


.. _thread-statusbar:

.. describe:: thread_statusbar

     Format of the status-bar in thread mode.
     This is a pair of strings to be left and right aligned in the status-bar.
     Apart from the global variables listed at :ref:`bufferlist_statusbar <bufferlist-statusbar>`
     these strings may contain variables:

     * `{tid}`: thread id
     * `{subject}`: subject line of the thread
     * `{authors}`: abbreviated authors string for this thread
     * `{message_count}`: number of contained messages
     * `{thread_tags}`: displays all tags present in the current thread.
     * `{intersection_tags}`: displays tags common to all messages in the current thread.

    :type: mixed_list
    :default: [{buffer_no}: thread] {subject}, {input_queue} total messages: {total_messages}


.. _thread-subject:

.. describe:: thread_subject

     What should be considered to be "the thread subject".
     Valid values are:

     * 'notmuch' (the default), will use the thread subject from notmuch, which
       depends on the selected sorting method
     * 'oldest' will always use the subject of the oldest message in the thread as
       the thread subject

    :type: option, one of ['oldest', 'notmuch']
    :default: notmuch


.. _timestamp-format:

.. describe:: timestamp_format

     timestamp format in `strftime format syntax <http://docs.python.org/library/datetime.html#strftime-strptime-behavior>`_

    :type: string
    :default: None


.. _user-agent:

.. describe:: user_agent

     value of the User-Agent header used for outgoing mails.
     setting this to the empty string will cause alot to omit the header all together.
     The string '{version}' will be replaced by the version string of the running instance.

    :type: string
    :default: "alot/{version}"