From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries Date: Wed, 21 Aug 2019 10:46:23 -0500 Message-ID: <26447.48000.206985.23901@gargle.gargle.HOWL> References: <45280.87155.162160.23900@gargle.gargle.HOWL> <48478.24716.546738.23900@gargle.gargle.HOWL> <87d0gyk3sm.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="266072"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 15987@debbugs.gnu.org, Stefan Kangas To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 21 18:02:41 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i0T4K-00173U-FO for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Aug 2019 18:02:40 +0200 Original-Received: from localhost ([::1]:49838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0T4I-0003RS-QG for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Aug 2019 12:02:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52847) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0T0e-0006jX-30 for bug-gnu-emacs@gnu.org; Wed, 21 Aug 2019 11:58:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0SpG-0006ei-Oo for bug-gnu-emacs@gnu.org; Wed, 21 Aug 2019 11:47:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i0SpC-0006aw-85 for bug-gnu-emacs@gnu.org; Wed, 21 Aug 2019 11:47:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i0SpC-0006DE-4m for bug-gnu-emacs@gnu.org; Wed, 21 Aug 2019 11:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Aug 2019 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15987 X-GNU-PR-Package: emacs Original-Received: via spool by 15987-submit@debbugs.gnu.org id=B15987.156640239222301 (code B ref 15987); Wed, 21 Aug 2019 15:47:02 +0000 Original-Received: (at 15987) by debbugs.gnu.org; 21 Aug 2019 15:46:32 +0000 Original-Received: from localhost ([127.0.0.1]:36338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Soi-0005nJ-1X for submit@debbugs.gnu.org; Wed, 21 Aug 2019 11:46:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Sog-0005hj-KO for 15987@debbugs.gnu.org; Wed, 21 Aug 2019 11:46:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i0Sob-000663-84; Wed, 21 Aug 2019 11:46:25 -0400 Original-Received: from lukas.physics.niu.edu ([131.156.224.124]:60818 helo=lukas) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1i0Soa-0001kz-9J; Wed, 21 Aug 2019 11:46:24 -0400 In-Reply-To: <87d0gyk3sm.fsf@gmx.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165502 Archived-At: On Wed Aug 21 2019 Stephen Berman wrote: > If diary-goto-entry-function is replaced, I'll adapt the todo-mode > code as needed. The goal is not to replace diary-goto-entry-function with something else, but instead diary-goto-entry becomes extensible so that diary-goto-entry-function is not needed anymore. For this, can you modify todo-mode such that it will put a text property diary-goto-entry on "its" diary entries? The value of this text property should be a list (FUNCTION ARG1 ARG2 ...) where FUNCTION will handle the diary entry of todo-mode when called with args ARG1 ARG2 ... So diary-goto-entry can branch accordingly.