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.

Full log


View this message in rfc822 format

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: 78036 <at> debbugs.gnu.org
Subject: bug#78036: [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

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.