GNU bug report logs - #78120
31.0.50; Calendar is not reliable with its marking

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Mon, 28 Apr 2025 14:48:02 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: michael_heerdegen <at> web.de, 78120 <at> debbugs.gnu.org
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Date: Tue, 06 May 2025 21:26:40 +0300
> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
> Cc: michael_heerdegen <at> web.de,  78120 <at> debbugs.gnu.org
> Date: Tue, 06 May 2025 19:50:00 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > 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?

Each face has a meaning, I presume?  If one face marks a date because
John Doe was born at that day, and another face marks the same date
because I have an important meeting, then the latter should "win",
right?

> Or maybe you are talking about having a precedence defined on faces'
> names?

Not names, meanings.  The names here don't explain themselves: 'diary'
and 'success'.  If you know what those faces mean, please tell, and I
will try to suggest which one should win in this case.

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

That's not our case.  Maybe there are more cases where we need to
decide, but let's first fix our case.  Then we could discuss other
cases.

(Up front, I'd say that 'diary' should override the others, but I'm
open to counter-arguments.)




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.