emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Lawrence Mitchell <wence@gmx.li>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org: Match case of todo keywords when determining empty headings
Date: Wed, 30 Mar 2011 22:28:31 -0700	[thread overview]
Message-ID: <AANLkTi=qp8xd9fggbjWHufFacibeLgy=aSWKQZuTTMsX@mail.gmail.com> (raw)
In-Reply-To: <m37hbiz57s.fsf@e4300lm.epcc.ed.ac.uk>

Hi Lawrence,

Thanks!

On 2011-03-29, Lawrence Mitchell <wence@gmx.li> 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.

      reply	other threads:[~2011-03-31  5:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29  2:10 7th todo keyword bug Samuel Wales
2011-03-29  8:44 ` [PATCH] org: Match case of todo keywords when determining empty headings Lawrence Mitchell
2011-03-31  5:28   ` Samuel Wales [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=qp8xd9fggbjWHufFacibeLgy=aSWKQZuTTMsX@mail.gmail.com' \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wence@gmx.li \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).