bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2199: marked as done (23.0.60; calendar marks and font-lock-mode)


From: Emacs bug Tracking System
Subject: bug#2199: marked as done (23.0.60; calendar marks and font-lock-mode)
Date: Wed, 11 Feb 2009 04:10:14 +0000

Your message dated Tue, 10 Feb 2009 23:00:25 -0500
with message-id <qlwsbxy65i.fsf@fencepost.gnu.org>
and subject line Re: bug#2199: 23.0.60; calendar marks and font-lock-mode
has caused the Emacs bug report #2199,
regarding 23.0.60; calendar marks and font-lock-mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2199: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2199
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- Subject: 23.0.60; calendar marks and font-lock-mode Date: Wed, 04 Feb 2009 18:03:36 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
In GNU Emacs 23.0.60.31 (i686-pc-linux-gnu, GTK+ Version 2.14.4)
 of 2009-01-31 on escher

Let ~/.emacs consist of the following three sexps:

(add-hook 'calendar-today-visible-hook 'calendar-mark-today)
(setq calendar-mark-diary-entries-flag t)
(setq calendar-mark-holidays-flag t)

(i) Start Emacs by invoking `emacs', then type `M-x calendar'.
=> In the Calendar, today's date is marked with `=', diary entries are
marked with `+' and holidays are marked with `*'.

(ii) Start Emacs by invoking `emacs', type `q' to quit the splash
screen, then type `M-x calendar'.
=> In the Calendar, today's date is marked with the face calendar-today,
diary entries are marked with the face diary and holidays are marked
with the face holiday.

The difference between (i) and (ii) is that the splash screen is in
Fundamental mode and in this mode font-lock-mode is nil, which makes the
calendar marks use string displays rather than faces, due, I believe, to
this change:

2008-04-02  Glenn Morris  <rgm@gnu.org>

        * calendar/calendar.el (diary-entry-marker, calendar-today-marker)
        (calendar-holiday-marker, mark-visible-calendar-date):
        * calendar/diary-lib.el (fancy-diary-display):
        Check for font-lock-mode before using faces.

This change is justified by the following comment in calendar.el: "These
[defcustoms] don't respect changes in font-lock-mode after loading."  So
maybe having to live with (i) is the lesser evil (the faces can (only)
be restored in the same Emacs session by explicitly changing the
variables' values in Custom or with setq).

Steve Berman



--- End Message ---
--- Begin Message --- Subject: Re: bug#2199: 23.0.60; calendar marks and font-lock-mode Date: Tue, 10 Feb 2009 23:00:25 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Glenn Morris wrote:

> emacs  -Q --daemon --eval "(setq in (window-inside-edges) out (window-edges))"
> emacsclient -c
>
> in = (0 1 10 8)
> out = (0 1 10 9)
>
> No idea what to do about that.

I've installed a hacky fix (for calendar) and am closing this bug.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]