GNU bug report logs - #15987
24.3; diary-add-to-list ignored by diary-mark-entries

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: "Roland Winkler" <winkler@HIDDEN>; dated Thu, 28 Nov 2013 14:42:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 21 Aug 2019 16:46:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 21 12:46:18 2019
Received: from localhost ([127.0.0.1]:36410 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0TkW-00023i-Ts
	for submit <at> debbugs.gnu.org; Wed, 21 Aug 2019 12:46:18 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48960)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <winkler@HIDDEN>) id 1i0TkU-00023O-Tn
 for 15987 <at> debbugs.gnu.org; Wed, 21 Aug 2019 12:46:15 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44659)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>)
 id 1i0TkP-00009t-HF; Wed, 21 Aug 2019 12:46:09 -0400
Received: from lukas.physics.niu.edu ([131.156.224.124]:33072 helo=lukas)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <winkler@HIDDEN>)
 id 1i0TkN-0006kz-SW; Wed, 21 Aug 2019 12:46:08 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <30029.14352.567297.23901@HIDDEN>
Date: Wed, 21 Aug 2019 11:46:05 -0500
From: "Roland Winkler" <winkler@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
In-Reply-To: <878srmjx8i.fsf@HIDDEN>
References: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
 <45280.87155.162160.23900@HIDDEN>
 <CADwFkmn2URO+wZhBH0KaOF-p69p6FwcnJYDA5yN5EfeG0LH=XQ@HIDDEN>
 <48478.24716.546738.23900@HIDDEN>
 <CADwFkmkm=2QSYxKYfAOf-66jgtmN9Su98S5C-aLHtXk0R0ckEg@HIDDEN>
 <87d0gyk3sm.fsf@HIDDEN>
 <26447.48000.206985.23901@HIDDEN>
 <878srmjx8i.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org,
 Stefan Kangas <stefan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On Wed Aug 21 2019 Stephen Berman wrote:
> Ah, now I remember you told me about this previously (more than two and
> a half years ago).  As I said back then, if this requires changing how
> todo-mode entries are added to the fancy diary display, it may take some
> effort.  But if the consensus is that this is a good change for Emacs,
> then I'm sure todo-mode can adapt to it.

(I believe the earlier email exchange was between you and me, and
not recorded as part of this thread.)

The problem is that diary-goto-entry-function is not easily
extensible: todo-mode is "hijacking" this variable for its purposes.
So this variable cannot easily be used anymore by another package.
What I am suggesting will allow more easily that multiple packages
can each do more easily their own thing: a text property tells
diary-goto-entry how it should branch out.

Does this make sense?  Or are there yet better solutions?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 21 Aug 2019 16:32:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 21 12:32:18 2019
Received: from localhost ([127.0.0.1]:36401 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0TX0-0001Zu-1w
	for submit <at> debbugs.gnu.org; Wed, 21 Aug 2019 12:32:18 -0400
Received: from mout.gmx.net ([212.227.15.19]:33109)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1i0TWv-0001Zc-ET
 for 15987 <at> debbugs.gnu.org; Wed, 21 Aug 2019 12:32:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1566405122;
 bh=dKtNpCh0yKNls4bCI0fH26L26Fvq3M+xx0t1VVEDeYA=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=P9SvJIcbkiXl1sAPLw0xzLMrBxOBQoO5DWd34IqCfGppY3k2DwE+kuq2c5YdQ/yy1
 8lV0asaUxkSS1gvdHmP+l/YGokS4/s2CyDzPS9ydp8/dgQ1kIgjIoiNkZBoki4wyO3
 n95HtM6ZXeWoZpdk5VsbFpoXJWE/wzkjraMJVDSA=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from strobe-lfs84 ([188.109.198.119]) by mail.gmx.com (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mj8mV-1iU1ae3bXR-00fA3c; Wed, 21
 Aug 2019 18:32:01 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: "Roland Winkler" <winkler@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
References: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
 <45280.87155.162160.23900@HIDDEN>
 <CADwFkmn2URO+wZhBH0KaOF-p69p6FwcnJYDA5yN5EfeG0LH=XQ@HIDDEN>
 <48478.24716.546738.23900@HIDDEN>
 <CADwFkmkm=2QSYxKYfAOf-66jgtmN9Su98S5C-aLHtXk0R0ckEg@HIDDEN>
 <87d0gyk3sm.fsf@HIDDEN> <26447.48000.206985.23901@HIDDEN>
Date: Wed, 21 Aug 2019 18:31:57 +0200
In-Reply-To: <26447.48000.206985.23901@HIDDEN> (Roland Winkler's
 message of "Wed, 21 Aug 2019 10:46:23 -0500")
Message-ID: <878srmjx8i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:SXE2eHh0+uQAgo6Z60T3a3ihhPF8NMRo8CWQO5I2/yAxjk0g1nt
 NleQjOhMc2Rkjaq7x+6azKYZFvY19FGl+B1jmSyD/UqsMHcdDsdCcGy/wXf4nc6zRChAWwJ
 P7deEEqLr/9Uhy5O97TzsUVPgllQEne9n+H9Z1odR8f8actzjPI3jexrKc12KpucFVwAmla
 VD9ny1ARZ180Qcwfr9Z4A==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:9ScKQQCA77w=:t3KGm2sndlGdGch3Uasnlt
 qnsSHO5v9vuqTl0ZEqgMZ7+Ephhqrm05bkEp8psrfGY4E/72Pvc1xgNaqTTGB21hEtT+hCmQd
 jjoBLZAgiEV5dcjVJiQOR3seNZd7h2hpt2gilL24X7WhAaDOnW2OdVJO+ziGMaX/U8czlyG+F
 QAYHBIqGRImRcEnAycDnR9wHW+Myj+ckse9bwDRYuzfdDxjYTA10Tb0YPRU2ksUN5KB2rDCcA
 0GhJb7IaYBAyHYsZOpiLkT+tI9EHpzJwiDNzrDBDb641stPIEc+etXkL6HCSaFbIYQntm2sjC
 nUMsBNnbHVZGgxn/XecAuH2cOY3Ycqk5ufi7fU0yIKNg0rg4aPQe9QyZE20dLdB9pJaCrajNK
 RsEZRdXiuJ8RhxvYU2z+70S9tGl4sOEdVPhEqx+cAxOctJipHTg92q3w7kzoVKGbL7UwngGgx
 DnaNpVVaoXqnb6wHiTHX7VVpitfA1T6xNLHKK2BI898NRh/48MEsVbaNgbcSVHCYW8IuLTDpR
 JdMtxt7FQB3gbmWRNHvy2eAErczgBfwa0YE9jy15/e7xaLvtnUnIT/UmZdJ0HE5eA9lOMPYt+
 qXyRotYFHa8CGBz6xibMiFcPYCEKQL8O5TydbHcX/VdwvymoX2wzfeAWkp1iPF2AcPwa4P+7B
 mzWxMUvyX0SdnR55ANWv8hnFXpPZsdRv9zF1qyc/of86wZJIEYmzVQrNStw4I+3B4pDb/UzxA
 TL13XDVFKh7Q/hOvWEyCKm6QUCWf1Iih1qMKR5LeLhvfc3JI16nCWNMz6eQwymbjK77VekFBF
 GSYYX0uT75jSK1rb1334rxMYBoTQ4ouRuaDGYCKSddZbvPc3SrL1JnIOaAYfqFJlU3DPrULIr
 ha89eY42OYy5wyIc4dhrSEbJcupsCexucXD3ni06lvvSf1fSiQc3h9ptZCqzLMT6s/DCZOfmx
 XkmFdmz9r05fJ9OI9DTCuv9K0e0Mt32oDu+9Uma7DJ0BSEbpwe5PZA7CDfdyYad/anzG9WW4L
 mJPiBtVfuXW/0L8p3qJjH/zQI9KVs8H8o1X1XUCW0WpAh4cIhl5+0UDc1F9WAmsvTmkKl/Z+m
 zH+wDAKT8oktR2Oa6yQ/SNuaYn3ZUC/ftjBDVVa+cw7ln5lUy1QF+mrg6MdRrIPbVhP03eJQi
 gU72o=
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org,
 Stefan Kangas <stefan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Wed, 21 Aug 2019 10:46:23 -0500 "Roland Winkler" <winkler@HIDDEN> wrote:

> 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.

Ah, now I remember you told me about this previously (more than two and
a half years ago).  As I said back then, if this requires changing how
todo-mode entries are added to the fancy diary display, it may take some
effort.  But if the consensus is that this is a good change for Emacs,
then I'm sure todo-mode can adapt to it.

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 21 Aug 2019 15:46:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 21 11:46:32 2019
Received: from localhost ([127.0.0.1]:36338 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0Soi-0005nJ-1X
	for submit <at> debbugs.gnu.org; Wed, 21 Aug 2019 11:46:32 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39043)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <winkler@HIDDEN>) id 1i0Sog-0005hj-KO
 for 15987 <at> debbugs.gnu.org; Wed, 21 Aug 2019 11:46:31 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:43526)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>)
 id 1i0Sob-000663-84; Wed, 21 Aug 2019 11:46:25 -0400
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 <winkler@HIDDEN>)
 id 1i0Soa-0001kz-9J; Wed, 21 Aug 2019 11:46:24 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <26447.48000.206985.23901@HIDDEN>
Date: Wed, 21 Aug 2019 10:46:23 -0500
From: "Roland Winkler" <winkler@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
In-Reply-To: <87d0gyk3sm.fsf@HIDDEN>
References: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
 <45280.87155.162160.23900@HIDDEN>
 <CADwFkmn2URO+wZhBH0KaOF-p69p6FwcnJYDA5yN5EfeG0LH=XQ@HIDDEN>
 <48478.24716.546738.23900@HIDDEN>
 <CADwFkmkm=2QSYxKYfAOf-66jgtmN9Su98S5C-aLHtXk0R0ckEg@HIDDEN>
 <87d0gyk3sm.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org,
 Stefan Kangas <stefan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

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.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 21 Aug 2019 14:10:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 21 10:10:34 2019
Received: from localhost ([127.0.0.1]:36240 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0RJq-0008Kb-Cv
	for submit <at> debbugs.gnu.org; Wed, 21 Aug 2019 10:10:34 -0400
Received: from mout.gmx.net ([212.227.17.21]:37483)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1i0RJn-0008KK-UJ
 for 15987 <at> debbugs.gnu.org; Wed, 21 Aug 2019 10:10:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1566396622;
 bh=nmfx5I+2tlfIIX+wdPh57GqlmsLRncSFIFPkRoOOzVo=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=EhbnoMhpmiU1bLIuuh3i15qNnSm75QkOFeITTD4YPbv1x6FERBaZS2jeLIJRnL2l1
 RErfHLp7WvREbhU2WMhayn6qxMV7HdZ4YmAE2JBIRDdv3xaJvAMsTsJb2sKZznDQIy
 K9+KrwOvn95X9SedI+1B9oWU3gnXEH+tjuNT+YRA=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from strobe-lfs84 ([188.109.198.119]) by mail.gmx.com (mrgmx102
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LvzF3-1iIxkJ1GiT-017n0y; Wed, 21
 Aug 2019 16:10:22 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
References: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
 <45280.87155.162160.23900@HIDDEN>
 <CADwFkmn2URO+wZhBH0KaOF-p69p6FwcnJYDA5yN5EfeG0LH=XQ@HIDDEN>
 <48478.24716.546738.23900@HIDDEN>
 <CADwFkmkm=2QSYxKYfAOf-66jgtmN9Su98S5C-aLHtXk0R0ckEg@HIDDEN>
Date: Wed, 21 Aug 2019 16:10:17 +0200
In-Reply-To: <CADwFkmkm=2QSYxKYfAOf-66jgtmN9Su98S5C-aLHtXk0R0ckEg@HIDDEN>
 (Stefan Kangas's message of "Wed, 21 Aug 2019 15:29:22 +0200")
Message-ID: <87d0gyk3sm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:1Cwib/bzzmqgM+ES0B9TmgPB7YewIXfeSOuBKEVe4rpPm+ZtEj4
 rf7UX/C89seKQhMdRzCDEoo7CdamVw0H5jQ3R4G70ovLmRUMvULH5rQRCk5I+NPwLuL6tPs
 b9De6NSd19ALvQocpxNzv8B0u1yZfdA+Db2Z7oITM0fbu3GfCiXI9E0LO145iB5z34MqGPJ
 lBiJYsqwmCvGQmXFtC2lA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:GL+rt9gK378=:Z2FzkpNeqFc8EzzuVu+2jF
 ws76El13KGxZbxCLggB/LRvoSHQxLSubCcwHswbUZzBVm/UY/zy30H6v+fowIP1kfCsiqBQix
 63giUiHz4x3/22emGA3pxnFda8Qo51N+sL5JmhrSIYByVrIDiiUK1bKmnfKuMBDHxCHtW16yH
 SCWHYpGFoL1GfPhvLzeQ3YSPL/xH9sbR/vkTywpRN9n7SFKZGDtyJoQaws8c8H4tgpyWvdocY
 PFmNwR1PskQ8E+goNly8FrJg/XlmZdELW6ubTDdMykp0mVHVhT1jAmLLCHFaBLzC9PSjyNbKa
 q4RSRlRKTNocjnBsAb5V5I6kz513XpzvOk4oeOt51yHB0YzCas6TyCg5FBNHiK3IcCX29rCXI
 EL+qlNWBJSwY0dpoeKe6KTOajRvXsV2dabmo+DkxEDJnQlJw6juSZdM0QfZyP7MHbfMprE4Op
 pktek3IEzxAiTDcz2oG4/T/Ep3zbr6GNkscYbp0dCwiaknSiM49aspXqMMKsP8yElEZwzfR6S
 lWRrQ6sHl/D9yyd3x4QdP4+ahAaypsLhu3AaS3FCtQ7wL/tYXDCvaMc65uuqaWVprH362cbdb
 RbmF7IF/PrZWkFggKPoE39YiTJN2IFUJ13MLnH4d3TOe+1EvJBF4qq/CbIbWyqL4Ry+ebJ7RN
 9+G1500n8UYSppL1myzewOhs1MGQ58jPL3DK58+hypzmKUklO5ZKc9nmVVKcO7hMhUotiXBfj
 WKHdvfwV9BsjLAQZdvz3OHOh2DEOAZA3aTbstSXPFQV/PPI+kyXQRBieObywZVww+cHy3AQ/h
 n2Fm/cQ29cO5hSfeCifhbsveTvL1ndoRnPalefWqpxAQKdiQCWrFcjT81nRwyHukWkeeF0zky
 oazNxNC5ojn0xF7Gm0qlVxVXMA7cFRJMg61O5bJ3xwecjYR1J04zm4FcNXTmtIOhGlmYNpyul
 oWRjxkLPwwR1wRhP5a5sMCzd6IDPpbS3rNnuDVQKTIxyS37ekWUTpjW8kLQXdZo62QPeRPDBU
 FOL75tdTxHU5OL7boUtgYeTViADcEeZVfgt0z/fQDE0mdPdKhKS8EZpleB5bVCzS0APUkdI6r
 tqVQ4+RZdTMAN1xtoLBxdT03iPQYmLBEbvoBxNwRehAiiz9H4op4pW13Pk0jLSFpwuGQjkFYY
 u1UCg=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org,
 Roland Winkler <winkler@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Wed, 21 Aug 2019 15:29:22 +0200 Stefan Kangas <stefan@HIDDEN> wrote:

> Roland Winkler <winkler@HIDDEN> writes:
>>
>> On Wed Aug 21 2019 Stefan Kangas wrote:
>> > Roland Winkler <winkler@HIDDEN> writes:
>> >
>> > > I believe, the cleanest, backward-compatible solution would be to
>> > > use bbdb-anniv-goto-entry as a replacement for diary-goto-entry
>> > > and declare diary-goto-entry-function obsolete.  (The obsolete
>> > > variable diary-goto-entry-function could be kept for some time
>> > > without harm.)
>> >
>> > Thanks for clarifying.  Would you be willing to write that up, if
>> > everyone agrees on the solution?
>>
>> Sure, I can do what I said above.  (I do not know todo-mode that
>> currently "hijacks" diary-goto-entry-function for its purposes.
>> It is probably easier if someone else can do that part.)
>
> Thanks.  I'm not familiar with the code in question so if you need a
> second opinion or help with todo-mode, it would have to come from
> someone other than me.

If diary-goto-entry-function is replaced, I'll adapt the todo-mode code
as needed.

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 21 Aug 2019 13:29:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 21 09:29:42 2019
Received: from localhost ([127.0.0.1]:34882 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0QgH-00071Z-If
	for submit <at> debbugs.gnu.org; Wed, 21 Aug 2019 09:29:41 -0400
Received: from mail-pf1-f174.google.com ([209.85.210.174]:46858)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1i0QgF-00071D-Es
 for 15987 <at> debbugs.gnu.org; Wed, 21 Aug 2019 09:29:40 -0400
Received: by mail-pf1-f174.google.com with SMTP id q139so1426705pfc.13
 for <15987 <at> debbugs.gnu.org>; Wed, 21 Aug 2019 06:29:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=fW3xkjDBmMIljHR5cXMWpg1BnfnX8wsF1L5TGedzOH8=;
 b=gnhrI5j6SbSvATwRpxyenwko3eGNU6d8FwuHhakCvKd9AQ6fjwGs8gI33OvIiQOCBE
 b39sbo1sBoC5QI7+jWxKoeyV5pFPCYb9kZQKrgWSknj7oEByjDXtAr2LD9fHZndGQdY4
 Ap2l/HcBWkACe7mjCRNJIFC7Ome0ONrm5vplNqye9XjT71ELBwXYwx69RtUaKihaG4zA
 ZOgbfJc43CdTKMldUdJdrRLW8NprjaOs38aBUvq2omow4jfgvqBR34c15D0yYszCUrDl
 oAVUID3tX0RQgWS3QKdwobePEizVGCjjT8XBP4pVsIgnZNBfiaQ5ntVfPfmeLmrZjIVk
 JNQQ==
X-Gm-Message-State: APjAAAVpyGbH5v4GIw9siP3OcdKGAi+atAdKpXLLn4jmNHgMqape7KN6
 DnQcH6OPpF6dlau6PNrkUD3vGAk3HRoBGSAUxzQ=
X-Google-Smtp-Source: APXvYqzMauuVHRwbwno3DhzuipOnffR1n9ruYrMxuMwvx6M0NDQ7sqLxc32iYmMDSHs3gvC3isdtzBlQPrRxOxtTyMY=
X-Received: by 2002:a63:69c1:: with SMTP id
 e184mr27881545pgc.198.1566394173719; 
 Wed, 21 Aug 2019 06:29:33 -0700 (PDT)
MIME-Version: 1.0
References: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
 <45280.87155.162160.23900@HIDDEN>
 <CADwFkmn2URO+wZhBH0KaOF-p69p6FwcnJYDA5yN5EfeG0LH=XQ@HIDDEN>
 <48478.24716.546738.23900@HIDDEN>
In-Reply-To: <48478.24716.546738.23900@HIDDEN>
From: Stefan Kangas <stefan@HIDDEN>
Date: Wed, 21 Aug 2019 15:29:22 +0200
Message-ID: <CADwFkmkm=2QSYxKYfAOf-66jgtmN9Su98S5C-aLHtXk0R0ckEg@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
To: Roland Winkler <winkler@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org,
 Stephen Berman <stephen.berman@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Roland Winkler <winkler@HIDDEN> writes:
>
> On Wed Aug 21 2019 Stefan Kangas wrote:
> > Roland Winkler <winkler@HIDDEN> writes:
> >
> > > I believe, the cleanest, backward-compatible solution would be to
> > > use bbdb-anniv-goto-entry as a replacement for diary-goto-entry
> > > and declare diary-goto-entry-function obsolete.  (The obsolete
> > > variable diary-goto-entry-function could be kept for some time
> > > without harm.)
> >
> > Thanks for clarifying.  Would you be willing to write that up, if
> > everyone agrees on the solution?
>
> Sure, I can do what I said above.  (I do not know todo-mode that
> currently "hijacks" diary-goto-entry-function for its purposes.
> It is probably easier if someone else can do that part.)

Thanks.  I'm not familiar with the code in question so if you need a
second opinion or help with todo-mode, it would have to come from
someone other than me.

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 21 Aug 2019 03:41:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 20 23:41:29 2019
Received: from localhost ([127.0.0.1]:34406 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0HV3-000767-FH
	for submit <at> debbugs.gnu.org; Tue, 20 Aug 2019 23:41:29 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34094)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <winkler@HIDDEN>) id 1i0HV0-00075t-U8
 for 15987 <at> debbugs.gnu.org; Tue, 20 Aug 2019 23:41:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:34268)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>)
 id 1i0HUv-0000vB-Ap; Tue, 20 Aug 2019 23:41:21 -0400
Received: from [2602:30a:2e52:d720:65b7:1416:12e7:8bfb] (port=44434
 helo=regnitz)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <winkler@HIDDEN>)
 id 1i0HUu-0006HR-Fq; Tue, 20 Aug 2019 23:41:20 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <48478.24716.546738.23900@HIDDEN>
Date: Tue, 20 Aug 2019 22:41:18 -0500
From: "Roland Winkler" <winkler@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
In-Reply-To: <CADwFkmn2URO+wZhBH0KaOF-p69p6FwcnJYDA5yN5EfeG0LH=XQ@HIDDEN>
References: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
 <45280.87155.162160.23900@HIDDEN>
 <CADwFkmn2URO+wZhBH0KaOF-p69p6FwcnJYDA5yN5EfeG0LH=XQ@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org,
 Stephen Berman <stephen.berman@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On Wed Aug 21 2019 Stefan Kangas wrote:
> Roland Winkler <winkler@HIDDEN> writes:
> 
> > I believe, the cleanest, backward-compatible solution would be to
> > use bbdb-anniv-goto-entry as a replacement for diary-goto-entry
> > and declare diary-goto-entry-function obsolete.  (The obsolete
> > variable diary-goto-entry-function could be kept for some time
> > without harm.)
> 
> Thanks for clarifying.  Would you be willing to write that up, if
> everyone agrees on the solution?

Sure, I can do what I said above.  (I do not know todo-mode that
currently "hijacks" diary-goto-entry-function for its purposes.
It is probably easier if someone else can do that part.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 21 Aug 2019 03:06:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 20 23:06:52 2019
Received: from localhost ([127.0.0.1]:34388 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0GxY-0006Gr-Ha
	for submit <at> debbugs.gnu.org; Tue, 20 Aug 2019 23:06:52 -0400
Received: from mail-pg1-f171.google.com ([209.85.215.171]:41470)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1i0GxW-0006Ga-Fi
 for 15987 <at> debbugs.gnu.org; Tue, 20 Aug 2019 23:06:50 -0400
Received: by mail-pg1-f171.google.com with SMTP id x15so446187pgg.8
 for <15987 <at> debbugs.gnu.org>; Tue, 20 Aug 2019 20:06:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=QRn5roaGlWta/qBBDPseRUGy+2nwcqlC+vT8SLh6u74=;
 b=G4Y3hP0i3/IGwmpfj/ezOOaomD8IRF97YPdn6WUBGP1fETETf+2TBXFY1aMa5A8Li1
 PdyFu6v+eoQHnuwrlPUffuK5TaAJhU0Nka1bEAdNkfj9d1R6UsxYdbrhsgj2ZKqu4hXS
 zhdTFVVzYMBq9gxLntcnUGxoFYLfmifH75QA0FonyxwWAHPgcMZPpDJM+yIy0wP7jfyH
 9QyJHM3A7dy+wE1t+vkTAuJwliOzxJqrTwlTepWuEURR5+dEU9UzVLquO737HutRKYJN
 45/x9VPL3GusApw0xsqHoN+2qBZFl0CxxYNe511kZ/j52Ry6vEjiswkEtPG6PomJfJPQ
 SIZg==
X-Gm-Message-State: APjAAAWfT/Vrj8x6JOirEk4dNc4/nV4ckRY4p2RLt/hOgOBBSR0lnyjl
 anG5XUEowesXX1e7lXmobsA5wa2sWVYOe812Bcc=
X-Google-Smtp-Source: APXvYqwJzE24e5JfaGUQAv8l3LLVaZGq3Hy+c6MJxXIcuxHPJrX7LbLRIWglyybXXNLrDTyu70qA9vo6xtY5nZPkmuU=
X-Received: by 2002:a63:5f01:: with SMTP id t1mr25040589pgb.200.1566356804805; 
 Tue, 20 Aug 2019 20:06:44 -0700 (PDT)
MIME-Version: 1.0
References: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
 <45280.87155.162160.23900@HIDDEN>
In-Reply-To: <45280.87155.162160.23900@HIDDEN>
From: Stefan Kangas <stefan@HIDDEN>
Date: Wed, 21 Aug 2019 05:06:33 +0200
Message-ID: <CADwFkmn2URO+wZhBH0KaOF-p69p6FwcnJYDA5yN5EfeG0LH=XQ@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
To: Roland Winkler <winkler@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org,
 Stephen Berman <stephen.berman@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Roland Winkler <winkler@HIDDEN> writes:

> I believe, the cleanest, backward-compatible solution would be to
> use bbdb-anniv-goto-entry as a replacement for diary-goto-entry
> and declare diary-goto-entry-function obsolete.  (The obsolete
> variable diary-goto-entry-function could be kept for some time
> without harm.)

Thanks for clarifying.  Would you be willing to write that up, if
everyone agrees on the solution?

Thanks,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 21 Aug 2019 02:48:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 20 22:48:11 2019
Received: from localhost ([127.0.0.1]:34379 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i0GfT-0005pL-J8
	for submit <at> debbugs.gnu.org; Tue, 20 Aug 2019 22:48:11 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56556)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <winkler@HIDDEN>) id 1i0GfS-0005p6-D3
 for 15987 <at> debbugs.gnu.org; Tue, 20 Aug 2019 22:48:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:33272)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>)
 id 1i0GfM-0004rs-Rm; Tue, 20 Aug 2019 22:48:04 -0400
Received: from [2602:30a:2e52:d720:65b7:1416:12e7:8bfb] (port=43876
 helo=regnitz)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <winkler@HIDDEN>)
 id 1i0GfL-000079-Mr; Tue, 20 Aug 2019 22:48:04 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <45280.87155.162160.23900@HIDDEN>
Date: Tue, 20 Aug 2019 21:48:00 -0500
From: "Roland Winkler" <winkler@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
In-Reply-To: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
References: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org,
 Stephen Berman <stephen.berman@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

On Sun Aug 18 2019 Stefan Kangas wrote:
> "Roland Winkler" <winkler@HIDDEN> writes:
> > On Sun Dec 1 2013 Stephen Berman wrote:
> >> It should be possible to do this by implementing a BBDB function for
> >> diary-goto-entry-function; see todo-diary-goto-entry for an example.
> >> (In fact, diary-goto-entry-function was added when the new version of
> >> todo-mode.el was added to Emacs, precisely for this purpose; note,
> >> however, that Todo files that are meant to contain diary entries must be
> >> included in the diary by the usual #include mechanism.)
> >
> > Thanks, I'll look into this.  Hopefully, such an approach will not
> > require too dirty tricks.
> 
> Did you ever get a chance to look into this?  I'm asking since it's
> been a while (six years more or less), and it would be good if we
> could clarify if this is indeed doable and/or desirable.

Thanks for the reminder.  Some time ago, I implemented a solution to
this, see the function bbdb-anniv-goto-entry in bbdb-anniv.el that
serves as a value for diary-goto-entry-function (see BBDB in GNU
Elpa or the BBDB repository on savannah).  Despite its (current)
prefix `bbdb' the function bbdb-anniv-goto-entry is really
independent of BBDB and it should work for other packages, too.  The
idea is to give strings passed to `diary-add-to-list' a text
property `diary-goto-entry' which should be a list (FUNCTION ARG1
ARG2 ...), see the docstring of bbdb-anniv-goto-entry.  Then,
bbdb-anniv-goto-entry checks for the presence of this text property
and calls FUNCTION to locate the entry.

I believe, the cleanest, backward-compatible solution would be to
use bbdb-anniv-goto-entry as a replacement for diary-goto-entry
and declare diary-goto-entry-function obsolete.  (The obsolete
variable diary-goto-entry-function could be kept for some time
without harm.)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 18 Aug 2019 17:55:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 18 13:55:52 2019
Received: from localhost ([127.0.0.1]:58576 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzPPD-0004Zr-Vv
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 13:55:52 -0400
Received: from mail-pg1-f182.google.com ([209.85.215.182]:35177)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1hzPPC-0004Zb-BV
 for 15987 <at> debbugs.gnu.org; Sun, 18 Aug 2019 13:55:50 -0400
Received: by mail-pg1-f182.google.com with SMTP id n4so5566145pgv.2
 for <15987 <at> debbugs.gnu.org>; Sun, 18 Aug 2019 10:55:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc;
 bh=HLBDzkOOfMk28QB0FHZFKOp67z0Ex6SajYHrSqp5oHQ=;
 b=b8mqDUlCJUuYX04B/+Y1LUXUQ74w56UtuYTF0UwCTt80hZnuJNvn2CbMPMJVpu/Uc1
 vrtW5Qp6g6jLXVvzqErNXqbUkA9lHZ2LnMW94RuF7lJb2ndFjpvqAx3dMod1g6T3gI0c
 4yTPcWTXD5Iz5DzF16omkwWDsKIM4fvfDeviGFuomZQ+IPYhk0Mpe7HNpojBvJ6k3AXg
 elhFrgnvbv6vCjG/QmZHpxRAg45Ug5yGXATVfbjz/18XJhAN/lUi0p9bL7gGK2gNaA8r
 5lSEBKJMdV/spGkH5hs+s8uoQT9SJVizp8emPPBcRGKi6NsgmL7nYBZO1lviCi+N1Qny
 A4AA==
X-Gm-Message-State: APjAAAX43yYI5XpXNXj9+kRxyt3BHeFhIU0SUT1fCiysoTv29l/jjTqs
 eZiMZox1E3qUmF+PWz6MGM0Pr1h/cUTnu3YCm5DdzsuE
X-Google-Smtp-Source: APXvYqz0p87Uo8USpVl5TILjWgVtGRURCUBmYDvj0y9u5+BnFh4kwexd8uHU4PbRQdXyYqmR05Y1LryQNXZKkyLQAjk=
X-Received: by 2002:a63:5f01:: with SMTP id t1mr15153032pgb.200.1566150944560; 
 Sun, 18 Aug 2019 10:55:44 -0700 (PDT)
MIME-Version: 1.0
From: Stefan Kangas <stefan@HIDDEN>
Date: Sun, 18 Aug 2019 19:55:33 +0200
Message-ID: <CADwFkm=LkxkSRw8y4hFq7jxc03sWzhjfWWOEwPhq2=o1QVQ5-w@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
To: Roland Winkler <winkler@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org,
 Stephen Berman <stephen.berman@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

"Roland Winkler" <winkler@HIDDEN> writes:

> On Sun Dec 1 2013 Stephen Berman wrote:
>> It should be possible to do this by implementing a BBDB function for
>> diary-goto-entry-function; see todo-diary-goto-entry for an example.
>> (In fact, diary-goto-entry-function was added when the new version of
>> todo-mode.el was added to Emacs, precisely for this purpose; note,
>> however, that Todo files that are meant to contain diary entries must be
>> included in the diary by the usual #include mechanism.)
>
> Thanks, I'll look into this.  Hopefully, such an approach will not
> require too dirty tricks.

Hi Roland,

Did you ever get a chance to look into this?  I'm asking since it's
been a while (six years more or less), and it would be good if we
could clarify if this is indeed doable and/or desirable.

Thanks,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 2 Dec 2013 01:46:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 01 20:46:24 2013
Received: from localhost ([127.0.0.1]:53714 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VnIae-00043X-38
	for submit <at> debbugs.gnu.org; Sun, 01 Dec 2013 20:46:24 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:42865 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <winkler@HIDDEN>) id 1VnIab-00043P-Nh
 for 15987 <at> debbugs.gnu.org; Sun, 01 Dec 2013 20:46:22 -0500
Received: from ip98-171-161-69.sb.sd.cox.net ([98.171.161.69]:46310
 helo=regnitz)
 by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <winkler@HIDDEN>)
 id 1VnIaa-00023g-KA; Sun, 01 Dec 2013 20:46:20 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <21147.58985.961200.302460@HIDDEN>
Date: Sun, 1 Dec 2013 19:46:17 -0600
From: "Roland Winkler" <winkler@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
In-Reply-To: <871u1w3hi9.fsf@HIDDEN>
References: <87a9gopp20.fsf@HIDDEN> <13mwkl32tm.fsf@HIDDEN>
 <21146.36855.78802.434475@HIDDEN>
 <871u1w3hi9.fsf@HIDDEN>
X-Mailer: VM 8.2 trial under 24.3.1 (x86_64-unknown-linux-gnu)
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

On Sun Dec 1 2013 Stephen Berman wrote:
> It should be possible to do this by implementing a BBDB function for
> diary-goto-entry-function; see todo-diary-goto-entry for an example.
> (In fact, diary-goto-entry-function was added when the new version of
> todo-mode.el was added to Emacs, precisely for this purpose; note,
> however, that Todo files that are meant to contain diary entries must be
> included in the diary by the usual #include mechanism.)

Thanks, I'll look into this.  Hopefully, such an approach will not
require too dirty tricks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 1 Dec 2013 12:03:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 01 07:03:52 2013
Received: from localhost ([127.0.0.1]:52671 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Vn5kd-0003pK-5Y
	for submit <at> debbugs.gnu.org; Sun, 01 Dec 2013 07:03:51 -0500
Received: from mout.gmx.net ([212.227.17.22]:52440)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <stephen.berman@HIDDEN>) id 1Vn5ka-0003p7-OO
 for 15987 <at> debbugs.gnu.org; Sun, 01 Dec 2013 07:03:49 -0500
Received: from rosalinde.fritz.box ([89.245.74.113]) by mail.gmx.com
 (mrgmx003) with ESMTPSA (Nemesis) id 0MDhGw-1VppZY3RSY-00HAEO for
 <15987 <at> debbugs.gnu.org>; Sun, 01 Dec 2013 13:03:43 +0100
From: Stephen Berman <stephen.berman@HIDDEN>
To: "Roland Winkler" <winkler@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
References: <87a9gopp20.fsf@HIDDEN> <13mwkl32tm.fsf@HIDDEN>
 <21146.36855.78802.434475@HIDDEN>
Date: Sun, 01 Dec 2013 13:03:42 +0100
In-Reply-To: <21146.36855.78802.434475@HIDDEN> (Roland Winkler's
 message of "Sat, 30 Nov 2013 19:25:11 -0600")
Message-ID: <871u1w3hi9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:d4WOiE1yn+rb3SDNz65SB4jkOjb1sNlOdpGcBjFubpMeqQm8wU6
 e6qm0sbkmCJRoJ6lgRKp9a+4vfL5jo8avqginu0IWy0fjD6uS4KIbKBtYaJQLFRMbe4epOz
 OCXGYAI5VBWxCT7AU5n0jmEXTgODsEHmia8JZ/P6XfrggNF4mvT2qE9YRQYSb4U0/VNs25x
 NRbu6fDTDoW3ngA6Xhakw==
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 15987
Cc: Glenn Morris <rgm@HIDDEN>, 15987 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

On Sat, 30 Nov 2013 19:25:11 -0600 "Roland Winkler" <winkler@HIDDEN> wrote:

> Well, it would be nice to have some mechanism to let the external
> source of diary entries define what should happen.  I mean, in the
> case of BBDB this is obvious: when pressing "d" this should then
> jump to the respective BBDB record.

It should be possible to do this by implementing a BBDB function for
diary-goto-entry-function; see todo-diary-goto-entry for an example.
(In fact, diary-goto-entry-function was added when the new version of
todo-mode.el was added to Emacs, precisely for this purpose; note,
however, that Todo files that are meant to contain diary entries must be
included in the diary by the usual #include mechanism.)

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 1 Dec 2013 01:25:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 30 20:25:23 2013
Received: from localhost ([127.0.0.1]:52245 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Vmvmj-0005CR-Vk
	for submit <at> debbugs.gnu.org; Sat, 30 Nov 2013 20:25:22 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:50917 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <winkler@HIDDEN>) id 1Vmvme-0005CE-DR
 for 15987 <at> debbugs.gnu.org; Sat, 30 Nov 2013 20:25:17 -0500
Received: from ip98-171-161-69.sb.sd.cox.net ([98.171.161.69]:44032
 helo=regnitz)
 by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <winkler@HIDDEN>)
 id 1Vmvmb-0007oB-W5; Sat, 30 Nov 2013 20:25:14 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <21146.36855.78802.434475@HIDDEN>
Date: Sat, 30 Nov 2013 19:25:11 -0600
From: "Roland Winkler" <winkler@HIDDEN>
To: Glenn Morris <rgm@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
In-Reply-To: <13mwkl32tm.fsf@HIDDEN>
References: <87a9gopp20.fsf@HIDDEN>
	<13mwkl32tm.fsf@HIDDEN>
X-Mailer: VM 8.2 trial under 24.3.1 (x86_64-unknown-linux-gnu)
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 15987
Cc: 15987 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

On Sat Nov 30 2013 Glenn Morris wrote:
> Not sure I agree. It may happen to do something, but this function is
> intended to be used to add entries from a literal diary file.
> These days, it might be called "diary--add-to-list".
> diary-entries-list is dynamically bound during certain diary operations,
> it is not a generally accessible variable.

BBDB's context is that bbdb-anniv-diary-entries is added to
diary-list-entries-hook (which is run when diary-entries-list is
properly bound).  The function bbdb-anniv-diary-entries then calls
diary-add-to-list.  This approach has been used by BBDB for 15
years and I believe that quite a few people have liked this.

No matter whether you consider this approach clean or not, I think
it is reasonable to have *some* mechanism for adding diary entries
from other sources than just diary files.

> It's intended to mark entries from a diary-file, not arbitrary sources.
> So I view this as a wishlist item to have non-diary sources treated as
> diary entries. I don't think this is going to be a high priority for me
> to implement, because it doesn't make much sense to me. Eg what will
> happen when you press "d" on such a marked date in the calendar?

Well, it would be nice to have some mechanism to let the external
source of diary entries define what should happen.  I mean, in the
case of BBDB this is obvious: when pressing "d" this should then
jump to the respective BBDB record.

> This "Searches the file named in `diary-file' for entries that match
> [the date]". There will be no file to search.
> 
> Instead you could simply have a function that exports bbdb data to a
> diary file, and include it from the main diary file. Then everything
> would just work, right now.

I don't know whether it makes much sense to jump to an entry in such
an auto-generated file.  I'd be rather confused.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at 15987 <at> debbugs.gnu.org:


Received: (at 15987) by debbugs.gnu.org; 30 Nov 2013 23:08:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 30 18:08:42 2013
Received: from localhost ([127.0.0.1]:52159 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VmteT-00021Q-NA
	for submit <at> debbugs.gnu.org; Sat, 30 Nov 2013 18:08:41 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:49103 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1VmteR-00021G-1I
 for 15987 <at> debbugs.gnu.org; Sat, 30 Nov 2013 18:08:39 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>)
 id 1VmteP-0003x1-W6; Sat, 30 Nov 2013 18:08:38 -0500
From: Glenn Morris <rgm@HIDDEN>
To: "Roland Winkler" <winkler@HIDDEN>
Subject: Re: bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
References: <87a9gopp20.fsf@HIDDEN>
X-Spook: freedom Firewalls PET military anarchy Adriatic benelux
X-Ran: 0o|w@8VT=(AFOPf`B93/ztwXM'\e,BvhTY4;/a[=yupbqn*#ZED~pYyT;J')4aPz?z"6Z@
X-Hue: red
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Sat, 30 Nov 2013 18:08:37 -0500
Message-ID: <13mwkl32tm.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 15987
Cc: 15987 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

"Roland Winkler" wrote:

> BBDB 3 defines the function bbdb-anniv-diary-entries which adds
> anniversaries from BBDB records to `diary-list-entries' by calling
> diary-add-to-list.  This is a clean thing and works fine.

Not sure I agree. It may happen to do something, but this function is
intended to be used to add entries from a literal diary file.
These days, it might be called "diary--add-to-list".
diary-entries-list is dynamically bound during certain diary operations,
it is not a generally accessible variable.

> Now I've been asked on the BBDB mailing list how these anniversaries
> from BBDB records can also be marked in the Emacs calendar, and it
> seems to me that there is no easy way to achieve this.

It's intended to mark entries from a diary-file, not arbitrary sources.
So I view this as a wishlist item to have non-diary sources treated as
diary entries. I don't think this is going to be a high priority for me
to implement, because it doesn't make much sense to me. Eg what will
happen when you press "d" on such a marked date in the calendar?
This "Searches the file named in `diary-file' for entries that match
[the date]". There will be no file to search.

Instead you could simply have a function that exports bbdb data to a
diary file, and include it from the main diary file. Then everything
would just work, right now.

I mean, you can do something horrible with hooks, eg

(add-hook 'diary-mark-entries-hook
           (lambda () (calendar-mark-date-pattern 11 11 2013)))

But don't do that, just export a diary file.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Nov 2013 14:41:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 28 09:41:12 2013
Received: from localhost ([127.0.0.1]:48521 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Vm2mC-0001t8-Uu
	for submit <at> debbugs.gnu.org; Thu, 28 Nov 2013 09:41:09 -0500
Received: from eggs.gnu.org ([208.118.235.92]:59364)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <winkler@HIDDEN>) id 1Vm2m9-0001sa-HA
 for submit <at> debbugs.gnu.org; Thu, 28 Nov 2013 09:41:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1Vm2ly-000293-De
 for submit <at> debbugs.gnu.org; Thu, 28 Nov 2013 09:41:00 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:47465)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1Vm2lx-00028z-Vp
 for submit <at> debbugs.gnu.org; Thu, 28 Nov 2013 09:40:54 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:32815)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1Vm2lr-0001Fr-Ig
 for bug-gnu-emacs@HIDDEN; Thu, 28 Nov 2013 09:40:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1Vm2ll-00026J-GR
 for bug-gnu-emacs@HIDDEN; Thu, 28 Nov 2013 09:40:47 -0500
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37993)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <winkler@HIDDEN>) id 1Vm2ll-00026F-Dg
 for bug-gnu-emacs@HIDDEN; Thu, 28 Nov 2013 09:40:41 -0500
Received: from 162-229-45-114.lightspeed.cicril.sbcglobal.net
 ([162.229.45.114]:53993 helo=regnitz)
 by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <winkler@HIDDEN>) id 1Vm2ll-000187-0N
 for bug-gnu-emacs@HIDDEN; Thu, 28 Nov 2013 09:40:41 -0500
Date: Thu, 28 Nov 2013 08:40:39 -0600
Message-Id: <87a9gopp20.fsf@HIDDEN>
From: "Roland Winkler" <winkler@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.3; diary-add-to-list ignored by diary-mark-entries
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

I am not an expert with diary and calendar, but it seems to me that
there is an unnecessary duplication of code in diary-list-entries
and diary-mark-entries making it rather difficult to feed entries
into diary-mark-entries if these entries do not come from a diary
file.

The context is the following:

BBDB 3 defines the function bbdb-anniv-diary-entries which adds
anniversaries from BBDB records to `diary-list-entries' by calling
diary-add-to-list.  This is a clean thing and works fine.

Now I've been asked on the BBDB mailing list how these anniversaries
from BBDB records can also be marked in the Emacs calendar, and it
seems to me that there is no easy way to achieve this.  The problem
seems to be that diary-add-to-list is used to set up the diary
buffer.  But diary-mark-entries (or more specifically
diary-mark-entries-1) parses the diary file(s) similarly to what
diary-list-entries is doing; but this is directly used to mark the
calendar buffer.  For marking calendar entries, there is no such
thing as the variable diary-list-entries where "other sources of
diary entries" (beyond diary files) could feed there entries to,
which are then all processed to generate the marking of the calendar
buffer.

Am I missing something?



In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2013-10-04 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.3 LTS




Acknowledgement sent to "Roland Winkler" <winkler@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15987; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.