X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Apr 2025 14:48:02 +0000
Resent-Message-ID: <handler.78120.B.174585167629843 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 78120 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174585167629843
(code B ref -1); Mon, 28 Apr 2025 14:48:02 +0000
Received: (at submit) by debbugs.gnu.org; 28 Apr 2025 14:47:56 +0000
Received: from localhost ([127.0.0.1]:59051 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1u9Plw-0007l0-HB
for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 10:47:55 -0400
Received: from lists.gnu.org ([2001:470:142::17]:34222)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
id 1u9Plr-0007jp-GQ
for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 10:47:50 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
id 1u9Plk-00032F-Cr
for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 10:47:40 -0400
Received: from ledu-giraud.fr ([51.159.28.247])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
id 1u9Plh-0003MS-FH
for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 10:47:40 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=J+FeAjA/
YULnZQgPL71mVTBpetUg6jIhMZkj5kRJ8Wo=; h=date:subject:to:from;
d=ledu-giraud.fr;
b=ZlOV6HJ7UnDcZYF5NPQ+GZe9drCHn/Jhq53a0LHkv5Zk9C0pDl
7Iw2lLsn83iChHpXRryj6gIINPTUeE2haHBg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=J+FeAjA/YULnZQgP
L71mVTBpetUg6jIhMZkj5kRJ8Wo=; h=date:subject:to:from;
d=ledu-giraud.fr; b=WPJgg3zfNwgTcNG8ZN6e/BMAkAjf5klLGhlWhVwrc5Yjl9ziqM
Z4Laubeqba9fwTolp5hlLptRthqq7HCcYjP0k608L2L+ulgBLQcaiOYO4JI0sfdDTYYqsl
mr51vcq7uqC+q8PvSR4xXkwP0hH8sYeFB8oSSmciwvut4O8ESZMGfoZw5BooVoDS+MselL
OdTbucgw+CmaAlZiZh6bv42lGZUl/+qX/iiv+QKMstVYPfxEIJLLy4e3531cEdJqUJLUSJ
tlJ4k4YsNLg0Ekqc75257645K9lOsfJQIta+8QXrS93w3Ff9Z2R/YuFr5vbMScCT2OlBK7
z4CpW+UDj0zw==
Received: from computer (<unknown> [10.1.1.1])
by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 994e1447
(TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <bug-gnu-emacs@HIDDEN>;
Mon, 28 Apr 2025 16:47:34 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
Date: Mon, 28 Apr 2025 16:47:31 +0200
Message-ID: <877c34qr5o.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@HIDDEN;
helo=ledu-giraud.fr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)
Hi,
It seems that the calendar is not reliable with its marking of diary
events. Here is a recipe:
1) emacs -Q
2) Open the file "/tmp/diary", fill it with the following
contents and save:
--8<---------------cut here---------------start------------->8---
%%(diary-block 5 4 2025 5 4 2025 'success) Success
May 4 2025 Good day
--8<---------------cut here---------------end--------------->8---
3) M-: (use-package diary-lib :custom (diary-file "/tmp/diary"))
4) M-x calendar
5) Hit 'm' (diary-mark-entries) a few times. Observe that the
fourth of May has not always the same color.
Maybe this is a limitation of overlays but when I tried to test
(lightly) with overlapping overlays the visual results were always the
same.
In GNU Emacs 31.0.50 (build 11, x86_64-unknown-openbsd7.7, X toolkit) of
2025-04-28 built on computer
Repository revision: c801856820c17247416846ac565b81268b4aca16
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101016
System Description: OpenBSD computer 7.7 GENERIC.MP#626 amd64
Configured using:
'configure CC=egcc CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs
--bindir=/home/manuel/bin --with-x-toolkit=lucid
--with-toolkit-scroll-bars=no --without-cairo
--without-compress-install'
Configured features:
DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF
LIBXML2 M17N_FLT MODULES NOTIFY KQUEUE PDUMPER PNG RSVG SQLITE3 THREADS
TIFF TREE_SITTER WEBP X11 XAW3D XDBE XFT XIM XINERAMA XINPUT2 XPM XRANDR
LUCID ZLIB
Important settings:
value of $LC_CTYPE: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Elisp/l
Minor modes in effect:
debbugs-browse-mode: t
bug-reference-prog-mode: t
display-time-mode: t
display-battery-mode: t
desktop-save-mode: t
exwm-randr-mode: t
server-mode: t
electric-pair-mode: t
override-global-mode: t
repeat-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
minibuffer-regexp-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
/home/manuel/prog/elisp/exwm/exwm hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm
/home/manuel/prog/elisp/exwm/exwm-xsettings hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-xsettings
/home/manuel/prog/elisp/exwm/exwm-xim hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-xim
/home/manuel/prog/elisp/exwm/exwm-workspace hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-workspace
/home/manuel/prog/elisp/exwm/exwm-randr hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-randr
/home/manuel/prog/elisp/exwm/exwm-manage hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-manage
/home/manuel/prog/elisp/exwm/exwm-layout hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-layout
/home/manuel/prog/elisp/exwm/exwm-input hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-input
/home/manuel/prog/elisp/exwm/exwm-floating hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-floating
/home/manuel/prog/elisp/exwm/exwm-systemtray hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-systemtray
/home/manuel/prog/elisp/exwm/exwm-core hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-core
/home/manuel/prog/elisp/exwm/exwm-background hides /home/manuel/.emacs.d/elpa/exwm-0.33/exwm-background
/home/manuel/.emacs.d/elpa/ef-themes-1.9.0/theme-loaddefs hides /home/manuel/emacs/share/emacs/31.0.50/lisp/theme-loaddefs
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlwave hides /home/manuel/emacs/share/emacs/31.0.50/lisp/obsolete/idlwave
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlw-toolbar hides /home/manuel/emacs/share/emacs/31.0.50/lisp/obsolete/idlw-toolbar
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlw-shell hides /home/manuel/emacs/share/emacs/31.0.50/lisp/obsolete/idlw-shell
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlw-help hides /home/manuel/emacs/share/emacs/31.0.50/lisp/obsolete/idlw-help
/home/manuel/.emacs.d/elpa/idlwave-6.5.1/idlw-complete-structtag hides /home/manuel/emacs/share/emacs/31.0.50/lisp/obsolete/idlw-complete-structtag
Features:
(shadow sort mail-extr ispell emacsbug lisp-mnt org-agenda hi-lock
tex-mode slime-asdf grep slime-tramp tramp trampver tramp-integration
tramp-message tramp-compat shell tramp-loaddefs slime-fancy
slime-indentation slime-cl-indent cl-indent slime-trace-dialog
slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree advice slime-scratch slime-presentations
slime-macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy
slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-repl slime-parse slime
apropos etags fileloop xref arc-mode archive-mode hyperspec
semantic/wisent/grammar semantic/bovine semantic/grammar help-fns
radix-tree semantic/idle semantic/analyze semantic/sort semantic/scope
semantic/analyze/fcn semantic/db semantic/grammar-wy semantic/format
semantic/tag-ls semantic/find semantic/ctxt semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet on-screen
make-mode flymake compile view python project macrostep-c cmacexp
macrostep org-indent oc-basic org-element org-persist org-id
org-element-ast inline avl-tree generator ol-eww eww vtable mule-util
url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
ol-docview ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi cus-start
gnus-icalendar org-capture org-refile org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src sh-script smie treesit executable
ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color org-list
org-footnote org-faces org-entities org-version ob-emacs-lisp ob-core
ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc
org-loaddefs org-compat org-macs format-spec doc-view filenotify
jka-compr image-mode exif emacs-news-mode noutline outline texinfo
texinfo-loaddefs gnus-dired vc-dir ewoc vc-hg vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs log-view log-edit add-log pcvs-util vc-git
diff-mode track-changes files-x vc vc-dispatcher debbugs-browse
bug-reference time battery desktop frameset exwm-randr xcb-randr exwm
exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor
xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb
xcb-xproto xcb-types xcb-debug server ef-themes
modus-operandi-tinted-theme modus-themes zone speed-type dash thingatpt
url-http url-auth url-gw nsm compat ytdious ring mpdired transmission
color calc-bin calc-ext calc calc-loaddefs rect calc-macs supercite regi
ebdb-gnus gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls
dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group
gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail
mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range
gnus-win ebdb-message message yank-media puny rfc822 mml mml-sec epa
derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse
rfc2231 gmm-utils mailheader ebdb-mua ebdb-com crm ebdb-format ebdb
mailabbrev eieio-opt speedbar ezimage dframe find-func eieio-base
timezone icalendar gnus nnheader gnus-util text-property-search
time-date range sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils erlang-start idlwave idlwave-menus idlw-menus
idlwave-bindings idlw-bindings idlwave-routine idlw-routine idlwave-scan
idlw-scan idlwave-help idlw-help idlwave-complete idlw-complete
idlwave-variables idlw-variables skeleton cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs elec-pair
appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs pcase
dired-x dired-aux dired dired-loaddefs edmacro kmacro
use-package-bind-key bind-key use-package-core repeat easy-mmode
cus-edit pp cus-load wid-edit debbugs-autoloads ebdb-autoloads cl-extra
help-mode ef-themes-autoloads elpher-autoloads exwm-autoloads
gnuplot-autoloads hyperbole-autoloads kotl-autoloads hact set hhist
idlwave-autoloads notmuch-autoloads on-screen-autoloads osm-autoloads
pdf-tools-autoloads rust-mode-autoloads slime-autoloads warnings
macrostep-autoloads speed-type-autoloads info dash-autoloads
sudo-edit-autoloads svg-clock-autoloads tablist-autoloads
transmission-autoloads xelb-autoloads ytdious-autoloads package
browse-url xdg url url-proxy url-privacy url-expand url-methods
url-history url-cookie generate-lisp-file url-domsuf url-util mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons
password-cache json subr-x map byte-opt gv bytecomp byte-compile
url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind kqueue lcms2
dynamic-setting system-font-setting font-render-setting x-toolkit
xinput2 x multi-tty move-toolbar make-network-process tty-child-frames
emacs)
Memory information:
((conses 16 871923 625139) (symbols 48 58118 33)
(strings 32 264513 42046) (string-bytes 1 6710222)
(vectors 16 158873) (vector-slots 8 2162459 45731) (floats 8 605 217)
(intervals 56 18132 128) (buffers 992 122))
--
Manuel Giraud
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Manuel Giraud <manuel@HIDDEN> Subject: bug#78120: Acknowledgement (31.0.50; Calendar is not reliable with its marking) Message-ID: <handler.78120.B.174585167629843.ack <at> debbugs.gnu.org> References: <877c34qr5o.fsf@HIDDEN> X-Gnu-PR-Message: ack 78120 X-Gnu-PR-Package: emacs Reply-To: 78120 <at> debbugs.gnu.org Date: Mon, 28 Apr 2025 14:48:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 78120 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 78120: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78120 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 03 May 2025 09:09:01 +0000
Resent-Message-ID: <handler.78120.B78120.174626329227969 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Manuel Giraud <manuel@HIDDEN>
Cc: 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174626329227969
(code B ref 78120); Sat, 03 May 2025 09:09:01 +0000
Received: (at 78120) by debbugs.gnu.org; 3 May 2025 09:08:12 +0000
Received: from localhost ([127.0.0.1]:38196 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uB8qx-0007H3-Ui
for submit <at> debbugs.gnu.org; Sat, 03 May 2025 05:08:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39514)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uB8qv-0007Gm-BH
for 78120 <at> debbugs.gnu.org; Sat, 03 May 2025 05:08:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uB8qq-0006Rc-1N; Sat, 03 May 2025 05:08:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=igt504cRRMfKqNcaRxEjOZbmd3bXm5IWD0fC0MzqWXs=; b=gcadhmjEhJiT
AuaSmfgKMzo2ZtHYcrAY435J53qCPfXvnvyHCo7UqdWz9NEZ965rm31VryEK6UlG5CYgOMxkoiUni
SGA+fJerwM2Epzv6d0mMaqYfHPQZZzElVhnCj4sxR6mwv/pJac5QHxtAP480X3KW4dyeGSJ25w5CF
DJx2OpXARp0COd1M4RjoX6KjrMhFKMuYK3VK9FgEYOs6bVA+nZII4r831BQVjIxOVef+ZZsrpstoj
jXutiods3dsh6Y+WbGV3EYfek15ucagdE7pqmZnKlGAIpjg0f+vIG72zulmFcpe4IhhRJskteWPkQ
lOY4rsr8tgUTzlCV4xiBkQ==;
Date: Sat, 03 May 2025 12:08:02 +0300
Message-Id: <86msbujc3x.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <877c34qr5o.fsf@HIDDEN> (message from Manuel Giraud on
Mon, 28 Apr 2025 16:47:31 +0200)
References: <877c34qr5o.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Manuel Giraud <manuel@HIDDEN>
> Date: Mon, 28 Apr 2025 16:47:31 +0200
>
>
> It seems that the calendar is not reliable with its marking of diary
> events. Here is a recipe:
>
> 1) emacs -Q
>
> 2) Open the file "/tmp/diary", fill it with the following
> contents and save:
> --8<---------------cut here---------------start------------->8---
> %%(diary-block 5 4 2025 5 4 2025 'success) Success
> May 4 2025 Good day
> --8<---------------cut here---------------end--------------->8---
>
> 3) M-: (use-package diary-lib :custom (diary-file "/tmp/diary"))
>
> 4) M-x calendar
>
> 5) Hit 'm' (diary-mark-entries) a few times. Observe that the
> fourth of May has not always the same color.
>
> Maybe this is a limitation of overlays but when I tried to test
> (lightly) with overlapping overlays the visual results were always the
> same.
Thanks, but could you please describe the issue in more detail? We
don't have an active maintainer of diary-lib, but you seem to imply
that there's some more basic issue with overlays here? can you
elaborate on that, and perhaps show some Lisp that is not specific to
diary-lib?
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 03 May 2025 11:42:02 +0000
Resent-Message-ID: <handler.78120.B78120.17462724924448 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.17462724924448
(code B ref 78120); Sat, 03 May 2025 11:42:02 +0000
Received: (at 78120) by debbugs.gnu.org; 3 May 2025 11:41:32 +0000
Received: from localhost ([127.0.0.1]:38935 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uBBFL-00019g-HQ
for submit <at> debbugs.gnu.org; Sat, 03 May 2025 07:41:31 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:23180)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
id 1uBBFF-00019Q-PH
for 78120 <at> debbugs.gnu.org; Sat, 03 May 2025 07:41:28 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=3yXvwXiy
TccxdvylCCYDPsda6HwKdVHgpUuazroOlRI=;
h=date:references:in-reply-to:
subject:cc:to:from; d=ledu-giraud.fr; b=h03HEUhjhLnnDl77+wgGy8MbvRe5WW
GJS2ldBARw5UZ2aB4hs46Cjg+2GB2XGbIGtkMz3kArGh5iOmXIlXqpBw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=3yXvwXiyTccxdvyl
CCYDPsda6HwKdVHgpUuazroOlRI=;
h=date:references:in-reply-to:subject:
cc:to:from; d=ledu-giraud.fr; b=nlNYEwT3okMCEMe/eqBhM9Wty6GyR/p9WQTvR1
nHFHC+DApY0OwMdaVV70BRxRhEqwWUKoO3OQkdSb43NEPKIFgxkZx3XFaFFDjbPCmyUVIM
ouhNKPQQn0ia1zNDfhGS5DQWW3l4Hhm5f6OVNJVDa2rNaMmEGCSi7luiS+X79wIYb3gVrM
cv9iXc1bf+BG/LGUqYLf7+Bcm91ss3QAwX1EP95hUaOVgAEfPIdNLD42MRY6uTF6t27lHg
4HGWamYjeWfk6ooWRmuxMmdrdaAih8pRouLNwi5TRk7t5EEZM5VlIFTLu2Z1qxeWEc7DZ8
at2RGfGZ1szAdoQ30TdMph8Q==
Received: from computer (2630.fr [82.65.148.221])
by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 25e43808
(TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);
Sat, 3 May 2025 13:41:23 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <86msbujc3x.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
Date: Sat, 03 May 2025 13:41:22 +0200
Message-ID: <877c2xx6ot.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Manuel Giraud <manuel@HIDDEN>
>> Date: Mon, 28 Apr 2025 16:47:31 +0200
>>=20
>>=20
>> It seems that the calendar is not reliable with its marking of diary
>> events. Here is a recipe:
>>=20
>> 1) emacs -Q
>>=20
>> 2) Open the file "/tmp/diary", fill it with the following
>> contents and save:
>> --8<---------------cut here---------------start------------->8---
>> %%(diary-block 5 4 2025 5 4 2025 'success) Success
>> May 4 2025 Good day
>> --8<---------------cut here---------------end--------------->8---
>>=20
>> 3) M-: (use-package diary-lib :custom (diary-file "/tmp/diary"))=20
>>=20
>> 4) M-x calendar
>>=20
>> 5) Hit 'm' (diary-mark-entries) a few times. Observe that the
>> fourth of May has not always the same color.
>>=20
>> Maybe this is a limitation of overlays but when I tried to test
>> (lightly) with overlapping overlays the visual results were always the
>> same.
>
> Thanks, but could you please describe the issue in more detail? We
> don't have an active maintainer of diary-lib, but you seem to imply
> that there's some more basic issue with overlays here? can you
> elaborate on that, and perhaps show some Lisp that is not specific to
> diary-lib?
No I think that overlays are correct and that the calendar marking is
doing something wrong=E2=84=A2. I think I have a better example. Consider=
the
recipe above but this time with following contents in /tmp/diary:
--8<---------------cut here---------------start------------->8---
%%(diary-block 5 4 2025 5 4 2025 '(:background "lightgrey")) Success
May 4 2025 Good day
--8<---------------cut here---------------end--------------->8---
When you repeatedly hit 'm' in the calendar, you'll see that sometimes
the foreground of the '4' is highlighted and sometimes it is not.
Now consider the following code:
--8<---------------cut here---------------start------------->8---
(defun foo ()
(interactive)
(remove-overlays)
(let* ((start 1)
(fore (make-overlay start (+ start 4)))
(back (make-overlay start (+ start 4))))
(overlay-put fore 'face 'error)
(overlay-put back 'face '(:background "lightgrey"))))
(local-set-key (kbd "m") 'foo)
--8<---------------cut here---------------end--------------->8---
If you evaluate those two forms in a test buffer and hit 'm' repeatedly,
the overlays are always correct: an error face on light grey background.
--=20
Manuel Giraud
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 04 May 2025 02:03:05 +0000
Resent-Message-ID: <handler.78120.B78120.174632414313102 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Manuel Giraud <manuel@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174632414313102
(code B ref 78120); Sun, 04 May 2025 02:03:05 +0000
Received: (at 78120) by debbugs.gnu.org; 4 May 2025 02:02:23 +0000
Received: from localhost ([127.0.0.1]:46375 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uBOgR-0003PD-7W
for submit <at> debbugs.gnu.org; Sat, 03 May 2025 22:02:23 -0400
Received: from mout.web.de ([212.227.15.14]:38211)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
id 1uBOgI-0003Ny-Md
for 78120 <at> debbugs.gnu.org; Sat, 03 May 2025 22:02:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
s=s29768273; t=1746324122; x=1746928922;
i=michael_heerdegen@HIDDEN;
bh=goA14qydyrf0D0OqUvshdQyZ0M2myX6rsXIC8Z3LI5M=;
h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc:
content-transfer-encoding:content-type:date:from:message-id:
mime-version:reply-to:subject:to;
b=GryqyHGZEbXinbmrube9/JhXHKpNr4mDc8BirO0yf7WSK1ROvFjKdqDEbuPJRarx
yW7mlnnRz/zGfY5pT8nfh96/P+h0Bl1Jg8K9dGb3R8fMccvuu5fsP1QNppD36Pa98
ZjrYqo5CrsgLRE7vyLG3sodbfBuSp7oduFQ0I1Up/sOXEouPNJeWU1e1EI697hc88
B/PSGjV6lhYVrt6LaxcXxvONRBdN3nUGLJhPKI9BQ2FSLnjCoBbOz/EAMrQswt7Wx
yDUPF0KXQCAFhvcFZZ4EVEewRuJU13uKSd04GNVUIDTt4a7n6DMfTqtCEgqQUZJtK
8NjMNAGqSAw1XQ46nQ==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([88.66.201.164]) by smtp.web.de (mrweb006
[213.165.67.108]) with ESMTPSA (Nemesis) id 1MGQC9-1uHDhn0U7J-007Pg6; Sun, 04
May 2025 04:02:02 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
In-Reply-To: <877c2xx6ot.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN>
Date: Sun, 04 May 2025 04:03:41 +0200
Message-ID: <87selljfnm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:z++AIRlc69ooCQlEBq8hFFBxzFzjZlKk7yIca4+egeLaxFxWSZd
aUjCA3ijKPtir4F/SSeTiJe01iiTw3YAvRLQwj1FXBkv29HPN3Wnc+yPXB36LQuFMgnUuIo
UYb8qy9o9o03JHLhpfXt2NP/ECbmdzL67BeW+yWVULY3IbB2d/HahElSqK/OhyIzu+zryIu
hLTANlR2xBHxsoi6neP6Q==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:YIiyd8HmxW8=;92khePF7dlk7RBRM73h9W84FHk2
s/cGcs5kR9vSYj2196REPf3unXWs2+Pym18Q6l1xyo1T3P1P1Uq5ckYK4kuf+9z8egqWEtzRH
zbqv44Y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HBzYZXhJoOlxPBa0U2Rja5mrdjYmMcsSzVI/Xvwtn39mkO1T+c2NXAg
WPKHejfTks0CE47u0qzbiyeVxby9IjNF6fSnJILv//zrJp43tUdd/Qkt8pMscNsrBjnL+V3wy
c+gdRbuSWS3+7ZCPsl8FDR9pikbrr/ytE0OL2ydpvbgzyUVBMWwZugiK6GGWMfyJM5YLUlcc2
1DZ2faRxC0A+Nk3yw9BnyEcFV3QfgxZNvX0m+zJECCA9BOyAYfDKJsqajo3LPphgh+ZfrKTCC
t/7CaiKaYxLUpC9WD97MOpseJUvmIqRavPLUW2wkBsIx+hDNDv9mtGmnb7Kw3AtoyYY+dM+8k
W7Q0C4ZxD1AM+jyTWNpSDr2wXdggZJPol00SKHDycYeqhgFxUx5UhUz2cBJYgMZemcIknUuju
Xx3lhFs6toYkMRgpDOgf6DojDIZPNXO9xK/qKk4SVadKVFTytnO117ASEJVNvLjRfjcjd5UvK
pjQ6UtsD7SLJpEYVT7EHSAwTlfvOxwGgdCjbRAnMFf2OHGAcn36ReLIQQpoa3l1k9BEa+uuFc
wEl+oLHYLWviVE9U5+BdNT5e3ZBx3cLscEfe8yadOcV7bvIOvQyTRbfg4R+yftH+Y08DZR0dC
tKgT59zC+2pfh2S3f7V8VWAHsDAjECrvnpc4qXN6TOipqh8hKHQhYjpvokefDgpFs5IhsEq6t
mHdnMYpSzYqwKU0nUacjTgEJdhYUgDQacsrr+h8omgjkH8N/E8BY67hcIMO+at5ayjvuFVNtL
s9nxCSEM7izYBYVqDKmqeHydXXYBjUvRFdzx6/j11tZ6xwLOnYbg3xh970jqe2F1rGCRAlPrN
Q==
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Manuel Giraud <manuel@HIDDEN> writes:
> >> 1) emacs -Q
> >>=20
> >> 2) Open the file "/tmp/diary", fill it with the following
> >> contents and save:
> >> --8<---------------cut here---------------start------------->8---
> >> %%(diary-block 5 4 2025 5 4 2025 'success) Success
> >> May 4 2025 Good day
> >> --8<---------------cut here---------------end--------------->8---
> >>=20
> >> 3) M-: (use-package diary-lib :custom (diary-file "/tmp/diary"))=
=20
> >>=20
> >> 4) M-x calendar
> >>=20
> >> 5) Hit 'm' (diary-mark-entries) a few times. Observe that the
> >> fourth of May has not always the same color.
I tried your recipe but were not able to reproduce what you describe.
C-u C-x =3D always reports exactly one overlay at a marked date, no
matter how often I hit m. I don't know why you see this in emacs -Q.
Michael.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 04 May 2025 05:29:01 +0000
Resent-Message-ID: <handler.78120.B78120.174633653821980 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174633653821980
(code B ref 78120); Sun, 04 May 2025 05:29:01 +0000
Received: (at 78120) by debbugs.gnu.org; 4 May 2025 05:28:58 +0000
Received: from localhost ([127.0.0.1]:48833 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uBRuM-0005iR-0e
for submit <at> debbugs.gnu.org; Sun, 04 May 2025 01:28:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36282)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uBRuF-0005gn-VC
for 78120 <at> debbugs.gnu.org; Sun, 04 May 2025 01:28:55 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uBRu9-0004CY-0D; Sun, 04 May 2025 01:28:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=2Ap6Nly/2IbtcQMgJzqT8ra+8KXbkA6d6OK87xaUYYU=; b=JTxOzBXW8SaG
yKs88XHYMm4kixNB32LkdFvegjDPojMtThIUANjWk5i1isTwiN4AET4TeYE7IJmu5npM3CpDGbZqF
geXLFdz/tIwxnwDrBotbYNEM6eIfyHbvS6r9e3T67YJ4YBGBYA/X6/2C74pJXjsRu3GOwDgl6snjR
pnYVspr+3HaC0ylpAg57Yglk6hIZ7INU7y0cmS9zH12ulmQPCd/c4iCQJvDC+AUe3lC9oPhsNx4W8
RhRc4F7qD+xg9ftx9JngxhOvJk/Qg7cx3O1FAco2ChqhCvwyPVVlOL5eJA4Ul0uGfjf7PulG+WQM9
StqSKXQwQnAcZ+M9t5t51g==;
Date: Sun, 04 May 2025 08:28:42 +0300
Message-Id: <86cycphrlh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87selljfnm.fsf@HIDDEN> (message from Michael Heerdegen on Sun,
04 May 2025 04:03:41 +0200)
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>, 78120 <at> debbugs.gnu.org
> Date: Sun, 04 May 2025 04:03:41 +0200
>
> Manuel Giraud <manuel@HIDDEN> writes:
>
> > >> 1) emacs -Q
> > >>
> > >> 2) Open the file "/tmp/diary", fill it with the following
> > >> contents and save:
> > >> --8<---------------cut here---------------start------------->8---
> > >> %%(diary-block 5 4 2025 5 4 2025 'success) Success
> > >> May 4 2025 Good day
> > >> --8<---------------cut here---------------end--------------->8---
> > >>
> > >> 3) M-: (use-package diary-lib :custom (diary-file "/tmp/diary"))
> > >>
> > >> 4) M-x calendar
> > >>
> > >> 5) Hit 'm' (diary-mark-entries) a few times. Observe that the
> > >> fourth of May has not always the same color.
>
> I tried your recipe but were not able to reproduce what you describe.
> C-u C-x = always reports exactly one overlay at a marked date, no
> matter how often I hit m. I don't know why you see this in emacs -Q.
I can reproduce this. I think the reason is simple: the above
scenario places 2 overlays on that date, each one of them specifying a
different face. Type "M-x describe-text-properties" on that date, and
you will see it: one face is 'diary', the other 'success'. One of
these overlays comes from diary-mark-sexp-entries, the other from
calendar-mark-visible-date. Both overlays have the same (unspecified)
priority, so which one of them "wins" depends on many factors,
including the exact memory layout of the Emacs session. The latter
changes each time you press 'm', so you sometimes see one or the other
face.
The solution is to decide which overlay should "win" in this case, and
give one of them higher or lower priority, as appropriate.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 04 May 2025 10:23:05 +0000
Resent-Message-ID: <handler.78120.B78120.174635417123929 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174635417123929
(code B ref 78120); Sun, 04 May 2025 10:23:05 +0000
Received: (at 78120) by debbugs.gnu.org; 4 May 2025 10:22:51 +0000
Received: from localhost ([127.0.0.1]:52402 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uBWUl-0006Dr-0u
for submit <at> debbugs.gnu.org; Sun, 04 May 2025 06:22:51 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:32460)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
id 1uBWUf-0006CR-Mf
for 78120 <at> debbugs.gnu.org; Sun, 04 May 2025 06:22:48 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=+uEKDUV8
UV1pREBf8eL7mmvvHYJyyyHN3q5QkbnqU6g=;
h=date:references:in-reply-to:
subject:cc:to:from; d=ledu-giraud.fr; b=RotLDtLNJTWcZmPoWK7hpzntWLfUnu
zffw6GvnnX+Pxci70CK3HTu588YQAiD3s7FdKvjVKJ4ym1WirCtqevCw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=+uEKDUV8UV1pREBf
8eL7mmvvHYJyyyHN3q5QkbnqU6g=;
h=date:references:in-reply-to:subject:
cc:to:from; d=ledu-giraud.fr; b=Z8qVQJ0YbIWUUQxCtqqytVzbaumLOHBVcjEHHM
Qw5uk9nuNF/8/iXIJ49VTssrpPLEQR3LoKv8q010XQav0FqALjMIhZBjq8iAf2NCx97KaJ
C0/Xjhxs8l5LO9JKwiKp+JfhC81ubFp40bMLX1fYEbdp2XBn6MukB5ZbBXuKNzixrXKkzg
aML6sZnre2NMoYtji6b00kDpyKaNnZPURkMzXbLvs+CbuaxSj2RYch6yJdlMeNCkhPVa4J
iK7mMwsQQdhOtbNM8kZ56/KH4wJOMcrvyLiIABQvLvmkuESVhjFJPI8AzzGwmPHqHWq5VD
UW7+cJDXkfDOT2UI/mAjC2jg==
Received: from computer (<unknown> [10.1.1.1])
by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id d9baf8b2
(TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);
Sun, 4 May 2025 12:22:43 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <86cycphrlh.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN>
Date: Sun, 04 May 2025 12:22:41 +0200
Message-ID: <875xigr7ym.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
>> Cc: Eli Zaretskii <eliz@HIDDEN>, 78120 <at> debbugs.gnu.org
>> Date: Sun, 04 May 2025 04:03:41 +0200
>>
>> Manuel Giraud <manuel@HIDDEN> writes:
>>
>> > >> 1) emacs -Q
>> > >>
>> > >> 2) Open the file "/tmp/diary", fill it with the following
>> > >> contents and save:
>> > >> --8<---------------cut here---------------start------------->8---
>> > >> %%(diary-block 5 4 2025 5 4 2025 'success) Success
>> > >> May 4 2025 Good day
>> > >> --8<---------------cut here---------------end--------------->8---
>> > >>
>> > >> 3) M-: (use-package diary-lib :custom (diary-file "/tmp/diary"))
>> > >>
>> > >> 4) M-x calendar
>> > >>
>> > >> 5) Hit 'm' (diary-mark-entries) a few times. Observe that the
>> > >> fourth of May has not always the same color.
>>
>> I tried your recipe but were not able to reproduce what you describe.
>> C-u C-x = always reports exactly one overlay at a marked date, no
>> matter how often I hit m. I don't know why you see this in emacs -Q.
>
> I can reproduce this. I think the reason is simple: the above
> scenario places 2 overlays on that date, each one of them specifying a
> different face. Type "M-x describe-text-properties" on that date, and
> you will see it: one face is 'diary', the other 'success'. One of
> these overlays comes from diary-mark-sexp-entries, the other from
> calendar-mark-visible-date. Both overlays have the same (unspecified)
> priority, so which one of them "wins" depends on many factors,
> including the exact memory layout of the Emacs session. The latter
> changes each time you press 'm', so you sometimes see one or the other
> face.
Ok, thanks for this explanation.
> The solution is to decide which overlay should "win" in this case, and
> give one of them higher or lower priority, as appropriate.
So I think we should have a way, with diary date, to set this priority.
--
Manuel Giraud
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 05 May 2025 00:45:02 +0000
Resent-Message-ID: <handler.78120.B78120.174640585315782 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174640585315782
(code B ref 78120); Mon, 05 May 2025 00:45:02 +0000
Received: (at 78120) by debbugs.gnu.org; 5 May 2025 00:44:13 +0000
Received: from localhost ([127.0.0.1]:35365 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uBjwK-00046U-Nf
for submit <at> debbugs.gnu.org; Sun, 04 May 2025 20:44:13 -0400
Received: from mout.web.de ([212.227.17.11]:46727)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
id 1uBjwH-00046D-Ou
for 78120 <at> debbugs.gnu.org; Sun, 04 May 2025 20:44:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
s=s29768273; t=1746405837; x=1747010637;
i=michael_heerdegen@HIDDEN;
bh=mGySiy63lkBn9im+srJSEKWmWpDqF5cfmjyCIL3V8rc=;
h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding:
content-type:date:from:message-id:mime-version:reply-to:subject:
to;
b=cAZQ02AIOjhqvpxI3x/HmXZS0cY4u19u2nOjXp6kEuRfT1UdXTScdJ+ddUGTcXIF
vEE1ojYHHqWbGLoGhX6Xch60PaIgHnW52IgVfr7KbICoJWymKRwUKVJGgDldQveSo
O8Ge6pWHgmJqvcxzpEJU5OS+GePNpotgvqfwYVGdnrBoGU01Hr5OhQFl0Fqw4X7e8
I8sOEhXJ44DmcKBYVJmASuY0fO61Akc78od7RbOmCyX/J3GfcNZ4nyJEIgatasPDj
r8AfAzcvtLRqQLBpHazpWr44107N9d914nJNaIGAd+1gn8lUMCkGMuNNHD0tQwI4Q
dlR8/cU8mnj6AEXB3Q==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([88.66.201.164]) by smtp.web.de (mrweb105
[213.165.67.124]) with ESMTPSA (Nemesis) id 1MbkSC-1ukWSB3Hgs-00ex3n; Mon, 05
May 2025 02:43:57 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
In-Reply-To: <86cycphrlh.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN>
Date: Mon, 05 May 2025 02:45:37 +0200
Message-ID: <87a57r3mxa.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:Z5YxHrXzOnmbYTfNpMn1JSFWv5FdtvnEcSpLBIZVI+wWBU4hHYM
EKcm02sISwegacU64MI4YEq/mlWX6+Q6G8xGNdGFcoF1496ibpeRY2fAAU0/ic52BKiwi6T
C2PttoloRDOC24bre0tqHpBY2FnfznHdmhGyi5PVxOidT0ZTCZEZkmbmUszXg5gFCra482H
1c0LVGYJJPQGsxzp6OGFA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:DmWiCS7bbHg=;4u2sxW5z17xTbtJ46vlizrmjdxt
Lpu0h8vqXNy3A9XhjRWSQRbYvLt7VIKHBC0a+4IwFIwlUJzx5gb+JzHqGMn4eCY4isWB0P5f+
cp/XhuFZjX8fhP3jpdOfXa5L6zETZ1GCFsgOo/orlc+wlARfGhT/yPbrr/6/b2nuxn/EqdlZt
2HzhS3pVDjSA+jhFCEQERkfZz6HxhFlSspYUMrin+uYvPdoK+LmOjk7X+FOwVTjYweIQlKZLJ
LLonlRoyrVXJ7WFLqs2591oor4+/VxMy+pWHaf9lVcVbwSIMndERFO4BdD+ZmWpKl2bDjm+/O
bhk4Fsy0/LkzqEzyiU/qKWx9qaeDARcJcCyqVQBa8p2r+Rrtc1ItikzJWbpZZNXIx4a9IFSgJ
AAxGvPEhBvFoWWBIa4OKhrgnYKI3vt9DgAtxucG5YBKkCdozUhLuFQYgErqrtAGIxaYT/bDf+
aojTbUq3C1eXsACNXoqkhFb3srio1SUMrn5NA0ueQ9tImr5TmJoC4Nw5iCz+4S3yJFLH6rcY6
3GooFGSBl64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FGAhE3NLGANa8Dz1dEGKznz/KaZZBKzS9fHjRxkuIx0
PgpzPCTZt9sR33TB2gf5w36gOg5/4fiZq+FdawRlwr2S3tHc9Odq8DzNE1I5zmNQHoU4RJ7gE
b8l/4fi28ufASU4GYepbnMF9Og1dKvTAxJagPqAiSrRuBvBaJ6U9hkC6xhYvX21gKYoX9/nUL
rj+m1rTCC1/9voy+QQYc98evrPkDHYAfWES80lio/tEn4ZjNzs/G6q2ZawtZMagw7L578cZ4N
WJnezq9yRC6T5iKrQ69+LjxY/9cXRN81Gr3sFqMwthS2jfOks1Go0ApRH7RNaBsTmIWwJzeDu
8bGwtBdhBqif+BSv58Pv2iTnGV7moGWhG5hH3iy6e8h4Rl/imMTbxFDQM9js5E9m4MkZQUMZy
Q==
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
> I can reproduce this.
Yes, I can...I can too, of course. Yesterday was the date used in the
recipe so I thought it would be a good idea to change it but... anyway.
> I think the reason is simple: the above scenario places 2 overlays on
> that date, each one of them specifying a different face. Type "M-x
> describe-text-properties" on that date, and you will see it: one face
> is 'diary', the other 'success'. One of these overlays comes from
> diary-mark-sexp-entries, the other from calendar-mark-visible-date.
(`diary-mark-sexp-entries' calls `calendar-mark-visible-date'. I think
the latter is used more or less everywhere in diary-lib to place the
overlays.)
> Both overlays have the same (unspecified) priority, so which one of
> them "wins" depends on many factors, including the exact memory layout
> of the Emacs session. The latter changes each time you press 'm', so
> you sometimes see one or the other face.
Plausible. (Would it be thinkable to make the behavior deterministic?)
> The solution is to decide which overlay should "win" in this case, and
> give one of them higher or lower priority, as appropriate.
This might not be easy, though (I mean the "appropriate" part), since
there are multiple different places in diary-lib that mark dates. And
of course there is also the problem of multiple matches of one source,
for example, multiple sexps matching the date that want to draw
different faces.
Michael.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 05 May 2025 11:29:01 +0000
Resent-Message-ID: <handler.78120.B78120.174644450910880 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174644450910880
(code B ref 78120); Mon, 05 May 2025 11:29:01 +0000
Received: (at 78120) by debbugs.gnu.org; 5 May 2025 11:28:29 +0000
Received: from localhost ([127.0.0.1]:39178 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uBtzp-0002pQ-0g
for submit <at> debbugs.gnu.org; Mon, 05 May 2025 07:28:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54138)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uBtzm-0002p0-Lt
for 78120 <at> debbugs.gnu.org; Mon, 05 May 2025 07:28:27 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uBtzg-00018M-6m; Mon, 05 May 2025 07:28:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
Date; bh=6a8yaGiFRHOKc6ajw84S5AlJfhu1uy1CmFfELatkNnM=; b=AdOOONu1SdGzyi8sxdHc
H1xi5b1j8ApZDoxsX0CjOsDJUyrGF7xBo5+wCbHaXWcMQDaRKyd5NCm/XpsiBmETQYDxmpjhgQ9iO
Hx88aUCoQ66oBUucV5LbTF3mUKCjHsN89QJthwtiNLzfcI4JmZDPiGVS/mq8buQvGMnS2v8CVURJc
bFlX1z1NyLqaK9oUi50uyR8Qa1YgzWMDo9O1iqcGE8yQkbQ6hCpGD/onp7IZkEW/2qeRFUMaxCqO6
IxL4Krac+GxtEnDDjYiWo97MqkcMrDG3iNAqkxbqoq/Adv6qIJmuUg0LRSfqANVuqcz+9tBwL2oWD
p1e9uwIa3kx16g==;
Date: Mon, 05 May 2025 14:28:18 +0300
Message-Id: <86v7qfguul.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87a57r3mxa.fsf@HIDDEN> (message from Michael Heerdegen on Mon,
05 May 2025 02:45:37 +0200)
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
> Date: Mon, 05 May 2025 02:45:37 +0200
>
> > Both overlays have the same (unspecified) priority, so which one of
> > them "wins" depends on many factors, including the exact memory layout
> > of the Emacs session. The latter changes each time you press 'm', so
> > you sometimes see one or the other face.
>
> Plausible. (Would it be thinkable to make the behavior deterministic?)
It's deterministic. But the factors affecting determinism are
sometimes not deterministic enough ;-)
> > The solution is to decide which overlay should "win" in this case, and
> > give one of them higher or lower priority, as appropriate.
>
> This might not be easy, though (I mean the "appropriate" part), since
> there are multiple different places in diary-lib that mark dates. And
> of course there is also the problem of multiple matches of one source,
> for example, multiple sexps matching the date that want to draw
> different faces.
So Someone⢠should take a look at the faces and decide which one of
them is more important, or at least post the list here so we could
discuss based on that list.
Alternatively, we could change the default definition of one or more
faces, so that they don't conflict. For example, instead of defining
only the foreground color, we could define the background or
underline, or weight or the box attributes.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 05 May 2025 17:54:01 +0000
Resent-Message-ID: <handler.78120.B78120.174646764130694 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174646764130694
(code B ref 78120); Mon, 05 May 2025 17:54:01 +0000
Received: (at 78120) by debbugs.gnu.org; 5 May 2025 17:54:01 +0000
Received: from localhost ([127.0.0.1]:42628 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uC00u-0007yz-Rg
for submit <at> debbugs.gnu.org; Mon, 05 May 2025 13:54:01 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:39532)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
id 1uC00r-0007yj-58
for 78120 <at> debbugs.gnu.org; Mon, 05 May 2025 13:53:58 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=2jNJC/Qz
NyKnTCMmyugcDTcw6J8TBYml4NvTTrcEuM0=;
h=date:references:in-reply-to:
subject:cc:to:from; d=ledu-giraud.fr; b=lw6qnccf9I3TgA9x4Nsgc7Iuee0Clh
+JM59LP1tY3xWiJc9K+u6HAkwmrH5VNm6VwpCCjGPVeo/7whay++SACQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=2jNJC/QzNyKnTCMm
yugcDTcw6J8TBYml4NvTTrcEuM0=;
h=date:references:in-reply-to:subject:
cc:to:from; d=ledu-giraud.fr; b=PiEAmnxclzh0wscrxUDAe7x2Po0dpjZaVBPs+c
5trpEIRnYj85EvBmThFst+jSd/IkRjZTinF2rwLVE1DWehpEtVbG8khqAj4fEVLRH+eSuf
4PD0jqq3RUtWVskdPaBmgNA7He9VofDzUiv/dca/0via084Hy42GFvtsc4DJhoKYhiGEyb
IkPnLlo22bPsG4Ky9VHYXWJI4Lu4hejBAXduz48+h4L2rkKysuzae+LmSoeoRJfhl25c0E
spHlFGi82tMYuxDyel3CIv/X8tM79w6XliDPfVRHEFvb2ndpQKNqQcKe5TxpEA+7RTUy8W
jGG7anurrcj0rM2MUjDCzgBw==
Received: from computer (<unknown> [10.1.1.1])
by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id af925da2
(TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);
Mon, 5 May 2025 19:53:54 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <86v7qfguul.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN>
Date: Mon, 05 May 2025 19:53:53 +0200
Message-ID: <87plgneyfi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
>> Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
>> Date: Mon, 05 May 2025 02:45:37 +0200
>>=20
>> > Both overlays have the same (unspecified) priority, so which one of
>> > them "wins" depends on many factors, including the exact memory layout
>> > of the Emacs session. The latter changes each time you press 'm', so
>> > you sometimes see one or the other face.
>>=20
>> Plausible. (Would it be thinkable to make the behavior deterministic?)
>
> It's deterministic. But the factors affecting determinism are
> sometimes not deterministic enough ;-)
:-)
What seems strange to me is that I find overlays to be pretty
deterministic while the face features are different:
foreground/background/italic... (See my second recipe in this thread)
But in calendar, this seems less deterministic =F0=9F=A4=B7
[...]
> So Someone=E2=84=A2 should take a look at the faces and decide which one =
of
> them is more important, or at least post the list here so we could
> discuss based on that list.
I think a better way would be to use the overlay priority and be able to
select from the diary date.
--=20
Manuel Giraud
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 06 May 2025 00:28:02 +0000
Resent-Message-ID: <handler.78120.B78120.174649123014221 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Manuel Giraud <manuel@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174649123014221
(code B ref 78120); Tue, 06 May 2025 00:28:02 +0000
Received: (at 78120) by debbugs.gnu.org; 6 May 2025 00:27:10 +0000
Received: from localhost ([127.0.0.1]:44438 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uC69O-0003hJ-BK
for submit <at> debbugs.gnu.org; Mon, 05 May 2025 20:27:10 -0400
Received: from mout.web.de ([212.227.15.3]:41975)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
id 1uC69M-0003gk-1s
for 78120 <at> debbugs.gnu.org; Mon, 05 May 2025 20:27:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
s=s29768273; t=1746491221; x=1747096021;
i=michael_heerdegen@HIDDEN;
bh=XGguPIZVfv2vm9bvnmvhRt5KON+b4ZYWfNdK+eMAYkk=;
h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding:
content-type:date:from:message-id:mime-version:reply-to:subject:
to;
b=kvUxjeOOThouU4jPNoKhIMmePPr6zbaxIQ08AfbybY3wCEeSVOR+hgUXT7a3eNp9
5tVGifulhRYvGoDJ+D0X5j+IZZrD4ZcWPQ0tNfAaHfSJucq6weLanQbH9Gz/ORbQy
Olp32qexaKymm1M2KSnCN0Qa4irj9vN/SFN74mvp7HbJaAIcqdJXt0/lec8q1ibvs
DphtXdapWtlcagaEyHP75Cj0frPLSxNj3boWJxZuvsms1RNIY05P8zPZ8S9BiLyzE
ZVwnxzHdhqWrEfPSNCF30v2fLrVfoeoqHdREDMYbQYNapOuk6pV4lFl7dr4WDh1Y6
3Zub55UR2bCI2Bn1YQ==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([88.66.201.164]) by smtp.web.de (mrweb006
[213.165.67.108]) with ESMTPSA (Nemesis) id 1Ml4B6-1utAk50yui-00cKFh; Tue, 06
May 2025 02:27:01 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
In-Reply-To: <87plgneyfi.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
Date: Tue, 06 May 2025 02:28:40 +0200
Message-ID: <871pt237lz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:8wWpnURKTPOeg+mSD1clYZW5chdFyKBtG8WxHP7oQW2ETVL8zX+
08DfCYMrIne1hCqMYMCMbRQhEaTAnH5jiDvui2xx67CELHs+J4/+pyMnrUgs7zSxJG1yu5g
X7DWvZrcdt7AuE3N9zTnpH+mwQ5NDyP8SPbsqBtfU3UlmeCl8R+VJTzyVkJ8gXytY4tRruz
+4tPpl0b4RkgIcmjHSo3g==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:aB1Qa5iOlBs=;uWQ2b8XC/nGbMrr/l2ONdoV8AWx
2Y2ebqC9Q7aATAGHfEAzF9Fu5kURdE867d6Msd6u7HsqWh6Gg0NupEtUnjXtK2+WWSN0eUtXS
kGXDUUXY5x4QwGlknXmCeulYoviNuY6sljUAgGwQQNQm7hyxNWxSI8Xf5hvEI9DHI8hop4OjV
whMtefrPpCuLHi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HgB/zIyQ+2mBTKedzopOhhVNK6Q4K1oQ5y++UHqqr5RVhY96OwelPTqNSqaspUTD
nAhgcqaZsbpnzR3EWizNMtFNMZxKkhby0gntefHb5zsS+enOtTHgrGjCCbV1uEnWWx9OYaLfZ
UAEwrgHVJQ8/idYOm4IQFoNR7GibsXsOCMyoU47jgLHybOY0Objl438k6wqT58+2WgiSQ2/bp
AyExb/V4keFSe3tZkZWD6raDULGkjw4OmwP+dGPXa+H6hN1iBYLHJUMl7z+lls9zYwHv6DKpl
URx7YkgL972sqqjbjavS9BC8m+CcMFIirmfHqZhLtLpMirHmz1Eyvmk/AmXsHiEvTNmlR5svA
nWL6gCgowrnfPgMMzyEZYAw7m3HO8LFtd4L3DV99BWH8olcDqlGRf0dQWTPmSFYVuQP5CDnNQ
nqP2Wx3rIsog9QqROvUPpuBTTaVYkXJOiN2MRkFUxJsG5yLkU6UpcmQDKd6t4rV/iWHZ9aKrG
4jnlMiS1K3b2WdLoWQ5rA31cXn8OykrD7Su1GAAOPAaethaFB6lCDTlmcxjctFNghColw2yDF
8aH/DGZYvkM/9t6hLi0XPdVoT4Nzejg7Mco3teqj0CpOtzvCGL1YhzUEzY9FImLTE1RBhZaen
O+DSu44n2S5lYIZ6aYd+BJslF9wdC+U/7u0CWiMDGNL9RzO3iNj/ZHwrBr78OhrX4kotU9LML
Jy3pBDKxLRS/7ybIntqQM1Nws/iQNQ1xQHn6ETnK3RCHYdzkMJ/F6stScbUI/ZyfxSD3W3vAF
g==
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Manuel Giraud <manuel@HIDDEN> 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"?
Michael.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 06 May 2025 06:25:06 +0000
Resent-Message-ID: <handler.78120.B78120.174651264629407 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174651264629407
(code B ref 78120); Tue, 06 May 2025 06:25:06 +0000
Received: (at 78120) by debbugs.gnu.org; 6 May 2025 06:24:06 +0000
Received: from localhost ([127.0.0.1]:47682 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCBio-0007eF-0B
for submit <at> debbugs.gnu.org; Tue, 06 May 2025 02:24:06 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:4591)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
id 1uCBik-0007da-7h
for 78120 <at> debbugs.gnu.org; Tue, 06 May 2025 02:24:03 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=n2h04ZLJ
UfbigeWsYPp/o7JUufRaflKZcG8njr7JOdU=;
h=date:references:in-reply-to:
subject:cc:to:from; d=ledu-giraud.fr; b=Yb7R6tmwoTsWiPxNOsMggAR291ENYP
wsjoaCXGIxcqsEyo4IkhQ0txqHj0vyiUwf4DyPGYkiL71TiCWXzSwIDw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=n2h04ZLJUfbigeWs
YPp/o7JUufRaflKZcG8njr7JOdU=;
h=date:references:in-reply-to:subject:
cc:to:from; d=ledu-giraud.fr; b=IEVjjGVKzThu11Gbo6mPSAl0FkOCqYOC8ED14Y
hx+GZ+8DDC3V1OHp2T+BXyUxQWkoustG+3R5xtyYpMb/TJMljfrlkrt1k2mdYd6s5oMKV/
ksCLb9CR+ihXe4EN/TgmG4Caay2Wj41G8nj1acrxv+rOnz8n43GnjhbudwcG992fxEQWfI
1RciJ1+xom+y13n+e4wBeWG+lcfsRLFtt8UnTp+cNolPYfhPJLeRplDl+8jVCyCDcPvD3p
kqZEJ5R2OJakStyQCOTRxnwXYRyb1xMzSl7CqFny/oJvQ1xytfS6OOdgXPzwPXkkwkWxPj
krlyJ0JbOfLXhmxzDGqpd19A==
Received: from computer (<unknown> [10.1.1.1])
by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id e873486e
(TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);
Tue, 6 May 2025 08:24:00 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <871pt237lz.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN>
Date: Tue, 06 May 2025 08:23:58 +0200
Message-ID: <877c2ufe9t.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Michael Heerdegen <michael_heerdegen@HIDDEN> writes:
> Manuel Giraud <manuel@HIDDEN> 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.
--
Manuel Giraud
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 06 May 2025 11:26:01 +0000
Resent-Message-ID: <handler.78120.B78120.174653074929682 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Manuel Giraud <manuel@HIDDEN>
Cc: michael_heerdegen@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174653074929682
(code B ref 78120); Tue, 06 May 2025 11:26:01 +0000
Received: (at 78120) by debbugs.gnu.org; 6 May 2025 11:25:49 +0000
Received: from localhost ([127.0.0.1]:54029 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCGQn-0007ig-0T
for submit <at> debbugs.gnu.org; Tue, 06 May 2025 07:25:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40044)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uCGQj-0007i5-VR
for 78120 <at> debbugs.gnu.org; Tue, 06 May 2025 07:25:46 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uCGQe-00019m-4K; Tue, 06 May 2025 07:25:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=JawUPplF0g/ji8qdu3ouxbhOpQ4V05NdzxnvU8NMqgw=; b=Gi/dYHC/0Uch
E6pEL9mMrO09LgUyO3u4N02FyGA8Cvk3ZR9lUGlB8SAbimizsmfrJAyVVvc4iJsJi6YiAvlnho60Q
MVEI8pICrtDtd1mddG80QmKcIaix1px/AFXXXXBqdB5F6cL9Qcp7Dlva22F2nJFmQeaXo7ozydu5I
K0lawuhU+mgVhclZBFgdzBwsclSc5BL99zZ4H3bOyCgI0zWwQIpxsX/KD0ezyVL/D3sVZ8qn3K30A
xiz4F/lAHHM8bX1srjllPEsMz3wHzQ0V6bGjMwJzXGZUqH2lLexuvxgd1fMZ6lg6tBsTfYjc7hGg3
TnhVFJRSPotW3G7S5+/uQw==;
Date: Tue, 06 May 2025 14:25:34 +0300
Message-Id: <86cycmgevl.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <877c2ufe9t.fsf@HIDDEN> (message from Manuel Giraud on
Tue, 06 May 2025 08:23:58 +0200)
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Manuel Giraud <manuel@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>, 78120 <at> debbugs.gnu.org
> Date: Tue, 06 May 2025 08:23:58 +0200
>
> Michael Heerdegen <michael_heerdegen@HIDDEN> writes:
>
> > Manuel Giraud <manuel@HIDDEN> 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?
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 06 May 2025 17:51:02 +0000
Resent-Message-ID: <handler.78120.B78120.174655381228293 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: michael_heerdegen@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174655381228293
(code B ref 78120); Tue, 06 May 2025 17:51:02 +0000
Received: (at 78120) by debbugs.gnu.org; 6 May 2025 17:50:12 +0000
Received: from localhost ([127.0.0.1]:60996 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCMQl-0007MH-Ul
for submit <at> debbugs.gnu.org; Tue, 06 May 2025 13:50:12 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:8065)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
id 1uCMQi-0007Hj-0A
for 78120 <at> debbugs.gnu.org; Tue, 06 May 2025 13:50:09 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=YVcFnjel
fvftp3rCHruChb0+KTfKwtnAY6mLOQKI17A=;
h=date:references:in-reply-to:
subject:cc:to:from; d=ledu-giraud.fr; b=31Q9of6otWhLoVzfQ2jdT4tNbmQ9hD
NC6hU+GJsof/gxENs7m+CW4ufpnYnfI8dZFVNHMvz5/iCUPls1ta3vCQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=YVcFnjelfvftp3rC
HruChb0+KTfKwtnAY6mLOQKI17A=;
h=date:references:in-reply-to:subject:
cc:to:from; d=ledu-giraud.fr; b=bXA95jMfjtG+uA3K8/eoaj2bfglkH65TXQn0IV
xDufDy/ywHyT2gceB6uJ/TdA4Gt50ji/0yQaTSXaA66X5NuEagyB5T0T2rSO1zVeyk2Tda
OnJAKVY7+89vFmttlD85kS7AHe+yz1l8joc2M6q2YgD3zp9UGMCjVJkJ8GyVfBFnmLt3cT
tgP9FNQQ5wYlVYisA8YhuMTomddG+69mmTI9+EyFStcT/ylWS+7u0hEFOAZ9MmN715NDlI
DBRwXMIwdhsRQyDzJkeR6vaFm8BmGat6KsoSsmUtskdAi3skh23L9cEb/xgT+bRzeAYNU+
x5LNXtI1RSAupncp/voybkgA==
Received: from computer (<unknown> [10.1.1.1])
by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 210eb22d
(TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);
Tue, 6 May 2025 19:50:05 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <86cycmgevl.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN>
Date: Tue, 06 May 2025 19:50:00 +0200
Message-ID: <871pt1fx2v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Manuel Giraud <manuel@HIDDEN>
>> Cc: Eli Zaretskii <eliz@HIDDEN>, 78120 <at> debbugs.gnu.org
>> Date: Tue, 06 May 2025 08:23:58 +0200
>>
>> Michael Heerdegen <michael_heerdegen@HIDDEN> writes:
>>
>> > Manuel Giraud <manuel@HIDDEN> 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
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 06 May 2025 18:27:02 +0000
Resent-Message-ID: <handler.78120.B78120.17465560184195 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Manuel Giraud <manuel@HIDDEN>
Cc: michael_heerdegen@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.17465560184195
(code B ref 78120); Tue, 06 May 2025 18:27:02 +0000
Received: (at 78120) by debbugs.gnu.org; 6 May 2025 18:26:58 +0000
Received: from localhost ([127.0.0.1]:33004 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCN0L-00015a-Iu
for submit <at> debbugs.gnu.org; Tue, 06 May 2025 14:26:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47524)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uCN0G-00014z-F0
for 78120 <at> debbugs.gnu.org; Tue, 06 May 2025 14:26:53 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uCN08-0007eJ-Hl; Tue, 06 May 2025 14:26:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=lvSs1o0mdo2Vk5+PgyOXDOrp3ke7yh3qz7taAshpmS0=; b=TOcpVUKuiFfQ
667IWPpTrcQ2rlq1OLADzyqJRL7Grz292/jvAS/G9F/9oGtSmjZClYMdk/rPpUDQ28Esy4hXLQ14/
0o1VUfD+nc9LBpXkMGK/gel16T5mJMntv7vuzL23zrTMRgpnjBnwdUDIVLa2qF+t2ORmjX6OelRfL
S2g0oSjL3UBHmyxooIhpfttvqpg4GDasDKvDoKvJLwd+MmIdgdIAZB9eA7kdtYEQGu5nwEqH1avlp
YBE2Gxi8KiRYgzgGjUXR34V6eLyk9sjH9+S9H63bheY9raFAPS5EqCuJG2nWKye5Tb2KMX3P9Eogk
263OCMXH/QHvl1HJMmMF7Q==;
Date: Tue, 06 May 2025 21:26:40 +0300
Message-Id: <86wmatfvdr.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <871pt1fx2v.fsf@HIDDEN> (message from Manuel Giraud on
Tue, 06 May 2025 19:50:00 +0200)
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Manuel Giraud <manuel@HIDDEN>
> Cc: michael_heerdegen@HIDDEN, 78120 <at> debbugs.gnu.org
> Date: Tue, 06 May 2025 19:50:00 +0200
>
> Eli Zaretskii <eliz@HIDDEN> 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.)
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 06 May 2025 22:44:02 +0000
Resent-Message-ID: <handler.78120.B78120.174657138711094 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Manuel Giraud <manuel@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174657138711094
(code B ref 78120); Tue, 06 May 2025 22:44:02 +0000
Received: (at 78120) by debbugs.gnu.org; 6 May 2025 22:43:07 +0000
Received: from localhost ([127.0.0.1]:35122 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCR0F-0002sr-1Z
for submit <at> debbugs.gnu.org; Tue, 06 May 2025 18:43:07 -0400
Received: from mout.web.de ([212.227.15.14]:39853)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
id 1uCR0C-0002sD-Da
for 78120 <at> debbugs.gnu.org; Tue, 06 May 2025 18:43:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
s=s29768273; t=1746571373; x=1747176173;
i=michael_heerdegen@HIDDEN;
bh=STGt3z87tlQWnvGcN0Kfz3NCIzbVq+u5SiA/Aj/YYTk=;
h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding:
content-type:date:from:message-id:mime-version:reply-to:subject:
to;
b=Kg/YM7ra+N8NAQE0wDXpkHCsr5m3/IecPr27BJ2K/h6BE9L5bNs/4Z0rINX2akAZ
Rm5us0n1+PdM3qdvaq7vihr6OSuCeBwEjc7jHHgkBZFZDUIweCSCWLkUBqa+MdULB
ombV2zGucUYaG3Wo/jp0OvBXEZEpxMU4/5zoeUCDfibaaLAdXZlt08Vob2WiE985c
I8RoT4xZtnxhX1be9AZ0BCRPt+o0HZXHng8PqpZ5Zs5YHxuzyLIwIFnxSQU9/L1SJ
3WqxItua2I8tp1Z9q4zwsokPkeDLXusesDT4vUjo7REqxKfy6TOfzqsHH1H3IPaBV
rA3T7+HzrREvXDjHJQ==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([88.66.201.164]) by smtp.web.de (mrweb006
[213.165.67.108]) with ESMTPSA (Nemesis) id 1MSZI5-1ub1Jk2Mbh-00Lcgv; Wed, 07
May 2025 00:42:53 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
In-Reply-To: <86wmatfvdr.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN>
Date: Wed, 07 May 2025 00:44:33 +0200
Message-ID: <8734dh1hri.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:Z9jThWhkFBOzX7X4n8XZRfiue6ysHhudPX+daW9Vm6nPQx4d2Wx
wBS78rDk08jSlJHtCXN37t0damrb+o8t2JWn9DwYIBeJxn+K+U54nKPoJpSs2nY7doOmJbl
24RmCFQOs5nACIVn2YyzNelAKg7niUtkRO8vMfFXnkgIqJbOeVSnTRDrS0NBGthopqnsyKk
F93qLcocQU0ZcMak4qAMw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:Phgbl7a/NP4=;/96iUe1AjFUZBoKlKKHZRBwpKHQ
/p4jLXQlD+he7+RexXVsUYAWsHsgcmyX477sqW4UEIWwblAwZg7tNHNR/Hm7C88F1TEc3KAeS
7Ge1gHXlbn1Z/o+8BFs1e0y6OrblLFW2uh6ucAbRNu926GRq/z8f3mkXd8Oogb85mbz6IqgJn
11201phe5nNGG/GgLuojuK6qfn68CViSwB1VIX/hbxH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SIv/bpe2KUuWI0wxskkKxd8pxstOgrbuMf
9KxhyAdM6hw0XSYvyaG0nAhBGiJ6KL5AGMXDUtJS35OFDb+GbNVe6cVvlQDFhq2L2WDZJd5Cm
CsS9zY0x0eXUW4F23GM+bDVDp6rUP8vOQw7gaPNkt+z67G5HTR/NLbBZNN9a/P1+E3Sd7m3/t
mREDlZ6ed5adkGnazw/j+axG+kWgaLIufSIb3vjoUXdaiCgldE/4jKet964XVywQ58aujbA4m
9AnYUkaRYNNJ0cFIn0LSSf4AZRNTqb7pAFmtjvQMwsQ6i1KPdvFNCF4aB/c4QCqrDFIqcTLG5
xagqKioK4JNtkYEaC9+PcAeZliHfVFKH+noR9GHi0+xbl7zUQzCVUG6m3PxawFn3n4YcbGJbR
bK/G5QPpg0+UcMkgriaZfQeu4FN1SAU+Ypardf8rXA2m5+zsdmVzNPcDEyDdrpUEbbg7lzJTj
gRo9yHLg7pqSXz0zuf5dkxVQbzqw+gYMnvWe6HA1xecre0GglayO7c4RmQUEJp+B4LTv7KCyl
f2w8SH6AIxUzTa/dlxXgxWOUn2h/7UeRvfqT8FjtnSWvnW2o/U3jaQyULRG4ZGZNCvnK5E2Ax
q3uObVRi+fE3gaUvUlzbNGzFQeskVU8Axydv2UkXtBvVH/1aXel4oggbvNAoJPq8rZETtP2+X
iDsQtJxshLVN8P+t9tOUmJ7wiosIGpn5pber+IiaxMlgrZ/tW8MzjckDStLru/h6diRW7V55e
TjrPaGg3bi2+aOTYTzRE61FicGkSbjMIsX7MjRR0JsbteAgk+lUMpDpSk3mN5K55Ye9MiWu6+
zFvqK7v8AV6pA=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
> 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?
It depends? If John doe is your husband, maybe he is much more
important and should "win". Maybe you will have a free day at his
birthday anyway.
Or: if it's three weeks before that day, John's birthday is more
relevant, because I might need to buy presents. But one day before that
date I have the presents and have been informed about the birthday, but
I want to be reminded about the meeting now.
So this is a good example of how difficult this is. It totally depends
on your life and your circumstances. Also, Emacs doesn't know what an
"important meeting" is, and who John Doe is.
And the same is true for other sources of highlighting. Are holidays
important? Depends on how religious you are etc.
> 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.
Note: the success face had been specified in the diary file (see the
recipe). The user can specify any face name in the file. Emacs doesn't
know what these "mean". The only thing Emacs can know is: was the entry
that caused the mark a normal diary entry, a sexp entry, or does the
mark come from some function or via a hook - with other words, a rough
category that doesn't tell much on it's own.
> (Up front, I'd say that 'diary' should override the others, but I'm
> open to counter-arguments.)
May suggestion: first, when Emacs tries to mark a date, and there is
already a mark, we use the existing overlay instead of placing multiple.
Then, a function, value of a new defcustom, is used to decide what face
to place in a conflict. And I would introduce a new face that means
"multiple marks on this date" that it can use.
But more importantly, it would be good if the mouse over text would list
the entries for that day. Much more useful than programming face
fights. Just give me a hint that there are multiple things "on" that
date. This feature (listing diary entries for the clicked date) is
already available by explicit request via the mouse-3 menu btw.
Michael.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 07 May 2025 08:08:02 +0000
Resent-Message-ID: <handler.78120.B78120.17466052327685 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.17466052327685
(code B ref 78120); Wed, 07 May 2025 08:08:02 +0000
Received: (at 78120) by debbugs.gnu.org; 7 May 2025 08:07:12 +0000
Received: from localhost ([127.0.0.1]:39995 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCZo8-0001zt-4V
for submit <at> debbugs.gnu.org; Wed, 07 May 2025 04:07:12 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:4725)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
id 1uCZo4-0001zf-RZ
for 78120 <at> debbugs.gnu.org; Wed, 07 May 2025 04:07:10 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=vNFVpjY3
YQ/6fsrLWxH7Y+uvfmf2irfj647RwFtTdHU=;
h=date:references:in-reply-to:
subject:cc:to:from; d=ledu-giraud.fr; b=KoRG6ElN4CUD1km0yapnbOyYNs+UOL
slq0o6NMaKwGvNZ5Hjue/F3eszJOkZ7mHBW7gLNlldgku8dCNFkoBsCg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=vNFVpjY3YQ/6fsrL
WxH7Y+uvfmf2irfj647RwFtTdHU=;
h=date:references:in-reply-to:subject:
cc:to:from; d=ledu-giraud.fr; b=DgCsytUiaxq+j2CeXrwjuLVbwxfOHFc2EWpkSe
oEUYz1OCZYwVZ/a1PI5v0W9DHClkKuan1ydKwFxMdV+gYp21NxsKRrpbx44PVCF2NBO/63
KsWwtTXHwJKEhVJkibiDoIh8C6t/jTnEYvsAIAlyoD5yrv2miLTBlIgbaPX6rqhwbikhms
SsGSEz0xSpH3aQiiMuF4mqw6oE4VQs45XqCb6uGh2dA1WOf9+6BMmZgEOotOabtWHQ+pVm
ipoLqIrvSlc89r0RvW5Jg6sctGUXHLRjm3MJXex1wGwRgxsVP7No5yLH5fi9a6UTO3QGZ6
1ZpWQwTFONgihbisds54LTpw==
Received: from computer (<unknown> [10.1.1.1])
by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id a7ca4144
(TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);
Wed, 7 May 2025 10:07:06 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <8734dh1hri.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
Date: Wed, 07 May 2025 10:07:04 +0200
Message-ID: <87r010etef.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Michael Heerdegen <michael_heerdegen@HIDDEN> writes:
> Eli Zaretskii <eliz@HIDDEN> writes:
>
>> 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?
>
> It depends? If John doe is your husband, maybe he is much more
> important and should "win". Maybe you will have a free day at his
> birthday anyway.
>
> Or: if it's three weeks before that day, John's birthday is more
> relevant, because I might need to buy presents. But one day before that
> date I have the presents and have been informed about the birthday, but
> I want to be reminded about the meeting now.
>
> So this is a good example of how difficult this is. It totally depends
> on your life and your circumstances. Also, Emacs doesn't know what an
> "important meeting" is, and who John Doe is.
>
> And the same is true for other sources of highlighting. Are holidays
> important? Depends on how religious you are etc.
Thanks Michael for this detailed explanation. That was exactly the kind
of complications I also imaged and this is why I suggest having a way
for the user to set this "priority/importance".
>> 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.
>
> Note: the success face had been specified in the diary file (see the
> recipe). The user can specify any face name in the file. Emacs doesn't
> know what these "mean". The only thing Emacs can know is: was the entry
> that caused the mark a normal diary entry, a sexp entry, or does the
> mark come from some function or via a hook - with other words, a rough
> category that doesn't tell much on it's own.
>
>> (Up front, I'd say that 'diary' should override the others, but I'm
>> open to counter-arguments.)
>
> May suggestion: first, when Emacs tries to mark a date, and there is
> already a mark, we use the existing overlay instead of placing
> multiple.
This may be a good idea but overlapping overlays can handle some cases
very well: for example, it combines correctly a face that sets a certain
foreground color and 'italic. So in such case, we could have two pieces
of information.
> Then, a function, value of a new defcustom, is used to decide what face
> to place in a conflict. And I would introduce a new face that means
> "multiple marks on this date" that it can use.
Ok, but then it is up to the user to write such a function. It is, of
course, a more flexible interface but also a harder one: the user need
to write lisp instead choosing some "priority" values. And also, it
does not prevent us from having a default function for this custom:
we're back to square one ;-)
> But more importantly, it would be good if the mouse over text would list
> the entries for that day. Much more useful than programming face
> fights. Just give me a hint that there are multiple things "on" that
> date. This feature (listing diary entries for the clicked date) is
> already available by explicit request via the mouse-3 menu btw.
Yes, this feature is already available (via 'diary-view-entries'). It
is just not a hover.
--
Manuel Giraud
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 07 May 2025 11:45:02 +0000
Resent-Message-ID: <handler.78120.B78120.17466182616348 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.17466182616348
(code B ref 78120); Wed, 07 May 2025 11:45:02 +0000
Received: (at 78120) by debbugs.gnu.org; 7 May 2025 11:44:21 +0000
Received: from localhost ([127.0.0.1]:41788 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCdCG-0001eJ-JW
for submit <at> debbugs.gnu.org; Wed, 07 May 2025 07:44:21 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60912)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uCdCB-0001dh-Mi
for 78120 <at> debbugs.gnu.org; Wed, 07 May 2025 07:44:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uCdC5-0006pP-4L; Wed, 07 May 2025 07:44:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=UGEePqUeJfiLrG7Y6smWdtNRCYBsfvu/xKFKAXn8Hzc=; b=kHh14zrE2PXH
YhEK2bpUTICGJvFkalV1x8daD0Oafnl5BAaoVjxBiqIlk5C+eDFZpvEB9hO7iCYCl4tj+SRpvlsoV
IyRQL4yEzd86WD1W+C3L7TqW65TUqLMHBod44yB/LNop/6CYlCZbsnc20iLVJ4Ev8fPAC4NUtwsKi
375FTp7Ll4FuvMfKrT6n4DybUYUvwWcp3G5KHFpBhIroPXYBfIgemGIBlnp1haRqIOep1OOjf1lOP
XlAMM/aYNxxugaw1e0Gu7QygO3AQsszyz0WosBX1PqWJRPjfM+BADpE0+jXPrPfjvIBUUNzOGx0fo
4fm4/X+TXDFviqLaiY2bxA==;
Date: Wed, 07 May 2025 14:44:06 +0300
Message-Id: <86tt5wfxx5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <8734dh1hri.fsf@HIDDEN> (message from Michael Heerdegen on Wed,
07 May 2025 00:44:33 +0200)
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: Manuel Giraud <manuel@HIDDEN>, 78120 <at> debbugs.gnu.org
> Date: Wed, 07 May 2025 00:44:33 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> > 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?
>
> It depends? If John doe is your husband, maybe he is much more
> important and should "win". Maybe you will have a free day at his
> birthday anyway.
While these situations are possible, I think they are quite rare in
practice. So while today we have this problem in all the cases, with
the change I propose we will have it only rarely: a clear "win", IMO.
I also made another suggestion: to change the default definition of
some of the faces so that they don't all use the same face attribute.
Then we could fix this problem even cleaner, IMO. But no one
responded to that suggestion, and I wonder why.
> So this is a good example of how difficult this is. It totally depends
> on your life and your circumstances. Also, Emacs doesn't know what an
> "important meeting" is, and who John Doe is.
We usually solve this for the most probable situation, and leave the
rest to user customizations of the faces. It isn't the first time we
bump into this problem.
Moreover, to reason about this in a useful way, we need a list of
faces that could conflict and their semantics. AFAICT, no one posted
such a list. So for now we are having an almost purely academic
discussion, without even knowing how many faces could conflict in this
way.
So I think you reject this kind of solution too early.
> And the same is true for other sources of highlighting. Are holidays
> important? Depends on how religious you are etc.
If indeed you are right, and the importance is frequently inverted
(and I'm not yet sure you are right), then we could provide user
options for resolving the conflicts. But such user options should not
be overlay priorities, but something like "face importance", from
which the code should derive the priorities. Asking users to provide
priorities themselves is not user-friendly, for the reasons I
explained up-thread.
> > 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.
>
> Note: the success face had been specified in the diary file (see the
> recipe). The user can specify any face name in the file. Emacs doesn't
> know what these "mean". The only thing Emacs can know is: was the entry
> that caused the mark a normal diary entry, a sexp entry, or does the
> mark come from some function or via a hook - with other words, a rough
> category that doesn't tell much on it's own.
I think the other face has a more clear semantics, and the face
specified by the user also has semantics, albeit a more vague one. So
this kind of solutions could still be possible.
> > (Up front, I'd say that 'diary' should override the others, but I'm
> > open to counter-arguments.)
>
> May suggestion: first, when Emacs tries to mark a date, and there is
> already a mark, we use the existing overlay instead of placing multiple.
>
> Then, a function, value of a new defcustom, is used to decide what face
> to place in a conflict. And I would introduce a new face that means
> "multiple marks on this date" that it can use.
That's possible, yes. We could also use this special case with two
overlays, but in case where we decide to use this special case we
could also make its overlay priority higher. The result will be the
same.
The solution you propose might cause complications, because removing
the overlay will effectively remove both marks. I don't know
diary-lib enough to tell whether this is a real problem.
> But more importantly, it would be good if the mouse over text would list
> the entries for that day. Much more useful than programming face
> fights. Just give me a hint that there are multiple things "on" that
> date. This feature (listing diary entries for the clicked date) is
> already available by explicit request via the mouse-3 menu btw.
We could, of course, add this, and it would be useful on its own
right, but don't forget that Emacs can work without a mouse. In any
case, I think this is almost orthogonal to the issue at hand.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 07 May 2025 14:40:02 +0000
Resent-Message-ID: <handler.78120.B78120.174662874728711 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174662874728711
(code B ref 78120); Wed, 07 May 2025 14:40:02 +0000
Received: (at 78120) by debbugs.gnu.org; 7 May 2025 14:39:07 +0000
Received: from localhost ([127.0.0.1]:45319 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCfvP-0007T0-49
for submit <at> debbugs.gnu.org; Wed, 07 May 2025 10:39:07 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:44234)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
id 1uCfvM-0007SS-Gt
for 78120 <at> debbugs.gnu.org; Wed, 07 May 2025 10:39:05 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=/9g8tj2X
VbztGwl4ynPrLCa+VMX9FjBXEKPvL6CQ0Yw=;
h=date:references:in-reply-to:
subject:cc:to:from; d=ledu-giraud.fr; b=e/9RaB334XzaniVzn7NdlJdajnW2WN
V9ZFgKGGaGOljNnFWbsjkFd9x1VWDes5xseKMaHA0/z3I0SotU6h7iCA==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=/9g8tj2XVbztGwl4
ynPrLCa+VMX9FjBXEKPvL6CQ0Yw=;
h=date:references:in-reply-to:subject:
cc:to:from; d=ledu-giraud.fr; b=0cUh1guevqNTkZ3zpn7R8/ThZxy9Xm7kfCH0ut
n3VkTBzN9FBHPPV1XgEGGSoCdS8l0BPyyCpi/BB8jJ754sSz19MD60fE7dibG+uj480daE
5tPO9Yhi6edNMS7zSHmgGMYuOBtr6yzamun39LoS6p0pIvg4lHiP92m/5tEkZn5d9poVKb
v7ZEkMxrc9qvbQ3pwSHE6StxW5ehdeD8b4PZgt4PZsqBTeSsKVrwO5g7byJ9HPIg4zIcfx
5MX+lmdc25ncuSHPg5Ai1zFPxQlOF8osemeuKNptbzg8dZ3o+HigTVZpDZkODXKmex7AuW
XhAW2kz1BtlbtpOQOsnLNuPQ==
Received: from computer (<unknown> [10.1.1.1])
by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 1f17f65e
(TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);
Wed, 7 May 2025 16:39:01 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <86tt5wfxx5.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
<86tt5wfxx5.fsf@HIDDEN>
Date: Wed, 07 May 2025 16:39:00 +0200
Message-ID: <874ixwh4e3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
>> Cc: Manuel Giraud <manuel@HIDDEN>, 78120 <at> debbugs.gnu.org
>> Date: Wed, 07 May 2025 00:44:33 +0200
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> > 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?
>>=20
>> It depends? If John doe is your husband, maybe he is much more
>> important and should "win". Maybe you will have a free day at his
>> birthday anyway.
>
> While these situations are possible, I think they are quite rare in
> practice. So while today we have this problem in all the cases, with
> the change I propose we will have it only rarely: a clear "win", IMO.
>
> I also made another suggestion: to change the default definition of
> some of the faces so that they don't all use the same face attribute.
> Then we could fix this problem even cleaner, IMO. But no one
> responded to that suggestion, and I wonder why.
>
>> So this is a good example of how difficult this is. It totally depends
>> on your life and your circumstances. Also, Emacs doesn't know what an
>> "important meeting" is, and who John Doe is.
>
> We usually solve this for the most probable situation, and leave the
> rest to user customizations of the faces. It isn't the first time we
> bump into this problem.
>
> Moreover, to reason about this in a useful way, we need a list of
> faces that could conflict and their semantics. AFAICT, no one posted
> such a list. So for now we are having an almost purely academic
> discussion, without even knowing how many faces could conflict in this
> way.
AFAICT, for calendar, we have diary, calendar-today, holiday and
diary-anniversary with the following default definitions:
--8<---------------cut here---------------start------------->8---
(defface calendar-today
'((t (:underline t)))
"Face for indicating today's date in the calendar.
See the variable `calendar-today-marker'."
:group 'calendar-faces)
(defface diary
'((((min-colors 88) (class color) (background light))
:foreground "red1")
(((class color) (background light))
:foreground "red")
(((min-colors 88) (class color) (background dark))
:foreground "yellow1")
(((class color) (background dark))
:foreground "yellow")
(t
:weight bold))
"Face for highlighting diary entries.
Used to mark diary entries in the calendar (see `diary-entry-marker'),
and to highlight the date header in the fancy diary."
:group 'calendar-faces)
(defface holiday
'((((class color) (background light))
:background "pink")
(((class color) (background dark))
:background "chocolate4")
(t
:inverse-video t))
"Face for indicating in the calendar dates that have holidays.
See `calendar-holiday-marker'."
:group 'calendar-faces)
(defface diary-anniversary '((t :inherit font-lock-keyword-face))
"Face used for anniversaries in the fancy diary display."
:version "22.1"
:group 'calendar-faces)
--8<---------------cut here---------------end--------------->8---
From this list, I think that only diary and diary-anniversary would
conflict as they both set the foreground=E2=80=A6 but as all those faces co=
uld
be customized by a theme, we could have conflicts at a later time. For
example: modus themes also use the foreground for holiday so it adds a
new conflict with diary and diary-anniversary.
> So I think you reject this kind of solution too early.
>
>> And the same is true for other sources of highlighting. Are holidays
>> important? Depends on how religious you are etc.
>
> If indeed you are right, and the importance is frequently inverted
> (and I'm not yet sure you are right), then we could provide user
> options for resolving the conflicts. But such user options should not
> be overlay priorities, but something like "face importance", from
> which the code should derive the priorities. Asking users to provide
> priorities themselves is not user-friendly, for the reasons I
> explained up-thread.
Yes, we could have a set of diary faces like the set of
gnus-group-mail-* faces, for example.
--=20
Manuel Giraud
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 07 May 2025 16:08:02 +0000
Resent-Message-ID: <handler.78120.B78120.174663402718344 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Manuel Giraud <manuel@HIDDEN>
Cc: michael_heerdegen@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174663402718344
(code B ref 78120); Wed, 07 May 2025 16:08:02 +0000
Received: (at 78120) by debbugs.gnu.org; 7 May 2025 16:07:07 +0000
Received: from localhost ([127.0.0.1]:46083 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uChIY-0004ln-SX
for submit <at> debbugs.gnu.org; Wed, 07 May 2025 12:07:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37516)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uChIV-0004l1-5d
for 78120 <at> debbugs.gnu.org; Wed, 07 May 2025 12:07:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uChIF-0004an-La; Wed, 07 May 2025 12:06:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
Date; bh=zJY5hu9cfDs9oVlKMc/99qXMBXVKeFdODa8pX9ybHGQ=; b=RyfAMApzkTAFxzcWxzco
yXDimiWVyGHYBMcOwjA7M2Qroy4ooG0xwQyA2Iq8wj+aWJ3GxGooiaFFaQwvV66q8gOw0WrKCAYZR
Swbz3d9YGU5BQMdNmzX8899amkJxM1p6snCPUVLHk4gsOzwVDBX2zqKr6OvcfERHcUyT9Z0bknSHl
7KZ8LBJXdqWsTQmizBDoupxidrgP0D2f1j9rzpWSXEJM12sZ6OBQ/3SrtxunbqW3d3J5YSL2uOn4p
ugO9wIEPkFwfQAFspXLpNlWxWLw9czF1t5cE7h1xAdk8azbBiEQpUt/ESjZr7T7o5s6TYCINCQv/f
zUwXo1uCy5p6tg==;
Date: Wed, 07 May 2025 19:06:43 +0300
Message-Id: <86h61wflrg.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <874ixwh4e3.fsf@HIDDEN> (message from Manuel Giraud on
Wed, 07 May 2025 16:39:00 +0200)
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
<86tt5wfxx5.fsf@HIDDEN> <874ixwh4e3.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Manuel Giraud <manuel@HIDDEN>
> Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 78120 <at> debbugs.gnu.org
> Date: Wed, 07 May 2025 16:39:00 +0200
>
> > Moreover, to reason about this in a useful way, we need a list of
> > faces that could conflict and their semantics. AFAICT, no one posted
> > such a list. So for now we are having an almost purely academic
> > discussion, without even knowing how many faces could conflict in this
> > way.
>
> AFAICT, for calendar, we have diary, calendar-today, holiday and
> diary-anniversary with the following default definitions:
Thanks. But I don't see here that 'success' face which caused the
original trouble. Or am I missing something.
> >From this list, I think that only diary and diary-anniversary would
> conflict as they both set the foregroundā¦
Then I think the problem is easy: 'diary' should take precedence over
'diary-anniversary', because in most cases the latter is more
"routine" than the former.
We could also modify one of those to not use the foreground color, but
instead to use 'bold' or 'italic'.
> but as all those faces could
> be customized by a theme, we could have conflicts at a later time. For
> example: modus themes also use the foreground for holiday so it adds a
> new conflict with diary and diary-anniversary.
This is a problem for theme authors to solve, they should be aware of
the issue and choose the faces accordingly.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 08 May 2025 04:59:02 +0000
Resent-Message-ID: <handler.78120.B78120.174668033210777 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Manuel Giraud <manuel@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174668033210777
(code B ref 78120); Thu, 08 May 2025 04:59:02 +0000
Received: (at 78120) by debbugs.gnu.org; 8 May 2025 04:58:52 +0000
Received: from localhost ([127.0.0.1]:52090 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCtLP-0002nk-QH
for submit <at> debbugs.gnu.org; Thu, 08 May 2025 00:58:52 -0400
Received: from mout.web.de ([212.227.17.11]:41307)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
id 1uCtLN-0002nV-0n
for 78120 <at> debbugs.gnu.org; Thu, 08 May 2025 00:58:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
s=s29768273; t=1746680320; x=1747285120;
i=michael_heerdegen@HIDDEN;
bh=jF4yvGw1C40GilhBMUZJsVB2p/uKJdNsP94PJZK9CF8=;
h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding:
content-type:date:from:message-id:mime-version:reply-to:subject:
to;
b=k7e93xsMkbXl0eZf2irljVHW9p16Gn7ZyVy4vMnWSkPLgbg51Z9nzNU027omEcsH
OTyKcadwlGhtGyHVqEaQLhBTg7vU9OsrK4krLXQXfHhLZbH5XBMsgT6VzKi5FdSaB
XEY6rHGvNROav339H3B8/1jOreLpej23c9Lj+qq67j+VbzU/A0Sz+3ZvMs6ATbeLi
INTuM/agcJnND9etOq2DdxzFVgeSOsnHynxSSApjUEsoO8Rg55aqN5l4k0nzcBYb3
GfjPCjtvgsuRWT++kVLIvdgm9X2es8CaE1z85vNcktojG3ZB7lEhKbb94qqiwe7i6
vD8UvmFUGWvuuZzF8g==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([88.66.201.164]) by smtp.web.de (mrweb106
[213.165.67.124]) with ESMTPSA (Nemesis) id 1MrwsB-1upkwf1XoT-00kFsZ; Thu, 08
May 2025 06:58:40 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
In-Reply-To: <86h61wflrg.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
<86tt5wfxx5.fsf@HIDDEN> <874ixwh4e3.fsf@HIDDEN>
<86h61wflrg.fsf@HIDDEN>
Date: Thu, 08 May 2025 07:00:18 +0200
Message-ID: <8734dfitnh.fsf@HIDDEN>
User-Agent: Gnus/5.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T40H/AFa/A4T5
sKBvxNE6haQdf5T0iENdLXS2kXtmIZ79XfF8dcJJrpLnsxrknA90HE3cCHmOsxs3ZiJmSUOcM
mkVcY5NMo1pl9OJzu++/ndQLpWn7JYopgw8Yd5cc2WCmejJUYmTHZLnHzHecOT7HCSdO2uWUx
0Kn3sv407jlQ8get9383x4JzMZrSUzLry1Zr5FzUukKqJmZMt8ApTKptne9Rwp3tvOyfm2b6w
p7MuHZcXVR4/vRWEW+AMYDFziyrmhWakBkI7kwGME6WBIpEujXzxgQFheD+Ej6Z2rt5QNwtaS
ct6cepiiSmL0Y=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
> Thanks. But I don't see here that 'success' face which caused the
> original trouble. Or am I missing something.
You miss what I already answered: that you can specify arbitrary faces
in the diary itself. See the original recipe.
But one step back, please listen: I rediscovered the (completely
undocumented, AFAICT) solution diary-lib itself already provides to
avoid this problem. Read around line number 74:
;; Face markup of calendar and diary displays: Any entry line that
;; ends with [foo:value] where foo is a face attribute (except :box
;; :stipple) or with [face:blah] tags, will have these values applied
;; to the calendar and fancy diary displays. These attributes "stack"
;; on calendar displays. File-wide attributes can be defined as
;; follows: the first line matching "^# [tag:value]" defines the value
;; for that particular tag.
So this is obviously the user level mechanism the diary-lib author(s)
intended to be used for more advanced stylistic tuning.
Of course we can still bring the standard faces in some well defined
order, but if the described mechanism works well, it deserves to be made
more discover able I think. It is more or less what Manuel was asking
for.
Michael.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 08 May 2025 06:55:01 +0000
Resent-Message-ID: <handler.78120.B78120.17466872676992 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.17466872676992
(code B ref 78120); Thu, 08 May 2025 06:55:01 +0000
Received: (at 78120) by debbugs.gnu.org; 8 May 2025 06:54:27 +0000
Received: from localhost ([127.0.0.1]:53059 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uCv9G-0001oi-Je
for submit <at> debbugs.gnu.org; Thu, 08 May 2025 02:54:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37926)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uCv9D-0001oF-FZ
for 78120 <at> debbugs.gnu.org; Thu, 08 May 2025 02:54:24 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uCv97-0004VK-Sx; Thu, 08 May 2025 02:54:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=duZ+/gANTsk3Jwv5dIWVj0x2fsWLwV6ASArRJADekEw=; b=Wcok0isFBVSm
t9XKd6O0i2xjtVNW4Lv2Ez12xROgg0CWLH30H8aypuiH+ePLeVNXXqPHPpLUkL+2VmLsdgiLRhpCs
xEEnEOcKddI2rOnu/+fF3Hzuosh+8j+dG4BzEkG+9r8ktufYxylgglx/oRubDAFOyr2Qvj4ytUzgF
5G7OxE7+dvcKz5uwjNM3fz1rJ3uZP/tIxzn1jJPr3y5jM0nx+5gQBhn86xE9VmqX5vocaR8p44aj0
FfsqMHPKPuvxo2YqRIaElaVXVdQlaVXrZi+wcziD0kcKeeZXkUqHlnU9r27qmR04WEp2okGddkHrZ
ZevbePwTyGKbUsNJ8xtP1Q==;
Date: Thu, 08 May 2025 09:54:15 +0300
Message-Id: <86y0v7ego8.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <8734dfitnh.fsf@HIDDEN> (message from Michael Heerdegen on Thu,
08 May 2025 07:00:18 +0200)
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
<86tt5wfxx5.fsf@HIDDEN> <874ixwh4e3.fsf@HIDDEN>
<86h61wflrg.fsf@HIDDEN> <8734dfitnh.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: Manuel Giraud <manuel@HIDDEN>, 78120 <at> debbugs.gnu.org
> Date: Thu, 08 May 2025 07:00:18 +0200
>
> But one step back, please listen: I rediscovered the (completely
> undocumented, AFAICT) solution diary-lib itself already provides to
> avoid this problem. Read around line number 74:
>
> ;; Face markup of calendar and diary displays: Any entry line that
> ;; ends with [foo:value] where foo is a face attribute (except :box
> ;; :stipple) or with [face:blah] tags, will have these values applied
> ;; to the calendar and fancy diary displays. These attributes "stack"
> ;; on calendar displays. File-wide attributes can be defined as
> ;; follows: the first line matching "^# [tag:value]" defines the value
> ;; for that particular tag.
>
> So this is obviously the user level mechanism the diary-lib author(s)
> intended to be used for more advanced stylistic tuning.
>
> Of course we can still bring the standard faces in some well defined
> order, but if the described mechanism works well, it deserves to be made
> more discover able I think. It is more or less what Manuel was asking
> for.
The original report was that the results were not deterministic. I
think we can make them deterministic by specifying certain priorities
for each overlay. If it turns out that the priorities we specify
don't produce the effect that some user wants, they could then use the
other face attributes, as you explain above (but maybe we should
document this facility in the user manual?).
Still, I think the faces produced from sexp entities should take
precedent (via overlay priorities) over the other faces, as the
default.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 08 May 2025 14:05:01 +0000
Resent-Message-ID: <handler.78120.B78120.17467130467060 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.17467130467060
(code B ref 78120); Thu, 08 May 2025 14:05:01 +0000
Received: (at 78120) by debbugs.gnu.org; 8 May 2025 14:04:06 +0000
Received: from localhost ([127.0.0.1]:58222 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uD1r3-0001pn-Fm
for submit <at> debbugs.gnu.org; Thu, 08 May 2025 10:04:05 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:17434)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <manuel@HIDDEN>)
id 1uD1qz-0001pJ-Cq
for 78120 <at> debbugs.gnu.org; Thu, 08 May 2025 10:04:03 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=5eGuvn7Q
dRW/qxw7MH8FBsIETapWQtEWD2VpLNMnaL0=;
h=date:references:in-reply-to:
subject:cc:to:from; d=ledu-giraud.fr; b=tJLfGlf1reoEKOvLnv17WWoP5cM8Pu
zM7sImrQPRGkASUTPlmHAuOZDi6u8DhLRsbGCXKfiEt+Fv2bSrsaoUBw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=5eGuvn7QdRW/qxw7
MH8FBsIETapWQtEWD2VpLNMnaL0=;
h=date:references:in-reply-to:subject:
cc:to:from; d=ledu-giraud.fr; b=dAvVbilbtqy0iEgjpkQe1k1ghlVcYIYBpjhuom
gSAJiSax3Ka2KA747TmlIZPVJdxgjnxOxjiWYXY267bFOz3rp+iIQ044D6gUjTrVtlf+gW
TXN8EvkABBHaImqKNoj3nAJ/W9sl55SF9gevT2n41kwL7HSueuSXPqZmIYPSBVTd2ZUUN1
/EZ8C4YY2uB2PsnsxAYCX9P74u6PqOWlKbjrvelQJ8RQP1lU+gdhsum/dnpTbz7zz6WgLL
t18dX/Y8XN3JpvZTWFLJunEGwqCrCdV73WpmNTeo/rGyZEZwHDUWwG0cFO9hpiRK+Q07Eg
uyiCyjr7aBK05fCjTAbCaE4Q==
Received: from computer (<unknown> [10.1.1.1])
by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id d5fac4dc
(TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO);
Thu, 8 May 2025 16:03:59 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <86y0v7ego8.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
<86tt5wfxx5.fsf@HIDDEN> <874ixwh4e3.fsf@HIDDEN>
<86h61wflrg.fsf@HIDDEN> <8734dfitnh.fsf@HIDDEN>
<86y0v7ego8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
Date: Thu, 08 May 2025 16:03:56 +0200
Message-ID: <87msbnfbcj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
>> Cc: Manuel Giraud <manuel@HIDDEN>, 78120 <at> debbugs.gnu.org
>> Date: Thu, 08 May 2025 07:00:18 +0200
>>
>> But one step back, please listen: I rediscovered the (completely
>> undocumented, AFAICT) solution diary-lib itself already provides to
>> avoid this problem. Read around line number 74:
>>
>> ;; Face markup of calendar and diary displays: Any entry line that
>> ;; ends with [foo:value] where foo is a face attribute (except :box
>> ;; :stipple) or with [face:blah] tags, will have these values applied
>> ;; to the calendar and fancy diary displays. These attributes "stack"
>> ;; on calendar displays. File-wide attributes can be defined as
>> ;; follows: the first line matching "^# [tag:value]" defines the value
>> ;; for that particular tag.
>>
>> So this is obviously the user level mechanism the diary-lib author(s)
>> intended to be used for more advanced stylistic tuning.
>>
>> Of course we can still bring the standard faces in some well defined
>> order, but if the described mechanism works well, it deserves to be made
>> more discover able I think. It is more or less what Manuel was asking
>> for.
>
> The original report was that the results were not deterministic.
Yes. I think we somewhat diverge a bit from the original issue which
was the non deterministic behaviour (but thanks Michael for digging out
these informations!) Just to be sure, here's an updated recipe that
shows this:
1) emacs -Q
2) Open the file "/tmp/diary", fill it with the following
contents and save:
%%(diary-block 5 4 2025 5 10 2025 '(:background "lightgrey")) Success
May 7 2025 Good day
3) M-: (use-package diary-lib :custom (diary-file "/tmp/diary"))
4) M-x calendar
5) Hit 'm' (diary-mark-entries) a few times. Observe that the
seventh of May has not always the same foreground color.
BTW, I wonder it this can be related to redisplay since when hitting 'm'
repeatedly, I see a flicker that was not present on my example with
overlays (above in this thread).
> I think we can make them deterministic by specifying certain
> priorities for each overlay. If it turns out that the priorities we
> specify don't produce the effect that some user wants, they could then
> use the other face attributes, as you explain above (but maybe we
> should document this facility in the user manual?).
>
> Still, I think the faces produced from sexp entities should take
> precedent (via overlay priorities) over the other faces, as the
> default.
I don't understand why you think so: a sexp entity could be of a lesser
importance than a non-sexp one. For example:
%%(diary-block 5 4 2025 5 10 2025) School break
May 8 2025 Important work meeting
That is why, regardless of the non-deterministic issue, I think that the
user should have a way to express what is more important than something
else.
--
Manuel Giraud
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 08 May 2025 15:38:02 +0000
Resent-Message-ID: <handler.78120.B78120.174671867330731 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Manuel Giraud <manuel@HIDDEN>
Cc: michael_heerdegen@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174671867330731
(code B ref 78120); Thu, 08 May 2025 15:38:02 +0000
Received: (at 78120) by debbugs.gnu.org; 8 May 2025 15:37:53 +0000
Received: from localhost ([127.0.0.1]:58957 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uD3Jp-0007zb-0i
for submit <at> debbugs.gnu.org; Thu, 08 May 2025 11:37:53 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36346)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uD3Jh-0007zC-Jq
for 78120 <at> debbugs.gnu.org; Thu, 08 May 2025 11:37:50 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uD3Jb-00038w-Op; Thu, 08 May 2025 11:37:39 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=Z+JDQet5V4JgE1uisHOtMv5vv5TNMd17Bt6RUvjJ5Ss=; b=DzYDExkH64Xg
+WNlPhuItzoJzYZEjfPoiCNbmoZ0w29OuRkzARO0lDLCO4nmBcSjAvv4Yhdx/WuQzWCvnifWVJvk/
kApGLf/o8E42ZU0spWsy8fi28TswwJKptxHCf0FwsqKjOjYiP1GSEF+SJD9LkdlV0nABmMWM+magj
bi6POatXzSyUe08ZpYluvubf9AgzzH/tt1XC0sNjUOXVO2NbxdoKBB67wbE/VvIkuzACSlH56bNft
iynQia01mzL4oTRoLbkYNnEVoy8L4Jb0U/epO31podL0BpJ8ou/tmSp18zl8stTnavUpvb4aRHpYR
bVRs7/U8nBxyPykO7XTfGg==;
Date: Thu, 08 May 2025 18:37:36 +0300
Message-Id: <861pszdsfz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87msbnfbcj.fsf@HIDDEN> (message from Manuel Giraud on
Thu, 08 May 2025 16:03:56 +0200)
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
<86tt5wfxx5.fsf@HIDDEN> <874ixwh4e3.fsf@HIDDEN>
<86h61wflrg.fsf@HIDDEN> <8734dfitnh.fsf@HIDDEN>
<86y0v7ego8.fsf@HIDDEN> <87msbnfbcj.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Manuel Giraud <manuel@HIDDEN>
> Cc: Michael Heerdegen <michael_heerdegen@HIDDEN>, 78120 <at> debbugs.gnu.org
> Date: Thu, 08 May 2025 16:03:56 +0200
>
> BTW, I wonder it this can be related to redisplay since when hitting 'm'
> repeatedly, I see a flicker that was not present on my example with
> overlays (above in this thread).
Overlays are a display-time feature, so of course it's related to
redisplay. It's redisplay that decides which of the overlays to show
when several of them "compete".
And if some Lisp sets up a hook that moves overlays, then you'll have
an immediate additional redisplay cycle, which might be what you see.
> > I think we can make them deterministic by specifying certain
> > priorities for each overlay. If it turns out that the priorities we
> > specify don't produce the effect that some user wants, they could then
> > use the other face attributes, as you explain above (but maybe we
> > should document this facility in the user manual?).
> >
> > Still, I think the faces produced from sexp entities should take
> > precedent (via overlay priorities) over the other faces, as the
> > default.
>
> I don't understand why you think so: a sexp entity could be of a lesser
> importance than a non-sexp one. For example:
I'm not talking about what _could_ be, I'm talking about what happens
in the majority of cases.
> That is why, regardless of the non-deterministic issue, I think that the
> user should have a way to express what is more important than something
> else.
What I said doesn't contradict the user's ability to affect the faces.
I'm just expressing an opinion about which overlay should by default
have the higher priority. Surely, we need to make a decision like
that if we want the results to be completely deterministic?
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 09 May 2025 04:05:01 +0000
Resent-Message-ID: <handler.78120.B78120.174676345215528 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174676345215528
(code B ref 78120); Fri, 09 May 2025 04:05:01 +0000
Received: (at 78120) by debbugs.gnu.org; 9 May 2025 04:04:12 +0000
Received: from localhost ([127.0.0.1]:34137 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uDEy2-00042N-UR
for submit <at> debbugs.gnu.org; Fri, 09 May 2025 00:04:12 -0400
Received: from mout.web.de ([212.227.15.14]:52085)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
id 1uDEy0-00041n-0j
for 78120 <at> debbugs.gnu.org; Fri, 09 May 2025 00:04:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
s=s29768273; t=1746763437; x=1747368237;
i=michael_heerdegen@HIDDEN;
bh=Kgz2lx1Wgx5QrvlGAqHsI1j4L4HUGPuz1jIXC8UhGLc=;
h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding:
content-type:date:from:message-id:mime-version:reply-to:subject:
to;
b=d87sOYTYxjk0PgXNoVwyTfHJQZiCLDbSzyPAxhpHKzt4tszln8O10c6RowaftCOd
Jq5VrZpEpPTDhj4zna2b6Yjd1MC43UAYK+Cx9Q9LKS7lJFHAcvkks1qZ8UpG1RYDE
q2SX/TkKGniRQ+v2oILcbdmuurSS9ilRqFgDfrngAUMHeveBXoG0Yd3uzyBfy9GNc
sD0Qa8Op6tXqIcQt/nzbVmPTfNwsriwxiwQ6Dnmt02UsLQyRj26qVh2odHQIDf01l
MsvAOr5WIb584l+5KZXvMd+XiEL/mX5wdltl/h2fAHKmi2LQP2qZQv4NesTihLCb+
eWNqI0MDbNgBhvoTCQ==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([88.66.201.164]) by smtp.web.de (mrweb005
[213.165.67.108]) with ESMTPSA (Nemesis) id 1MdO56-1umZiO3oeW-00h4rb; Fri, 09
May 2025 06:03:56 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
In-Reply-To: <86y0v7ego8.fsf@HIDDEN>
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
<86tt5wfxx5.fsf@HIDDEN> <874ixwh4e3.fsf@HIDDEN>
<86h61wflrg.fsf@HIDDEN> <8734dfitnh.fsf@HIDDEN>
<86y0v7ego8.fsf@HIDDEN>
Date: Fri, 09 May 2025 06:05:36 +0200
Message-ID: <87h61uqvhr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:ESh3VPN32SVoQdV1OLI/B3t+emjUFFU5F35cSoBxZowDvA84Gco
gH3D0zoyyVb5XLO85ilcUhW5fxquKAjzueNyOj68msRou4Ffxobifcy/kmBsKWxmLye4RGy
lMI8/Xh3RwulIdA4dvTkZ7KF2OdIi05LKcovwTXclhWWrBUYTsxIk+NF2i0i9w68lSxZ62L
B3Kby4WGK75ntJV1XrGsA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:rFLfE/L1XpQ=;0w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There: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Eli Zaretskii <eliz@HIDDEN> writes:
> If it turns out that the priorities we specify
> don't produce the effect that some user wants, they could then use the
> other face attributes, as you explain above (but maybe we should
> document this facility in the user manual?).
Absolutely - after somebody has tested it a bit. Could maybe Manuel do
that?
> Still, I think the faces produced from sexp entities should take
> precedent (via overlay priorities) over the other faces, as the
> default.
Not better than any other random choice, IMO. An entry being a sexp
entry only means that the date is complicated to describe, not that the
entry is more important.
Michael.
X-Loop: help-debbugs@HIDDEN
Subject: bug#78120: 31.0.50; Calendar is not reliable with its marking
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 09 May 2025 06:39:01 +0000
Resent-Message-ID: <handler.78120.B78120.174677269917473 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78120
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
Received: via spool by 78120-submit <at> debbugs.gnu.org id=B78120.174677269917473
(code B ref 78120); Fri, 09 May 2025 06:39:01 +0000
Received: (at 78120) by debbugs.gnu.org; 9 May 2025 06:38:19 +0000
Received: from localhost ([127.0.0.1]:34765 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uDHND-0004Xk-AX
for submit <at> debbugs.gnu.org; Fri, 09 May 2025 02:38:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51728)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uDHNA-0004XX-UW
for 78120 <at> debbugs.gnu.org; Fri, 09 May 2025 02:38:17 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1uDHN5-000781-80; Fri, 09 May 2025 02:38:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=bDH4S7LLSJXu/ZkklU+cVezjbc29KUZgosweAS+BbMU=; b=AtnPXYwjNlQV
BIofo5OSjkZtNM7xqIcdpfukkcuWZuRoK6nX36xNYar2LvguBz43xBHVU5g4nv5n8UzgbK4ITs3Oi
uyDY75O7OVjren2tv9M/MHXMsnUjTApN2Qjcqv7Q23FnHRUemGJAkoAVZIunxJTXVOnk/FewbgVAI
3kuNhpXKSq4iGhMIFUWjGrKZVgZk++vI7oaCY97AeOy5KCeIOPKeAblmI69p8vBvMTnAas7qhocYh
v2P/uQD0DZ7vrs3jwYfDuUv9Oac9BLlC9rmShAhXnmgh0f3A8PrXpJCiUZq4KOAm7lD5pN7KOqaLr
5Nja8RbC5EQyUCGlkUCW5g==;
Date: Fri, 09 May 2025 09:38:08 +0300
Message-Id: <86msbmcmr3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87h61uqvhr.fsf@HIDDEN> (message from Michael Heerdegen on Fri,
09 May 2025 06:05:36 +0200)
References: <877c34qr5o.fsf@HIDDEN> <86msbujc3x.fsf@HIDDEN>
<877c2xx6ot.fsf@HIDDEN> <87selljfnm.fsf@HIDDEN>
<86cycphrlh.fsf@HIDDEN> <87a57r3mxa.fsf@HIDDEN>
<86v7qfguul.fsf@HIDDEN> <87plgneyfi.fsf@HIDDEN>
<871pt237lz.fsf@HIDDEN> <877c2ufe9t.fsf@HIDDEN>
<86cycmgevl.fsf@HIDDEN> <871pt1fx2v.fsf@HIDDEN>
<86wmatfvdr.fsf@HIDDEN> <8734dh1hri.fsf@HIDDEN>
<86tt5wfxx5.fsf@HIDDEN> <874ixwh4e3.fsf@HIDDEN>
<86h61wflrg.fsf@HIDDEN> <8734dfitnh.fsf@HIDDEN>
<86y0v7ego8.fsf@HIDDEN> <87h61uqvhr.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Cc: manuel@HIDDEN, 78120 <at> debbugs.gnu.org
> Date: Fri, 09 May 2025 06:05:36 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> > Still, I think the faces produced from sexp entities should take
> > precedent (via overlay priorities) over the other faces, as the
> > default.
>
> Not better than any other random choice, IMO. An entry being a sexp
> entry only means that the date is complicated to describe, not that the
> entry is more important.
Maybe so, but since we do have to make a (possibly arbitrary) decision
about the priorities, to make the results deterministic, we could as
well use what I suggested (or any other, really).
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.