From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: New version of todo-mode.el (announcement + user guide) Date: Sun, 16 Jun 2013 20:37:28 -0400 Message-ID: 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> <8761xjdn7t.fsf@rosalinde.fritz.box> <87txl1bula.fsf@rosalinde.fritz.box> <87obb874ru.fsf@rosalinde.fritz.box> <87y5abbkov.fsf@rosalinde.fritz.box> <87bo75brd8.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371429456 13497 80.91.229.3 (17 Jun 2013 00:37:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 00:37:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 17 02:37:35 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 1UoNRu-0003rY-LJ for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2013 02:37:34 +0200 Original-Received: from localhost ([::1]:44575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoNRt-0001b0-Qa for ged-emacs-devel@m.gmane.org; Sun, 16 Jun 2013 20:37:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoNRr-0001au-1o for emacs-devel@gnu.org; Sun, 16 Jun 2013 20:37:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoNRq-0001Zi-5P for emacs-devel@gnu.org; Sun, 16 Jun 2013 20:37:30 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:20868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoNRq-0001Za-1D for emacs-devel@gnu.org; Sun, 16 Jun 2013 20:37:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="16526552" Original-Received: from 69-165-149-114.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.149.114]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 16 Jun 2013 20:37:24 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id CD910AE048; Sun, 16 Jun 2013 20:37:28 -0400 (EDT) In-Reply-To: <87bo75brd8.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Mon, 17 Jun 2013 00:52:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:160483 Archived-At: > without reimplementing diary-goto-entry accordingly. Note, however, > that FOO can't just be "some leading text" but really has to be the > entry's date string, I called them FOO and BAR because I know nothing about this code and so don't know what these are really supposed to be. > i.e. (nth 2 locator) [(car locator) is a typo, as > is (nth 1 locator), that should be 3 instead of 1; No, the error is that it should be (car pos) and (nth 1 pos), since `locator' is an undefined variable (if I were to use dynamic-scoping, I wouldn't bother passing a `pos' argument). But again: I know nothing about those `locator's, so I have no idea what is a good argument to pass to diary-goto-entry-function. My suggestion was only based on the code you sent. Stefan