From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Folding in iESS R buffer Date: Tue, 27 May 2014 23:42:32 +0200 Message-ID: <87d2eyzynr.fsf@gmail.com> References: <87d2ez1vjq.fsf@gmail.com> <87tx8bzhe5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpP95-0006tw-55 for emacs-orgmode@gnu.org; Tue, 27 May 2014 17:43:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpP8y-0007Aw-UE for emacs-orgmode@gnu.org; Tue, 27 May 2014 17:42:55 -0400 Received: from plane.gmane.org ([80.91.229.3]:36458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpP8y-0007Ag-NC for emacs-orgmode@gnu.org; Tue, 27 May 2014 17:42:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WpP8x-0008BG-Qx for emacs-orgmode@gnu.org; Tue, 27 May 2014 23:42:47 +0200 Received: from g231225013.adsl.alicedsl.de ([92.231.225.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 May 2014 23:42:47 +0200 Received: from tjolitz by g231225013.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 May 2014 23:42:47 +0200 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: emacs-orgmode@gnu.org Rainer M Krug writes: > I changed it in the buffer, so that it now reads: > > ,---- > | > > | ## * Variable Transfer from org > | ########################################################## > | ## org:variables environment created and in search path > | ########################################################## > | > | ## * Back to normal code > | here it is @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > | > > > `---- > > but the folding still results in > > ,---- > | > > | ## * Variable Transfer from org > | ##########################################################... > | here it is @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > | > > > `---- these long comment lines have been a problem for headline fontification in outshine buffers before, making the regexp matcher freeze emacs, but this should be fixed. I havn't seen this problem with folding - when I'm on a machine with ESS installed I try it out ... > If it helps, here is the buffer: > > ,---- > | R version 3.1.0 (2014-04-10) -- "Spring Dance" > | Copyright (C) 2014 The R Foundation for Statistical Computing > | Platform: x86_64-apple-darwin13.1.0 (64-bit) > | > | R is free software and comes with ABSOLUTELY NO WARRANTY. > | You are welcome to redistribute it under certain conditions. > | Type 'license()' or 'licence()' for distribution details. > | > | Natural language support but running in an English locale > | > | R is a collaborative project with many contributors. > | Type 'contributors()' for more information and > | 'citation()' on how to cite R or R packages in publications. > | > | Type 'demo()' for some demos, 'help()' for on-line help, or > | 'help.start()' for an HTML browser interface to help. > | Type 'q()' to quit R. > | > | During startup - Warning messages: > | 1: Setting LC_CTYPE failed, using "C" > | 2: Setting LC_COLLATE failed, using "C" > | 3: Setting LC_TIME failed, using "C" > | 4: Setting LC_MESSAGES failed, using "C" > | 5: Setting LC_MONETARY failed, using "C" > | > > options(STERM='iESS', str.dendrogram.last="'", > | > > editor='emacsclient', show.error.locations=TRUE) > | > > | ## * Variable Transfer from org > | ########################################################## > | ## org:variables environment created and in search path > | ########################################################## > | > | ## * Back to normal code > | here it is @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > | > > > `---- > > I figured it out: > > The problems are the comment lines - if I delete these, it is > working. > > I can work around this. ok, nice -- cheers, Thorsten