GNU bug report logs -
#6999
saving included diary files does not regenerate the appointment list
Previous Next
Reported by: Leo <sdl.web <at> gmail.com>
Date: Wed, 8 Sep 2010 12:30:03 UTC
Severity: minor
Tags: patch
Found in version 23.2
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 6999 <at> debbugs.gnu.org (full text, mbox):
On 2010-09-14 01:24 +0100, Glenn Morris wrote:
> Leo wrote:
>
>> - (and (string-equal buffer-file-name (expand-file-name diary-file))
>> + (and (or (string-equal buffer-file-name (expand-file-name diary-file))
>> + (eq major-mode 'diary-mode))
>
> There's no particular reason that the included diary files should be
> being visited in diary-mode. I'll try to find a different fix (I'm
> thinking maybe running diary-list-entries should store a list of any
> include files that were found).
But the point of that is to decide whether to call appt-check (hence
diary-list-entries, which is expensive). Looks like somehow diary-lib
needs a function to return all included files without doing list
entries. Thanks for looking into this.
Leo
This bug report was last modified 14 years and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.