From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: [PATCH] org: Match case of todo keywords when determining empty headings Date: Wed, 30 Mar 2011 22:28:31 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=34304 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5AQr-00011m-85 for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 01:28:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5AQp-0007o4-Pk for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 01:28:33 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:50291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5AQp-0007o0-Lo for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 01:28:31 -0400 Received: by gyd8 with SMTP id 8so996378gyd.0 for ; Wed, 30 Mar 2011 22:28:31 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lawrence Mitchell Cc: emacs-orgmode@gnu.org Hi Lawrence, Thanks! On 2011-03-29, Lawrence Mitchell wrote: > This is because the check for an empty heading thinks Question is > a todo keyword, because it doesn't match the case of the values > in org-todo-keywords. This patch fixes the problem by binding > case-fold-search to nil in the relevant place. I figured it would be something like that. I wonder if there could be a function factored out to do the match? I'm guessing not as it hasn't been done yet. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html I support the Whittemore-Peterson Institute (WPI) === I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MRV paper.