From: Mark Wooding Date: Mon, 14 May 2012 15:41:04 +0000 (+0100) Subject: dot/ercrc.el: Configure automatic buffer truncation. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/96f2d8b3774ab7fa07a42d2c42d6a690b74f4381?ds=inline;hp=-c dot/ercrc.el: Configure automatic buffer truncation. Currently allows about 3000 lines of stuff based on an empirically determined average of 60 characters per line. --- 96f2d8b3774ab7fa07a42d2c42d6a690b74f4381 diff --git a/dot/ercrc.el b/dot/ercrc.el index 8ccbbb8..1c3881f 100644 --- a/dot/ercrc.el +++ b/dot/ercrc.el @@ -6,9 +6,13 @@ (load "~/.erc-auth.el") (setq erc-nick "mdw" erc-user-full-name "Mark Wooding") +(if (not (memq 'truncate erc-modules)) + (setq erc-modules (cons 'truncate erc-modules))) + (setq erc-fill-column 76 erc-timestamp-right-column 68 - erc-fill-prefix " ") + erc-fill-prefix " " + erc-max-buffer-size (* 60 3000)) (load "~/.erc-local.el")