emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Possible regexp bug in org.el
@ 2014-04-01  9:46 Thorsten Jolitz
  2014-04-01 10:16 ` Nicolas Richard
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Jolitz @ 2014-04-01  9:46 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-16 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-01  9:46 Possible regexp bug in org.el Thorsten Jolitz
2014-04-01 10:16 ` Nicolas Richard
2014-04-16 16:28   ` Bastien

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).