GNU bug report logs - #78036
[PATCH] Reuse calendar temporary face

Previous Next

Package: emacs;

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

Date: Thu, 24 Apr 2025 14:38:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78036 in the body.
You can then email your comments to 78036 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#78036; Package emacs. (Thu, 24 Apr 2025 14:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Manuel Giraud <manuel <at> ledu-giraud.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 24 Apr 2025 14:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Reuse calendar temporary face
Date: Thu, 24 Apr 2025 16:36:42 +0200
[Message part 1 (text/plain, inline)]
Tags: patch

Hi,

As suggested by the comment, this patch tries to reuse "temporary" faces
created by calendar.el.  Without this, if you have a diary entry like:

--8<---------------cut here---------------start------------->8---
%%(diary-block 4 1 2025 4 30 2025 '(:background "lightgrey")) A busy month
--8<---------------cut here---------------end--------------->8---

Emacs will create a new face for each day in the block.


In GNU Emacs 31.0.50 (build 5, x86_64-unknown-openbsd7.7, X toolkit) of
 2025-04-22 built on computer
Repository revision: 871ec9615a949e967bf7d19466eb9c56ed80ff7e
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'

[0001-Reuse-calendar-temporary-face.patch (text/patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Manuel Giraud

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 26 Apr 2025 14:07:02 GMT) Full text and rfc822 format available.

Notification sent to Manuel Giraud <manuel <at> ledu-giraud.fr>:
bug acknowledged by developer. (Sat, 26 Apr 2025 14:07:02 GMT) Full text and rfc822 format available.

Message #10 received at 78036-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: 78036-done <at> debbugs.gnu.org
Subject: Re: bug#78036: [PATCH] Reuse calendar temporary face
Date: Sat, 26 Apr 2025 17:06:14 +0300
> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
> Date: Thu, 24 Apr 2025 16:36:42 +0200
> 
> As suggested by the comment, this patch tries to reuse "temporary" faces
> created by calendar.el.  Without this, if you have a diary entry like:
> 
> --8<---------------cut here---------------start------------->8---
> %%(diary-block 4 1 2025 4 30 2025 '(:background "lightgrey")) A busy month
> --8<---------------cut here---------------end--------------->8---
> 
> Emacs will create a new face for each day in the block.

Thanks, installed on the master branch, and closing the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 25 May 2025 11:24:17 GMT) Full text and rfc822 format available.

This bug report was last modified 84 days ago.

Previous Next


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