From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll Date: Fri, 20 Apr 2012 13:57:55 +0200 Message-ID: <8762cuy5rw.fsf@altern.org> References: <20120416134131.GA28445@c3po.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLCSI-0004Q7-JL for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 07:56:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLCSD-0006dM-Pc for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 07:56:50 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:45146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLCSD-0006dH-GW for emacs-orgmode@gnu.org; Fri, 20 Apr 2012 07:56:45 -0400 Received: by werj55 with SMTP id j55so7811716wer.0 for ; Fri, 20 Apr 2012 04:56:43 -0700 (PDT) In-Reply-To: <20120416134131.GA28445@c3po.home> (Toby Cubitt's message of "Mon, 16 Apr 2012 15:41:31 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Toby Cubitt writes: > On Mon, Apr 16, 2012 at 05:50:50AM +0300, Eli Zaretskii wrote: >> > Date: Sun, 15 Apr 2012 23:04:16 +0200 >> > Cc: 11249@debbugs.gnu.org, emacs-orgmode@gnu.org >> > From: Toby Cubitt >> > >> > The obvious solution is for org-mode to use a face that doesn't enlarge >> > the characters. >> >> Another solution would be to enlarge the calendar window by one line. > > I've attached a patch that does exactly this. As expected, it fixes the > bug for me. > > As discussed previously, the alternative solution would be to change the > default face used to highlight the current date to something that doesn't > set the :bold attribute (which would probably mean introducing a separate > face for this, instead of reusing org-warning). But expanding the > calendar window is a more general solution, as it fixes the problem for > (almost) any face. I introduced a new face `org-date-selected' which is now the one in use in the calendar and which is not bold. Thanks for the detailed feedback, -- Bastien