Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 5DCF2429E25 for ; Fri, 24 Jun 2011 13:04:20 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 tX3faPsyxBhI for ; Fri, 24 Jun 2011 13:04:19 -0700 (PDT) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id CCF12431FD0 for ; Fri, 24 Jun 2011 13:04:18 -0700 (PDT) Received: by wwi14 with SMTP id 14so737662wwi.2 for ; Fri, 24 Jun 2011 13:04:17 -0700 (PDT) Received: by 10.216.68.2 with SMTP id k2mr61264wed.0.1308945857248; Fri, 24 Jun 2011 13:04:17 -0700 (PDT) Received: from localhost ([109.131.122.10]) by mx.google.com with ESMTPS id fr17sm2245291wbb.23.2011.06.24.13.04.15 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Jun 2011 13:04:15 -0700 (PDT) From: Pieter Praet To: Carl Worth , Notmuch Mail Subject: Re: [PATCH] fix sum moar typos In-Reply-To: <8762nwdtfw.fsf@yoom.home.cworth.org> References: <1307202852-4398-1-git-send-email-pieter@praet.org> <1308600861-22684-1-git-send-email-pieter@praet.org> <8762nwdtfw.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.5-243-g5a76944 (http://notmuchmail.org) Emacs/23.1.50.1 (x86_64-pc-linux-gnu) Date: Fri, 24 Jun 2011 22:04:13 +0200 Message-ID: <87liwrgfnm.fsf@praet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list 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, 24 Jun 2011 20:04:20 -0000 On Thu, 23 Jun 2011 16:22:27 -0700, Carl Worth wrote: Non-text part: multipart/signed > On Mon, 20 Jun 2011 22:14:21 +0200, Pieter Praet wrote: > > Various typo fixes in docs, docstrings, comments, etc... > >=20 > > Signed-off-by: Pieter Praet >=20 > Thanks for these fixes, Pieter! My pleasure. > I've pushed these all out now. I split the original commit up into 6 > commits that each touch different kinds of text, (non-code text files, > comments within source files, error messages within source files, etc.) >=20 > The idea there is that these different kinds of text have different > potential impacts on the correctness of the code. So some release > manager might be willing to include one kind of change, but not another, > for example. Agreed. > Also, it made things a bit easier to read. There were two incorrect typo > fixes in the original commit which I fixed: >=20 > > - "\tSeveral notmuch commands accept a comman syntax for search\n" > > + "\tSeveral notmuch commands accept a command syntax for search\n" >=20 > This is now "common syntax". >=20 > > - # Remember stdout and stderr file descriptios and redirect test > > + # Remember stdout and stderr file descriptions and redirect test >=20 > This is now "file descriptors". >=20 > And one change where I left the original text unchanged: >=20 > > * A non-NULL return value is guaranteed to be a valid string pointer > > * pointing to the characters "new/" or "cur/", (but not > > - * NUL-terminated). > > + * NULL-terminated). >=20 > This comment uses "NULL" to describe a NULL pointer and "NUL" to > describe the ASCII character '\0'. (I know that "NUL" is a really > annoying historically misspelled abbreviation, but it is in standard > usage I believe---see ASCII(7) for example.) Prime examples of "or even made some new ones" [1] :D > Meanwhile, I was almost tempted to leave this misspelling unchanged: >=20 > > - (error "%s is a file. Can't creat maildir." path)) > > + (error "%s is a file. Can't create maildir." path)) >=20 > Since that's also a classic historically misspelled abbreviation. ;-) >=20 > Oh, and let me just thank you for being so thorough! There were several > fixes you made that could obviously not be caught by an automated spell > checker: >=20 > > ---part=3Did", (David Edmonson wants to rewrite some of "notmuch show" = to > > +--part=3Did", (David Edmondson wants to rewrite some of "notmuch show"= to > ... > > (defun notmuch-user-other-email () > > - "Return the user.primary_email value (as a list) from the notmuch co= nfiguration." > > + "Return the user.other_email value (as a list) from the notmuch conf= iguration." > ... > > (defcustom notmuch-after-tag-hook nil > > - "Hooks that are run before tags of a message are modified. > > + "Hooks that are run after tags of a message are modified. > ... > > -The debian packaging exists in the top-level "debian" directory within > > +The Debian packaging exists in the top-level "debian" directory within >=20 > Those all demonstrate a particular eye for detail=E2=80=94well done! For a > couple of those, I almost gave them their own commits. >=20 > In passing, let me point out the most amusing typo I saw in the patch: >=20 > > -} /* Appleasing Emacs */ > > +} /* Appeasing Emacs */ >=20 > I almost hate to see that go, because I like the pleasing portmanteau > sound of "appleasing". Please applease me and leave this pleasing typo? >=20 > Admittedly, that's not in code that's originally mine, so I can't say it > wasn't intentional either. >=20 > Finally, *many* of the typos and misspellings were originally mine. It's > certainly embarrassing to see so many (and so many repeats). It was also > embarrassing to see how many misspellings I committed while typing the > commit messages, (fortunately I rebased many away). Let's turn that around: Comments and commit messages are (understandably) a mere afterthought for most coders, including myself, and are thus often very terse or even nonexistent, which automatically translates to less typos (y=3Dkx). You however, seem to be incredibly disciplined in this respect, so statistically speaking, you're destined to become typo-king, and you have every reason to be *proud* of it. :D The only thing you could possibly have to be embarrassed about, is insufficient laziness (which, for programmers, is considered a virtue) ;) > And now I'm starting to get paranoid about this message. Am I really > brave enough to type words like "embarrassing", "misspelling", and > "committed" here? >=20 > Thanks again, >=20 > -Carl Non-text part: application/pgp-signature Peace --=20 Pieter [1] id:"1307202852-4398-1-git-send-email-pieter@praet.org"