From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: New version of todo-mode.el (announcement + user guide) Date: Wed, 12 Jun 2013 23:37:58 +0200 Message-ID: <8761xjdn7t.fsf@rosalinde.fritz.box> References: <87k3m2275u.fsf@rosalinde.fritz.box> <8761xmxfnx.fsf@bzg.ath.cx> <87txl6ghjq.fsf@rosalinde.fritz.box> <87a9myggr7.fsf@wanadoo.es> <87sj0p8z99.fsf@rosalinde.fritz.box> <87mwqwpk98.fsf@rosalinde.fritz.box> <6emwqvxmpo.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371073110 15375 80.91.229.3 (12 Jun 2013 21:38:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Jun 2013 21:38:30 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 12 23:38:29 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UmskN-0000II-0j for ged-emacs-devel@m.gmane.org; Wed, 12 Jun 2013 23:38:27 +0200 Original-Received: from localhost ([::1]:36393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmskM-0000Rs-Lv for ged-emacs-devel@m.gmane.org; Wed, 12 Jun 2013 17:38:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umsk5-0000Fw-W2 for emacs-devel@gnu.org; Wed, 12 Jun 2013 17:38:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Umsjy-0006RC-45 for emacs-devel@gnu.org; Wed, 12 Jun 2013 17:38:09 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:50999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umsjx-0006Qt-Nz for emacs-devel@gnu.org; Wed, 12 Jun 2013 17:38:01 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.20]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0Lrp0S-1ULgff05vC-013ida for ; Wed, 12 Jun 2013 23:38:01 +0200 Original-Received: (qmail invoked by alias); 12 Jun 2013 21:38:00 -0000 Original-Received: from i59F55541.versanet.de (EHLO rosalinde.fritz.box) [89.245.85.65] by mail.gmx.net (mp020) with SMTP; 12 Jun 2013 23:38:00 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18aJIQmd+EamHVtrJlmbQUcy088cQ6WJqXVRyB4ex 8szjwvFggdmyvS In-Reply-To: <6emwqvxmpo.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 12 Jun 2013 13:28:35 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160388 Archived-At: On Wed, 12 Jun 2013 13:28:35 -0400 Glenn Morris wrote: > Stephen Berman wrote: > >> - If Glenn Morris approves, can I install the patch I included for >> diary-lib.el? > > Fine by me, though if possible I think it would be better to add some > new diary hooks(s) so that you can do whatever it is you want to do > without needing to put todo-specific stuff in diary-lib. But feel free. Thanks for the go-ahead. I do agree with you that a hook would be better and in fact gave it some thought, but couldn't see how to do it using an existing hook. I didn't consider adding a new hook, and I'm not sure I what that should be. The problem is, after the button is clicked in the Fancy Diary display, if the todo file is in a buffer, it will probably be narrowed, so it has to be widened before going to the position of the marker, and then it has to be narrowed again afterwards to get the proper display. So either there have to be two hooks sandwiching the goto-char for the marker, or the latter has to be passed to the hook function. Neither really seems much better than the ad hoc patch I posted, but it's not unlikely I'm overlooking a better alternative. If you have any ideas, I'm all ears. >> - I also have a question about documentation. The user guide I posted >> is certainly too long and detailed for the commentary section of the >> source code, and I guess also for the Emacs manual. > > It is longer than the entire current todo-mode.el is... Yes, but then the new version is nearly seven times longer than the old one. Still, I'd welcome suggestions for slimming down the documentation. Maybe when others use the package some of the features will be found to be dispensible. > (244k will make it about the 15th largest Lisp file in Emacs. > I doubt anyone has time to review that in detail.) I don't expect that (though I'd welcome any feedback). The package has had an excessively long genesis (I'm not a fast coder) and I was probably strategically unwise not to post earlier, less featureful, versions. Steve Berman