emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Current patches to make org-mode run on XEmacs


From: Nicolas Goaziou
Subject: Re: [O] Current patches to make org-mode run on XEmacs
Date: Wed, 31 Aug 2011 20:25:46 +0200

Hello,

Michael Sperber <address@hidden> writes:

> ... are attached.  I've run with this for a few weeks now, and what I
> use mostly works.  So I would appreciate if these could go into the git
> repo.
>
> Let me draw your attention to this hunk:
>
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -7360,7 +7360,7 @@ would end up with no indentation after the change, 
> nothing at all is done."
>          col)
>        (while (re-search-forward
>             (concat "\\(" (regexp-opt org-all-time-keywords)
> -                   "\\|" "^[ \t]*" org-tsr-regexp-both "*$"
> +                   "\\|" "^[ \t]*" org-tsr-regexp-both "$"
>                     "\\|" "^[ \t]*:[a-zA-Z][a-zA-Z0-9_]*:.*$"
>                     "\\)") (or drawer-end end) t)
>       (beginning-of-line)
>
> While I needed this to make the code run on XEmacs, it really looks like
> a bug fix to me: The "*" that I deleted makes that part of the
> disjunction match the empty string

I don't think so, as `org-tsr-regexp-both' isn't made up of one big
group. But that star is strange indeed.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]