From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 56D5C429E5E for ; Fri, 13 Jan 2012 14:25:42 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.463 X-Spam-Level: * X-Spam-Status: No, score=1.463 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.363, TO_NO_BRKTS_DYNIP=1] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DO+dTctv869q for ; Fri, 13 Jan 2012 14:25:42 -0800 (PST) Received: from xhlj.maillard.im (cha51-3-88-164-105-66.fbx.proxad.net [88.164.105.66]) by olra.theworths.org (Postfix) with ESMTP id C6369429E5A for ; Fri, 13 Jan 2012 14:25:41 -0800 (PST) Received: from xhlj.maillard.im (xhlj.maillard.im [127.0.0.1]) by xhlj.maillard.im (Postfix) with ESMTP id E681D216F6; Fri, 13 Jan 2012 23:25:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=maillard.im; h=from:to :subject:in-reply-to:references:reply-to:date:message-id :mime-version:content-type; s=postfix; bh=MBbQ79m++vwiWbnkwSf36H KhpzA=; b=Jldt9NAosdoE1zJ1E0SDtiIfsYdXr89LoFmz28feKjwzvtTjqgO0cP b0dfUUIyvde7ajhqTG8kOcT3RcqRC7Vta6uYKhA/2Yk6Dm6Z1vxZT9mAiabnszvd s9oGITMv1FLjHuBgpr4ut081tvl245BWGHdABRru1w/IdJ35sU8/w= Received: from maillard.im (cha51-3-88-164-105-66.fbx.proxad.net [88.164.105.66]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by xhlj.maillard.im (Postfix) with ESMTPSA; Fri, 13 Jan 2012 23:25:39 +0100 (CET) From: Xavier Maillard To: Austin Clements , notmuch@notmuchmail.org Subject: [PATCH] Set fill column to 70 in .dir-locals.el and refactor other settings. In-Reply-To: References: <1326410243-22277-1-git-send-email-amdragon@mit.edu> User-Agent: Notmuch/0.10.1 (http://notmuchmail.org) Emacs/23.2.1 (i486-slackware-linux-gnu) Date: Fri, 13 Jan 2012 23:42:57 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Xavier Maillard List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2012 22:25:42 -0000 This controls where comments and other text wraps. 70 is the default value, so this simply returns it to the default for people who have overridden it. Most notmuch code already adheres to this. --- SO here is the patch (still sorry if I did it wrongly and very badly). .dir-locals.el | 19 ++++++------------- 1 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index aea630b..27f01c0 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,23 +1,16 @@ -; emacs local configuration settings for notmuch source -; surmised by dkg on 2010-11-23 13:43:18-0500 -; amended by amdragon on 2011-06-06 +;; emacs local configuration settings for notmuch source +;; surmised by dkg on 2010-11-23 13:43:18-0500 +;; amended by amdragon on 2011-06-06 -((c-mode +((nil (indent-tabs-mode . t) (tab-width . 8) (c-basic-offset . 4) + (fill-column . 70)) + (c-mode (c-file-style . "linux")) (c++-mode - (indent-tabs-mode . t) - (tab-width . 8) - (c-basic-offset . 4) (c-file-style . "linux")) - (emacs-lisp-mode - (indent-tabs-mode . t) - (tab-width . 8)) (shell-mode - (indent-tabs-mode . t) - (tab-width . 8) - (sh-basic-offset . 4) (sh-indentation . 4)) ) -- 1.7.1