all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org babel, ess, R
Date: Sun, 2 Jul 2017 08:18:59 +0530	[thread overview]
Message-ID: <3295F295-A14A-43EA-8752-53D1BEBCC31A@agrarianresearch.org> (raw)
In-Reply-To: <87mv8o2u9b.fsf@nicolasgoaziou.fr>

> 
>> When I press C-c' in an R code block to open an edit buffer with ess, on my
>> computer, it splits the screen into two side-by-side windows, with the new
>> window on the right showing the edit buffer, and the window on the left
>> showing the original file.
>> 
>> I would like to change this behaviour in two ways.
>> 
>> 1. I would like the window that continues to show the original file to
>> instead show the R session in which lines from the edit buffer can be
>> evaluated. I can manually change the buffer in this window to show me the R
>> session but I was wondering if this can be the default behaviour.
> 
> I fail to see how this could be a default behaviour since this is very
> specific to R source blocks.
> 

Isn’t is what most users need while editing the code block? The possibility of evaluating the code to test and see what happens? At present, one window shows the original buffer, which is, at least in my case, not needed while I am editing the code.

Is this an R specific need? Do people working with other languages not need this?


> I suggest to implement your own `org-edit-special' wrapper, and bind it
> to C-c ' (or advise the function).
> 


Thanks for the pointer. Let me look at this.

Thanks and best wishes,

Vikas

  reply	other threads:[~2017-07-02  2:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-01  1:36 org babel, ess, R Vikas Rawal
2017-07-01  3:38 ` Vikas Rawal
2017-07-01 12:53 ` Nicolas Goaziou
2017-07-02  2:48   ` Vikas Rawal [this message]
2017-07-02  7:05     ` Nicolas Goaziou
2017-07-03  0:17       ` Vikas Rawal
2017-07-03  2:21         ` Andreas Kiermeier
2017-07-03  2:28           ` Vikas Rawal
2017-07-03  2:35             ` Andreas Kiermeier
2017-07-03 19:52         ` John Hendy
2017-07-03 23:19           ` Vikas Rawal
2017-07-04  2:17             ` Charles C. Berry
2017-07-04  9:20               ` Vikas Rawal
2017-07-05 21:22             ` Nicolas Goaziou
2017-07-05 21:58               ` John Hendy
2017-07-06  4:42                 ` Charles C. Berry
2017-07-06  4:53                   ` Vikas Rawal
2017-07-06  5:25                     ` Charles C. Berry
2017-07-07 11:57                 ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3295F295-A14A-43EA-8752-53D1BEBCC31A@agrarianresearch.org \
    --to=vikaslists@agrarianresearch.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.