From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-return on non-keyword does not insert newline Date: Sat, 29 Oct 2016 00:44:56 +0200 Message-ID: <87shrggkk7.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0FtX-0005LG-8x for emacs-orgmode@gnu.org; Fri, 28 Oct 2016 18:45:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0FtS-0005ZH-FM for emacs-orgmode@gnu.org; Fri, 28 Oct 2016 18:45:03 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:52787) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c0FtS-0005Z3-9c for emacs-orgmode@gnu.org; Fri, 28 Oct 2016 18:44:58 -0400 In-Reply-To: (Samuel Wales's message of "Fri, 28 Oct 2016 13:51:42 -0700") 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" To: Samuel Wales Cc: emacs-orgmode@gnu.org Hello, Samuel Wales writes: > in recent maint seemingly > > * |Whatever > > will not return with RET, if WHATEVER is a todo kw. Fixed. Thank you. > a potentially amusing note: if this is correct, then this is around > the 9th bug i have reported over many years on todo kw case. this > could mean that there were about 9 non-refactored hardcodes. :) > > possible cause: perhaps case-fold-search should be nil when using > looking-at on the complex heading regexp. Indeed. Matching `org-complex-heading-regexp' must be done with `case-fold-search' set to nil. I spotted and fixed a few places where this wasn't the case. I also added a note about it in the docstring. Regards, -- Nicolas Goaziou