GNU bug report logs -
#78120
31.0.50; Calendar is not reliable with its marking
Previous Next
Full log
Message #41 received at 78120 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>, 78120 <at> debbugs.gnu.org
>> Date: Tue, 06 May 2025 08:23:58 +0200
>>
>> Michael Heerdegen <michael_heerdegen <at> web.de> writes:
>>
>> > Manuel Giraud <manuel <at> ledu-giraud.fr> writes:
>> >
>> >> I think a better way would be to use the overlay priority and be able to
>> >> select from the diary date.
>> >
>> > What do you mean by "select from the diary date"?
>>
>> Sorry, I wasn't clear. At least for diary dates entered in sexp forms,
>> one can add an optional face (or a mark string) like this:
>>
>> %%(diary-anniversary 11 5 1955 'error) Marty arrives
>>
>> So maybe, we could have another optional parameter to add an overlay
>> priority value.
>
> IMO, it makes little sense to bother users with overlay priorities.
> That's a highly technical issue, and defining a good value requires to
> have intimate knowledge about the relevant features and functions.
>
> Why cannot the priority come from the code itself? If you are saying
> that it is impossible to decide which face should haver precedence,
> something that I find very surprising, then some kind of user option
> that allows to set the priority of one overlay higher or lower than
> the other (without actually asking users to provide the priority
> itself) would make more sense. But up front, I'd be very surprised to
> hear that we are unable to make the correct decision without burdening
> the users with these decisions. If that is what you think, please try
> to explain in detail why such a decision is impossible. Surely, out
> of the two faces one conveys information that is more important than
> the other?
I don't really understand when you say that we could decide which face
will have precedence over another. If you have a face that says
"foreground is red" and another one that says "foreground is blue" how
could we decide which one speaks the truth?
Or maybe you are talking about having a precedence defined on faces'
names? But even then, for the diary, AFAIK we have 3 faces: diary,
diary-anniversary and holiday. What should be their order of
importance? I don't know.
--
Manuel Giraud
This bug report was last modified 37 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.