Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evaluate rectangular-block as region #45

Closed
michelk opened this issue Jun 5, 2013 · 2 comments
Closed

evaluate rectangular-block as region #45

michelk opened this issue Jun 5, 2013 · 2 comments

Comments

@michelk
Copy link

michelk commented Jun 5, 2013

I use ESS in conjunction with evil.

Sometimes I would like to evaluate a selected rectangular block. Eg. in

funkyFun(
  x = 5
 ,y = 10
 ,c = 25
)

I visually select block

x = 5
y = 10
c = 25

If I then do ess-eval-region, I get

R> x = 5
R> , y = 10
Error: unexpected ',' in " ,"
...
@vspinu
Copy link
Member

vspinu commented Jun 5, 2013

Interesting, never thought of this patter. We can add ess-eval-rectangular-region in principle. Will think about it.

@lionel-
Copy link
Member

lionel- commented Sep 11, 2015

I also use ESS with Evil but I never encountered a situation where I needed to eval a rectangular region. Could you provide an example where this would be useful?

jabranham added a commit to jabranham/ESS that referenced this issue Jul 25, 2018
If we're in rectangle-mark-mode, loop over each line of the rectangle
and send it to the inferior process.

Closes emacs-ess#45
jabranham added a commit to jabranham/ESS that referenced this issue Jul 25, 2018
If we're in rectangle-mark-mode, loop over each line of the rectangle
and send it to the inferior process.

Closes emacs-ess#45
jabranham added a commit to jabranham/ESS that referenced this issue Jul 25, 2018
If we're in rectangle-mark-mode, loop over each line of the rectangle
and send it to the inferior process.

Closes emacs-ess#45
jabranham added a commit to jabranham/ESS that referenced this issue Jul 25, 2018
If we're in rectangle-mark-mode, loop over each line of the rectangle
and send it to the inferior process.

Closes emacs-ess#45
jabranham added a commit to jabranham/ESS that referenced this issue Jul 25, 2018
If we're in rectangle-mark-mode, loop over each line of the rectangle
and send it to the inferior process.

Closes emacs-ess#45
jabranham added a commit to jabranham/ESS that referenced this issue Jul 25, 2018
If we're in rectangle-mark-mode, loop over each line of the rectangle
and send it to the inferior process.

Closes emacs-ess#45
jabranham added a commit to jabranham/ESS that referenced this issue Jul 26, 2018
If we're in rectangle-mark-mode, loop over each line of the rectangle
and send it to the inferior process.

Closes emacs-ess#45
vspinu pushed a commit that referenced this issue Jul 26, 2018
If we're in rectangle-mark-mode, loop over each line of the rectangle
and send it to the inferior process.

Closes #45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants