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 868834196F0 for ; Sat, 3 Apr 2010 12:37:59 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham 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 swaBBBunp24C; Sat, 3 Apr 2010 12:37:58 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8C402431FC1; Sat, 3 Apr 2010 12:37:58 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 3D7E8254390; Sat, 3 Apr 2010 12:37:58 -0700 (PDT) From: Carl Worth To: David Edmondson , notmuch In-Reply-To: <87k4spxcz7.fsf@ut.hh.sledj.net> References: <87oci344n4.fsf@ut.hh.sledj.net> <87bpe2j2vu.fsf@yoom.home.cworth.org> <87oci2xmkv.fsf@ut.hh.sledj.net> <87d3yhihzl.fsf@yoom.home.cworth.org> <87k4spxcz7.fsf@ut.hh.sledj.net> Date: Sat, 03 Apr 2010 12:37:46 -0700 Message-ID: <87tyrsz5rp.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: [notmuch] pull request [was Re: pull request] 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: Sat, 03 Apr 2010 19:37:59 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Sat, 03 Apr 2010 07:32:44 +0100, David Edmondson wrote: > * commit a9590dfb4efc2c05a35948ef4522c362eb788c10 > | Author: David Edmondson > | Date: Thu Apr 1 11:38:30 2010 +0100 > |=20 > | Makefile: Add the emacs directory to load-path when compiling That's a nice one-line summary of the commit that says "what" the patch does just fine. But the commit is missing the rest of the commit message that should give the "why". What's the motivation of the change? Is something perhaps broken without this? Or is this a preparation for something else that will be coming along in a future commit? From=20looking at the next commit, I assume this is to enable the "(require 'notmuch-show)" that is being added subsequently. So I've just noted that. > * commit 4de9f3f09e998d7312be2a1c08526e59bbf135a9 > | Author: David Edmondson > | Date: Sun Mar 21 09:54:08 2010 +0000 > |=20 > | emacs/Makefile.local: Use makefile mode I added similar treatment to the other instances of files named Makefile.local. > * commit 94893f25d36aaf43487e111fbfba4f7dae808dd2 > | Author: David Edmondson > | Date: Tue Mar 23 07:04:34 2010 +0000 > |=20 > | emacs/notmuch.el: Improve tag highlighting in search mode > |=20=20=20=20=20 > | Assume that tags never include an opening bracket, and hence improve > | the regular expression used to highlight them. This avoids false > | matches where the 'from' address of a thread participant includes an > | opening bracket. Thanks. That's a good fix. The above are all pushed. > * commit f7ecad654fd8d0274fc75833d92117c8e496bcea > | Author: David Edmondson > | Date: Thu Apr 1 18:36:21 2010 +0100 > |=20 > | emacs: Move notmuch-show functionality to notmuch-show.el > |=20=20=20=20=20 > | To ease the transition to a JSON based implementation of > | `notmuch-show', move the current implementation into a separate fil= e. This is definitely a nice improvement in modularization. But there are some aspects of doing multiple-file emacs code that I'm unclear on. If I apply this patch as is, then when compiling the notmuch-show.el I get the following warnings: In notmuch-show: notmuch-show.el:969:34:Warning: reference to free variable `notmuch-comma= nd' In end of data: notmuch-show.el:983:1:Warning: the following functions are not known to be defined: point-invisible-p, mail-header-extract-no-properties, notmuch-select-tag-with-completion, union, intersection, set-differen= ce, notmuch-search-show-thread, mm-display-parts, mm-dissect-buffer, notmuch-save-attachments, notmuch-count-attachments, notmuch-reply, mm-handle-type, mm-display-part, notmuch-fontify-headers I can eliminate a few of these by copying the various require calls from notmuch.el to notmuch-show.el, but that still leaves problems for all of the functionality defined in notmuch.el and referenced in notmuch-show.el: In notmuch-show: notmuch-show.el:973:34:Warning: reference to free variable `notmuch-comma= nd' In end of data: notmuch-show.el:987:1:Warning: the following functions are not known to be defined: point-invisible-p, notmuch-select-tag-with-completion, notmuch-search-show-thread, notmuch-save-attachments, notmuch-count-attachments, notmuch-reply, notmuch-fontify-headers Does anyone know the right way to fix this? I'd like to get the output clean as I plan to move the compilation of the emacs code from "make install-emacs" to "make", (made conditional on a check for the presence of emacs by configure). So I haven't merged this commit yet. =2DCarl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLt5kK6JDdNq8qSWgRAvqJAJ9h13lHmLZHLtByPYDht8lXBLpMbACfRGZn PKUWxSZ+S0Vxk2cDJbG3m/U= =NB8r -----END PGP SIGNATURE----- --=-=-=--