From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Running Node.js and exporting css. Date: Sat, 23 Aug 2014 23:51:28 -0400 Message-ID: <8738cmczpb.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLOqS-0006Og-Tv for emacs-orgmode@gnu.org; Sat, 23 Aug 2014 23:52:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLOqM-0008Sx-F9 for emacs-orgmode@gnu.org; Sat, 23 Aug 2014 23:51:56 -0400 Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:38463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLOqM-0008Sn-9I for emacs-orgmode@gnu.org; Sat, 23 Aug 2014 23:51:50 -0400 Received: by mail-ie0-f181.google.com with SMTP id rp18so8297730iec.12 for ; Sat, 23 Aug 2014 20:51:48 -0700 (PDT) In-Reply-To: (Josh Berry's message of "Fri, 22 Aug 2014 10:54:21 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Josh Berry Cc: emacs-orgmode@gnu.org Josh Berry writes: > Couple of weeks ago, I accidentally spammed the message board with several > attempts to send up a couple of patches for some problems I was seeing. > So, firstly, apologies for the spam. > > The two problems I was seeing were related to executing js using node.js, > and exporting css with vendor properties. > > The node.js problem is that it will start putting in newlines if a > structure is past some size. I think this may be "fixable" by changing > some settings in node.js, but it was also easy enough to change the regex > to look past newlines in org. An example of the problem can be seen by > running the following > > #+BEGIN_SRC js > return [[1, 2],[1, 2],[1, 2],[1, 2],[1, 2],[1, 2],[1,2]] > #+END_SRC > > > If you remove just one of the inner arrays, it will work as desired. > Thanks for the report Josh, I just pushed up an improved regexp for the parsing of multi-line js results. Best -- Eric > > The other problem is just as short. Simply export the following when > you have org-src-fontify-natively set. > > #+BEGIN_SRC css > foo { > -webkit-appearance: none; > } > #+END_SRC > > I cobbled a small change that seemed to fix that. > > At any rate, again apologies for the previous spam. I didn't want to just > respam immediately with an apology. > > Thanks! > > -- > josh > -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)