From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: [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 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nm3ra-0000tI-If for emacs-orgmode@gnu.org; Mon, 01 Mar 2010 06:32:38 -0500 Received: from [140.186.70.92] (port=47648 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nm3rZ-0000t9-55 for emacs-orgmode@gnu.org; Mon, 01 Mar 2010 06:32:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nm3rY-0002Tg-A6 for emacs-orgmode@gnu.org; Mon, 01 Mar 2010 06:32:37 -0500 Received: from smtp2-v.fe.bosch.de ([139.15.237.6]:32982) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nm3rY-0002TL-5K for emacs-orgmode@gnu.org; Mon, 01 Mar 2010 06:32:36 -0500 Received: from vsmta1.fe.internet.bosch.com (unknown [10.4.98.30]) by imta6.fe.bosch.de (Postfix) with ESMTP id 824BC370074 for ; Mon, 1 Mar 2010 12:32:33 +0100 (CET) Received: from rbmta1.fe.internet.bosch.com (rbmta1.fe.internet.bosch.com [10.4.98.17]) by vsmta1.fe.internet.bosch.com (Postfix) with ESMTP id 8420750150 for ; Mon, 1 Mar 2010 12:32:33 +0100 (CET) Received: from FE-Z1102.de.bosch.com (localhost.localdomain [127.0.0.1]) by rbmta1.fe.internet.bosch.com (Postfix) with ESMTP id 2FDB0D0001 for ; Mon, 1 Mar 2010 12:32:33 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, in my last eMail there was a typo in the patch. The corrected verson is b= elow. ---%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=81=FC=81=DFen / Best regards=20 Thomas --=20 "Das Leben ist so einfach, dass es schon wieder schwierig ist!"