From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Possible regexp bug in org.el Date: Tue, 01 Apr 2014 11:46:21 +0200 Message-ID: <87ob0lmlg2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUvGB-0000Zt-4q for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 05:45:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUvFz-0000fB-UX for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 05:45:34 -0400 Received: from plane.gmane.org ([80.91.229.3]:37780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUvFz-0000dv-Lk for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 05:45:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WUvFp-0006ec-Op for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 11:45:13 +0200 Received: from e178190017.adsl.alicedsl.de ([85.178.190.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2014 11:45:13 +0200 Received: from tjolitz by e178190017.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 01 Apr 2014 11:45:13 +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 Hi List, here is a possible regexp bug in org.el I discovered by accident: ,--------------------------------------------- | 7734: (and (not (looking-back "^\*+")) `--------------------------------------------- #+begin_src emacs-lisp (and (not (looking-back "^\*+")) ; missing backslash? (looking-at "[ \t]+") (replace-match "")) (unless (eobp) (forward-char 1)) (when (looking-at "^\\*") #+end_src -- cheers, Thorsten