unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 4065@debbugs.gnu.org
Subject: bug#4065: Possible circular calls in appt-make-list and diary-list-entries
Date: Sat, 20 Mar 2010 20:01:40 +0000	[thread overview]
Message-ID: <xbai634qiwyj.fsf@cam.ac.uk> (raw)
In-Reply-To: <p14okaam7a.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 20 Mar 2010 14:21:13 -0400")

On 2010-03-20 18:21 +0000, Glenn Morris wrote:
> Leo wrote:
>
>> I investigated this problem a bit and found it is not due to org. It is
>> a bug in diary and appt.
>
> Please give an example starting from emacs -Q and not involving org
> that shows the problem. Thanks.

1. Emacs -q and eval the following lines one by one
(setq calendar-date-style 'european)
(require 'diary-lib)
(setq diary-file "~/diary")
(add-hook 'diary-hook 'appt-make-list)
(setq diary-number-of-entries 100)

2. insert some entries into the diary and then eval

(diary-list-entries '(3 16 2010) 1)

3. I was able to get the return value of (diary-list-entries '(3 16
2010) 100) but not (diary-list-entries '(3 16 2010) 1).

Cheers,

Leo






  reply	other threads:[~2010-03-20 20:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06 12:11 bug#4065: 23.1.50; org includes calendar entries on the wrong day Leo
2009-08-06 13:07 ` bug#4066: " Carsten Dominik
2010-03-17 12:44 ` bug#4065: Possible circular calls in appt-make-list and diary-list-entries (was: bug#4065: 23.1.50; org includes calendar entries on the wrong day) Leo
2010-03-20 18:21   ` bug#4065: Possible circular calls in appt-make-list and diary-list-entries Glenn Morris
2010-03-20 20:01     ` Leo [this message]
2010-09-30  2:24       ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xbai634qiwyj.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=4065@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).