From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rolf Ade Newsgroups: gmane.emacs.help Subject: Calendar: Highlight certain holidays Date: Fri, 05 May 2017 02:37:32 +0200 Organization: Me Message-ID: <87shkk9m0j.fsf@pointsman.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1493944835 2032 195.159.176.226 (5 May 2017 00:40:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 5 May 2017 00:40:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 05 02:40:32 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6RIN-0000SG-Vh for geh-help-gnu-emacs@m.gmane.org; Fri, 05 May 2017 02:40:32 +0200 Original-Received: from localhost ([::1]:44385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6RIT-0005fp-KP for geh-help-gnu-emacs@m.gmane.org; Thu, 04 May 2017 20:40:37 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-X-Trace: individual.net 0eRct5zGp1GHY7Xfgi6NJAb1/AFGfmxUfoRfzueS5KYxOC9Vw= Cancel-Lock: sha1:8dY7hGQwH7VzVrpK0zgDs0W/JfE= sha1:0J9pe5qAcGTS50zZfAzXdjYOA5g= Original-Xref: usenet.stanford.edu gnu.emacs.help:219106 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112957 Archived-At: I use calendar and then its function holidays often enough, that I set the variable calendar-holidays in my init.el. It occurs with me, that I would be helpful, if the holiday list would be colourful. The one added by me to calendar-holidays in another face than the holidays coming out of the default. And then also different faces for the holidays, I added (e.g. for distinction between public holidays and memorial days (say Mothers Day)). I looked into it, but there is nothing obvious. The user is able to control, what holidays appear in the buffer, that lists it, but every entry in this buffer is equal to each other in how it is displayed. I was in the mood to accept some effort as a proof of concept, that you can everything with emacs, I would have used a hook in calendar-in-read-only-buffer, if there would be one. I'm somewhat disapointed, that I'm not able to come up with a sane concept, how that could be done. Do I miss something?