[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ess-help
Subject:    Re: [ESS] frame splitting annoyance
From:       "McGehee, Robert" <Robert.McGehee () geodecapital ! com>
Date:       2007-12-19 16:08:59
Message-ID: EEBC169715EB8C438D3C9283AF0F201C17C927 () MSGBOSCLM2WIN ! DMN1 ! FMR ! COM
[Download RAW message or body]

Thank you, that works perfectly! 

-----Original Message-----
From: Stephen Eglen [mailto:S.J.Eglen@damtp.cam.ac.uk] 
Sent: Wednesday, December 19, 2007 6:22 AM
To: McGehee, Robert
Cc: ess-help@stat.math.ethz.ch
Subject: [ESS] frame splitting annoyance

McGehee, Robert writes:
 > ESS gurus,
 > I'm a happy user of ESS 5.3.6 with R 2.6.1, though keep running into
a
 > 'feature' that I want to turn off. I use more than one monitor and
 > generally I write a script in a buffer in one frame and have R
running
 > interactively in another frame on a second monitor.
 > 
 > Sometimes I execute slow commands (using something like C-c, C-n) and
 > continue programming in my script frame (monitor one). Well,
somewhere
 > between ESS 5.3.3 and 5.3.6 an undesirable feature popped up where as
 > soon as I add an open parentheses '(' while R is running something my
 > script, the frame splits in half, beeps, and a message shows up at
the
 > bottom of my screen: 'ESS process not ready. Finish your command
before
 > trying again.'
 > 
 > I don't mind the message or the beep, but why does my frame need to
 > split while I'm coding? Can I turn this behavior off? When I'm
running
 > an extremely slow command, I'd like to make use of the whole frame
 > without ESS splitting it.
 > 
 > Example that works for me:
 > > emacs
 > C-x 5 2   ## load a second frame
 > M-x R     ## start R in second frame
 > M-tab     ## switch focus to first frame
 > > Sys.sleep(20) C-c C-n ## copy and execute a slow command into my R
 > buffer.
 > > abc(    ## eek! frame splits upon pressing '('!

You are probably seeing the efefct of the following:

	* ess-cust.el (ess-r-args-electric-paren): default changed to t;
	newbies should see the new feature automatically.

so, try the following in your .emacs(and restart):

(setq ess-r-args-electric-paren nil)
Stephen

______________________________________________
ESS-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic