[ESS-bugs] new buglet: M-x R-2.8.x shows *R-..* buffer in two windows

Vitalie Spinu spinuvit at gmail.com
Sat Oct 20 00:59:54 CEST 2012


  >> Martin Maechler <maechler at stat.math.ethz.ch>
  >> on Fri, 19 Oct 2012 13:03:03 +0200 wrote:

  >> I would like to push it further. Why the new R window covers the
  >> original buffer? For me this is never desirable. How about using
  >> switch-to-buffer and make the window split in 2? This would be consisten
  >> to how our auto start or C-c C-z works.

  MM> Sounds "ok" to me.... (but I'm not 100% sure yet I'd really like it...)

  MM> Be careful to what happens when I   M-x R(-...) inside a  *R*
  MM> buffer where R has died (in my case typically: killed by me via C-c C-q)
  MM> It should restart R in the current buffer, not a new one.

We actually had it already implemented. It's inferior-ess-same-window
which defaulted to t. I have changed it to nil. It feels better this way
as it is consistent with the splitting which we have during the
auto-start.

I have also made the C-z C-z smarter, it is bound both in ESS and iESS
and from iESS it jumps back to the most recent R buffer. I had this in
my todo for 4 months or so :) C-c C-y is deprecated with a message now.

    Vitalie



More information about the ESS-bugs mailing list