From b9e6b282cf09fd3dd7e5dab7ddce6727f32adb20 Mon Sep 17 00:00:00 2001 From: "Kirill A. Korinsky" Date: Sun, 14 Jan 2024 14:13:17 +0100 Subject: [PATCH] fix(wanderlust): avoid `File name too long...` --- modules/email/wanderlust/config.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/email/wanderlust/config.el b/modules/email/wanderlust/config.el index ce1a4bcf0..f9a718355 100644 --- a/modules/email/wanderlust/config.el +++ b/modules/email/wanderlust/config.el @@ -20,6 +20,10 @@ wl-init-file (expand-file-name "wl.el" doom-user-dir) wl-folders-file (expand-file-name "folders.wl" doom-user-dir)) + ;; macOS allows file names up to 255 characters, + ;; use half of that size as threshold to switch to hashing + (setq elmo-msgdb-path-encode-threshold 128) + (setq wl-message-truncate-lines t wl-summary-width 120 wl-message-ignored-field-list