emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] [org-plot] Re: org-plot dosesn't catch options from #+PLOT: li


From: Thomas Holst
Subject: [Orgmode] [org-plot] Re: org-plot dosesn't catch options from #+PLOT: line if line does not start at column 0
Date: Mon, 01 Mar 2010 12:32:32 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (windows-nt)

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.000000000 +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!"




reply via email to

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