From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.224.197 with SMTP id ip5cs20745icb; Wed, 16 Feb 2011 10:24:57 -0800 (PST) Received: by 10.224.47.130 with SMTP id n2mr1187179qaf.248.1297880696903; Wed, 16 Feb 2011 10:24:56 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id c18si53450qcr.156.2011.02.16.10.24.55; Wed, 16 Feb 2011 10:24:55 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 523B91858367; Wed, 16 Feb 2011 13:24:55 -0500 (EST) Received: from mail1.zelut.org (kuyaedz.dsl.xmission.com [166.70.56.51]) by rubyforge.org (Postfix) with ESMTP id 522EE18582E2 for ; Wed, 16 Feb 2011 12:34:39 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail1.zelut.org (Postfix) with ESMTP id 08F6914A179 for ; Wed, 16 Feb 2011 10:33:37 -0700 (MST) Received: from mail1.zelut.org ([127.0.0.1]) by localhost (dexter.zelut.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TIIFn8kZNXCo for ; Wed, 16 Feb 2011 10:33:36 -0700 (MST) Received: from zelut.org (kuyaedz.dsl.xmission.com [166.70.56.51]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail1.zelut.org (Postfix) with ESMTPSA id A821514A177 for ; Wed, 16 Feb 2011 10:33:36 -0700 (MST) From: Christer Edwards To: sup-talk Date: Wed, 16 Feb 2011 10:34:39 -0700 Message-Id: <1297876563-sup-2003@daphne> User-Agent: Sup/0.12.1 MIME-Version: 1.0 Subject: [sup-talk] tiny patch re: editor (vim) X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1826845224==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============1826845224== Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha256"; boundary="=-1297877679-640228-30440-3190-2-=" --=-1297877679-640228-30440-3190-2-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've always been told that email text length should be limited to 72 characters. I did some more research this morning in preparation for sharing this and I find that according to RFC 2822 it should be 78 characters. I then continue to find more and more discussion about how it "doesn't matter" or "use whatever you want". In any case, below is a tiny patch to configure vim to wrap text at 72 characters. This patch is specific to the initial file that is used at sup-config, but the same line could be edited in your local .sup/config.yaml. In any case, see the example below to configure your textwidth. --- lib/sup.rb 2011-02-16 09:08:19.373333347 -0700 +++ lib/sup.rb.new 2011-02-16 09:20:07.816666681 -0700 @@ -289,7 +289,7 @@ :gpgkey =3D> "" } }, - :editor =3D> ENV["EDITOR"] || "/usr/bin/vim -f -c 'setlocal spel= l spelllang=3Den_us' -c 'set filetype=3Dmail'", + :editor =3D> ENV["EDITOR"] || "/usr/bin/vim -f -c 'setlocal spel= l spelllang=3Den_us' -c 'set filetype=3Dmail' -c 'set textwidth=3D72'", :thread_by_subject =3D> false, :edit_signature =3D> false, :ask_for_from =3D> false, --=-1297877679-640228-30440-3190-2-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBCAAGBQJNXAqvAAoJEJfgcHkNCE4TRxcH/jeOBGOtwY42gGu49qjNMxFS aVaUHtU+uUMSSfofQcvmgLFrLER2EgKqkWalrQ1cTKyyK4tAUoEkchwQWKodkUeP ZUsG1iUZR6RWcW1M7TkS7xS69FVYr8eJmYW1nZLGdjW5kQ/iCaOw0YTor01y8Gf3 mtQCEtVBeTnoYPV5PpPidjAwlhxh+gc9EiEP65RdhhlN2kGeeUkXnGWC8bjcIM0b H0XR+ZodWRvYomcqpwPfMHKpClWgu2vZV4681XZWBtgceegeJtQABFWCSPHYHvOx bXfcHpbGYy1xkziSGf3BfJuIBcfFwMQVXPrzxJPAY+7Sh2nOV+YDJ8bRYwe6dig= =rwJv -----END PGP SIGNATURE----- --=-1297877679-640228-30440-3190-2-=-- --===============1826845224== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============1826845224==--