GNU bug report logs - #19965
24.3; diary-face-attrs and appt-warning-time-regexp cannot be combined

Previous Next

Package: emacs;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Fri, 27 Feb 2015 22:35:01 UTC

Severity: minor

Tags: fixed, moreinfo

Found in version 24.3

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Reichör <stefan <at> xsteve.at>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 19965 <at> debbugs.gnu.org
Subject: bug#19965: 24.3; diary-face-attrs and appt-warning-time-regexp cannot be combined
Date: Mon, 28 Dec 2020 15:34:41 +0100
Hi Lars!

Thanks a lot for going through old bugs.

This way you can reproduce the problem using "emacs -Q":

;; Content of ~/diary-test (adjust date + time to be a few minutes in the future):
12/28/2020 15:40 Test reminder, warntime used ## warntime 32
12/28/2020 15:41 Test reminder, colored [background:red]
12/28/2020 15:42 Test reminder combined1, not colored [background:red] ## warntime 34
12/28/2020 15:43 Test reminder combined2, not colored ## warntime 36 [background:red] 
01/01/2021 New year [background:yellow]



(setq diary-file "~/diary-test")

(add-hook 'diary-display-hook 'fancy-diary-display)
(add-hook 'calendar-initial-window-hook 'diary-mark-entries)

(require 'appt)
(calendar)

;; force checking of appointments
(appt-check t)

;; appt-time-msg-list should contain the new appointment
(describe-variable 'appt-time-msg-list)


Stefan.


> Stefan Reichör <stefan <at> xsteve.at> writes:
>
>> I use two features of the diary:
>>
>> a) The appointment warntime
>>
>> ,----
>> | 27/02/2015 23:45 Test ## warntime 30
>> `----
>>
>> That way I can override the warntime for an entry
>>
>> b) special text properties for the calendar view
>>
>> ,----
>> | 27/02/2015 23:45 Test [background:yellow]
>> `----
>>
>> Now I want to combine both features.
>>
>> I tried the following two variants, but they don't work:
>>
>> ,----
>> | 27/02/2015 23:45 Test ## warntime 30 [background:yellow]
>
> (I'm going through old bug reports that unfortunately got no response at
> the time.)
>
> So you have a test case, starting from "emacs -Q", to reproduce this
> bug?  That'll be helpful when trying to fix this.




This bug report was last modified 4 years and 143 days ago.

Previous Next


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