GNU bug report logs - #644
diary-anniversary to optionally show "negative" anniversaries for future events

Previous Next

Package: emacs;

Reported by: weg <at> indiscrete.org (Eythan Weg)

Date: Sun, 3 Aug 2008 17:10:04 UTC

Severity: wishlist

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 644 in the body.
You can then email your comments to 644 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#644; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to weg <at> indiscrete.org (Eythan Weg):
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: weg <at> indiscrete.org (Eythan Weg)
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; diary-anniversary failure
Date: Sun, 03 Aug 2008 13:02:58 -0400
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:



emacs -Q
M-: (setq diary-file "~/dd")

the content of dd is:

%%(diary-anniversary 11 14 2008) Y's Birthday 
%%(diary-anniversary 1 14 2008) X's Birthday 

Start the calendar.  Check the diary for the two
dates.  The first anniversary fails to show.  The
second works.

Thanks,  Eythan


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/weg/sources/emacs/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.10)
 of 2008-08-03 on gauss
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--enable-font-backend''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  shell-dirtrack-mode: t
  recentf-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  display-time-mode: t
  auto-image-file-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
C-s f i s <return> <return> M-x g n u s <return> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> C-u 3 0 <return> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <return> <down> <return> <down> <return> 
<down> <return> <up> <up> <up> <up> <up> <up> <up> 
<up> <return> SPC <backspace> <down> <return> <backspace> 
<up> <up> <return> SPC SPC <backspace> SPC <down> <down> 
<up> <return> M-x e m a c s - v TAB <return> M-x C-g 
C-g C-h f e m a c s - v e TAB <return> <help-echo> 
<down-mouse-2> <mouse-2> <help-echo> <down-mouse-2> 
<mouse-2> <help-echo> <down-mouse-2> <mouse-2> <help-echo> 
<help-echo> <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <return> <down> <up> <up> 
<return> <down> <return> <down> <return> SPC <backspace> 
M-x b u g TAB <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> r e p o TAB C-g C-g C-h f r e p o r t - 
e m TAB b TAB <return> M-x r e p o TAB r TAB b u g 
<return> a n n i v e r s a r y SPC <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
C-g M-c c <backspace> C-g C-g M-x c a l e TAB <return> 
<menu-bar> <Diary> <Insert Anniversary> C-x b <return> 
M-x r e p o TAB r TAB e m TAB <backspace> <backspace> 
<backspace> - b u TAB <return>

Recent messages:
Making completion list...
Quit [2 times]
Type C-x 4 C-o RET to restore the other window.
Making completion list...
Quit
call-interactively: Buffer is read-only: #<buffer *Summary nntp+news.gmane.org:gmane.emacs.pretest.bugs*>
Mark all unread articles as read? (y or n) 
Quit [2 times]
Mark set
Making completion list...




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#644; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to reingold <at> emr.cs.iit.edu (Edward M. Reingold):
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: reingold <at> emr.cs.iit.edu (Edward M. Reingold)
To: gnu-emacs-bug <at> moderators.isc.org
Cc: weg <at> indiscrete.org
Subject: Re: bug#644: 23.0.60; diary-anniversary failure
Date: 04 Aug 2008 16:31:57 -0500
>>>>> "EW" == Eythan Weg <weg <at> indiscrete.org> writes:

    EW> emacs -Q M-: (setq diary-file "~/dd")
    EW> the content of dd is:
    EW> %%(diary-anniversary 11 14 2008) Y's Birthday %%(diary-anniversary 1
    EW> 14 2008) X's Birthday

    EW> Start the calendar.  Check the diary for the two dates.  The first
    EW> anniversary fails to show.  The second works.

Where is the cursor (what date)?  The 0th anniversary will never appear.
-- 

Professor Edward M. Reingold                Email: reingold <at> iit.edu
Department of Computer Science              Voice: (312) 567-3309
Illinois Institute of Technology            Fax:   (312) 567-5067
Stuart Building, 228F
10 West 31st Street
Chicago, IL  60616-3729  U.S.A.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#644; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to weg <at> indiscrete.org (Eythan Weg):
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: weg <at> indiscrete.org (Eythan Weg)
To: bug-gnu-emacs <at> gnu.org
Cc: reingold <at> emr.cs.iit.edu (Edward M. Reingold)
Subject: Re: bug#644: 23.0.60; diary-anniversary failure
Date: Tue, 05 Aug 2008 11:11:21 -0400
Makes sense.  I have not noticed my error because
normally I know the start year.  My error stemmed
from using the menu to insert an anniversary while
the cursor in the calendar buffer is on the
correct day and month of the current year (the
current year because the correct year was not
known, a common occurrence in regard to age).

Would it be wrong to allow future birth days in
diary-anniversary, so past and future are
symmetric?

Thank you.

Eythan Weg

reingold <at> emr.cs.iit.edu (Edward M. Reingold)
04 Aug 2008 16:31:57 -0500

   >>>>> "EW" == Eythan Weg <weg <at> indiscrete.org> writes:
   
       EW> emacs -Q M-: (setq diary-file "~/dd")
       EW> the content of dd is:
       EW> %%(diary-anniversary 11 14 2008) Y's Birthday %%(diary-anniversary 1
       EW> 14 2008) X's Birthday
   
       EW> Start the calendar.  Check the diary for the two dates.  The first
       EW> anniversary fails to show.  The second works.
   
   Where is the cursor (what date)?  The 0th anniversary will never appear.
   -- 
   
   Professor Edward M. Reingold                Email: reingold <at> iit.edu
   Department of Computer Science              Voice: (312) 567-3309
   Illinois Institute of Technology            Fax:   (312) 567-5067
   Stuart Building, 228F
   10 West 31st Street
   Chicago, IL  60616-3729  U.S.A.






Severity set to `wishlist' from `normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 12 Aug 2008 17:35:06 GMT) Full text and rfc822 format available.

Owner recorded as Glenn Morris <rgm <at> gnu.org>. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 12 Aug 2008 17:35:06 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs' to `emacs,calendar'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 20 Aug 2008 17:00:04 GMT) Full text and rfc822 format available.

Removed annotation that bug was owned by Glenn Morris <rgm <at> gnu.org>. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 29 Jan 2010 19:07:02 GMT) Full text and rfc822 format available.

bug reassigned from package 'emacs,calendar' to 'emacs'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 30 Mar 2010 07:12:02 GMT) Full text and rfc822 format available.

Changed bug title to 'diary-anniversary to optionally show \"negative\" anniversaries for future events' from '23.0.60; diary-anniversary failure' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 04 Oct 2011 19:17:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#644; Package emacs. (Sat, 04 Dec 2021 21:48:02 GMT) Full text and rfc822 format available.

Message #30 received at 644 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: weg <at> indiscrete.org (Eythan Weg)
Cc: "Edward M. Reingold" <reingold <at> emr.cs.iit.edu>, 644 <at> debbugs.gnu.org
Subject: Re: bug#644: diary-anniversary to optionally show "negative"
 anniversaries for future events
Date: Sat, 04 Dec 2021 22:47:16 +0100
weg <at> indiscrete.org (Eythan Weg) writes:

> Makes sense.  I have not noticed my error because
> normally I know the start year.  My error stemmed
> from using the menu to insert an anniversary while
> the cursor in the calendar buffer is on the
> correct day and month of the current year (the
> current year because the correct year was not
> known, a common occurrence in regard to age).
>
> Would it be wrong to allow future birth days in
> diary-anniversary, so past and future are
> symmetric?

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I'm not sure I understand the problem here.  As far as I can tell, it's
fine to insert a future birthday.  I tried:

%%(diary-anniversary 12 14 2021) X's Birthday 

And then the 14th of December 2022 had that date marked.  (We're not
marking the 0th anniversary.)

But I may be misunderstanding what this report is about.  Do you have a
recipe, starting from "emacs -Q", that demonstrates the problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 04 Dec 2021 21:48:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#644; Package emacs. (Sat, 04 Dec 2021 23:43:02 GMT) Full text and rfc822 format available.

Message #35 received at 644 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "Edward M. Reingold" <reingold <at> emr.cs.iit.edu>, 644 <at> debbugs.gnu.org,
 Eythan Weg <weg <at> indiscrete.org>
Subject: Re: bug#644: diary-anniversary to optionally show "negative"
 anniversaries for future events
Date: Sun, 05 Dec 2021 00:42:08 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I'm not sure I understand the problem here.  As far as I can tell, it's
> fine to insert a future birthday.

And when you don't know the year `diary-anniversary' expressions work
without specifying a year too (since Emacs 22 or so).

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#644; Package emacs. (Sun, 05 Dec 2021 19:49:02 GMT) Full text and rfc822 format available.

Message #38 received at 644 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: "Edward M. Reingold" <reingold <at> emr.cs.iit.edu>, 644 <at> debbugs.gnu.org,
 Eythan Weg <weg <at> indiscrete.org>
Subject: Re: bug#644: diary-anniversary to optionally show "negative"
 anniversaries for future events
Date: Sun, 05 Dec 2021 20:48:09 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> I'm not sure I understand the problem here.  As far as I can tell, it's
>> fine to insert a future birthday.
>
> And when you don't know the year `diary-anniversary' expressions work
> without specifying a year too (since Emacs 22 or so).

I see.  Then I guess there's nothing to do here in this bug report, and
I'm closing it.  (If this is a mistake, please respond to the debbugs
address and we'll reopen.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 644 <at> debbugs.gnu.org and weg <at> indiscrete.org (Eythan Weg) Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 05 Dec 2021 19:49:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 03 Jan 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 113 days ago.

Previous Next


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