unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#644: 23.0.60; diary-anniversary failure
@ 2008-08-03 17:02 Eythan Weg
  0 siblings, 0 replies; 6+ messages in thread
From: Eythan Weg @ 2008-08-03 17:02 UTC (permalink / raw)
  To: emacs-pretest-bug


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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#644: 23.0.60; diary-anniversary failure
       [not found] <mailman.15817.1217827742.18990.bug-gnu-emacs@gnu.org>
@ 2008-08-04 21:31 ` Edward M. Reingold
  2008-08-05 15:11   ` Eythan Weg
  0 siblings, 1 reply; 6+ messages in thread
From: Edward M. Reingold @ 2008-08-04 21:31 UTC (permalink / raw)
  To: gnu-emacs-bug; +Cc: weg

>>>>> "EW" == Eythan Weg <weg@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@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.







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#644: 23.0.60; diary-anniversary failure
  2008-08-04 21:31 ` bug#644: 23.0.60; diary-anniversary failure Edward M. Reingold
@ 2008-08-05 15:11   ` Eythan Weg
  2021-12-04 21:47     ` bug#644: diary-anniversary to optionally show "negative" anniversaries for future events Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Eythan Weg @ 2008-08-05 15:11 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: Edward M. Reingold


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@emr.cs.iit.edu (Edward M. Reingold)
04 Aug 2008 16:31:57 -0500

   >>>>> "EW" == Eythan Weg <weg@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@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.








^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#644: diary-anniversary to optionally show "negative" anniversaries for future events
  2008-08-05 15:11   ` Eythan Weg
@ 2021-12-04 21:47     ` Lars Ingebrigtsen
  2021-12-04 23:42       ` Michael Heerdegen
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-04 21:47 UTC (permalink / raw)
  To: Eythan Weg; +Cc: Edward M. Reingold, 644

weg@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#644: diary-anniversary to optionally show "negative" anniversaries for future events
  2021-12-04 21:47     ` bug#644: diary-anniversary to optionally show "negative" anniversaries for future events Lars Ingebrigtsen
@ 2021-12-04 23:42       ` Michael Heerdegen
  2021-12-05 19:48         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Heerdegen @ 2021-12-04 23:42 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Edward M. Reingold, Eythan Weg, 644

Lars Ingebrigtsen <larsi@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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#644: diary-anniversary to optionally show "negative" anniversaries for future events
  2021-12-04 23:42       ` Michael Heerdegen
@ 2021-12-05 19:48         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-05 19:48 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: Edward M. Reingold, Eythan Weg, 644

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-12-05 19:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.15817.1217827742.18990.bug-gnu-emacs@gnu.org>
2008-08-04 21:31 ` bug#644: 23.0.60; diary-anniversary failure Edward M. Reingold
2008-08-05 15:11   ` Eythan Weg
2021-12-04 21:47     ` bug#644: diary-anniversary to optionally show "negative" anniversaries for future events Lars Ingebrigtsen
2021-12-04 23:42       ` Michael Heerdegen
2021-12-05 19:48         ` Lars Ingebrigtsen
2008-08-03 17:02 bug#644: 23.0.60; diary-anniversary failure Eythan Weg

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