Re: [Orgmode] [org-plot] Re: org-plot dosesn't catch options from #+PLOT: line if line does not start at column 0
Hi Thomas, Thanks for the patch, it has been applied. Best -- Eric Thomas Holst writes: > Hello, > > in my last eMail there was a typo in the patch. The corrected verson is below. > > ---%x cut here x%--- > --- org-plot.el 2010-03-01 02:00:15.0 +0100 > +++ c:/daten/users/DE_hts2fe/emacs/OrgMode/org-mode-aktuell/lisp/org-plot.el > 2010-03-01 10:02:33.934355700 +0100 > @@ -301,7 +301,7 @@ > (setf table (delq 'hline (cdr table ;; clean non-data from table >;; collect options >(save-excursion (while (and (equal 0 (forward-line -1)) > - (looking-at "#\\+")) > + (looking-at "[[:space:]]*#\\+")) > (setf params (org-plot/collect-options params >;; dump table to datafile (very different for grid) >(case (plist-get params :plot-type) > ---%x cut here x%--- > > Mit freundlichen Gr.ü.ßen / Best regards > > Thomas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [org-plot] Re: org-plot dosesn't catch options from #+PLOT: line if line does not start at column 0
Hello, in my last eMail there was a typo in the patch. The corrected verson is below. ---%x cut here x%--- --- org-plot.el 2010-03-01 02:00:15.0 +0100 +++ c:/daten/users/DE_hts2fe/emacs/OrgMode/org-mode-aktuell/lisp/org-plot.el 2010-03-01 10:02:33.934355700 +0100 @@ -301,7 +301,7 @@ (setf table (delq 'hline (cdr table ;; clean non-data from table ;; collect options (save-excursion (while (and (equal 0 (forward-line -1)) - (looking-at "#\\+")) + (looking-at "[[:space:]]*#\\+")) (setf params (org-plot/collect-options params ;; dump table to datafile (very different for grid) (case (plist-get params :plot-type) ---%x cut here x%--- Mit freundlichen Grüßen / Best regards Thomas -- "Das Leben ist so einfach, dass es schon wieder schwierig ist!" ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode