From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: bug#11249: 24.1.50; Overlay with face property causes calendar buffer to scroll Date: Wed, 25 Apr 2012 16:30:02 -0500 Message-ID: <8762cnsdnp.fsf@fastmail.fm> References: <8762cuy5rw.fsf@altern.org> <20120421193406.GA1111@c3po.home> <874nsctgb8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN9mw-0006jc-VF for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 17:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN9mv-000196-Cq for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 17:30:14 -0400 In-Reply-To: <874nsctgb8.fsf@gnu.org> (Bastien's message of "Sun, 22 Apr 2012 08:46:03 +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: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: > Toby Cubitt writes: > >> In the patch I posted, I also took the opportunity to set >> `cursor-type' to nil when opening the calendar in `org-read-date'. >> The cursor obscures one digit of the selected date, making that bit >> harder to read (as well as looking ugly). Did you intend to reject >> this change too? > > I did because I found the not-bold-anymore face wasn't visible enough, > and the shallow cursor made it visible. > > I use inverse-video now for this face, so cursor-type nil is okay, I > applied a patch with this. This patch broke org-read-date. It will no longer parse date strings such as "Aug 15" correctly, instead inserting the current day. Steps to reproduce 1. Start with a headline: ,---- | * A Headline `---- 2. Type C-c C-s (org-schedule) 3. Enter a future date (e.g., Aug 20). 4. Note the resulting headline: ,---- | * A Headline | SCHEDULED: <2012-04-25 Wed> `---- If I comment out the following line: (org-eval-in-calendar '(setq cursor-type nil)) org-read-date works correctly. Best, Matt