Re: [O] src block: 'C-c C-c can do nothing useful here' if cursor on blank line

2017-01-27 Thread Nicolas Goaziou
Hello, "Charles C. Berry" writes: > Nor I. Perhaps it was just an oversight. > > FWIW, in `org-ctrl-c-ctrl-c' > > :(looking-at-p "[ \t]*$") > > could be > > #+BEGIN_SRC emacs-lisp >(and > (looking-at-p "[ \t]*$") > (not (eq 'src-block (org-element-type

Re: [O] src block: 'C-c C-c can do nothing useful here' if cursor on blank line

2017-01-27 Thread Charles C. Berry
On Fri, 27 Jan 2017, Kyle Meyer wrote: Eric S Fraga writes: On Friday, 27 Jan 2017 at 18:44, John Hendy wrote: Perhaps this is the intended behavior, but I noticed that I go to execute a code block and get the message "C-c C-c can do nothing useful here" if I'm not on the

Re: [O] src block: 'C-c C-c can do nothing useful here' if cursor on blank line

2017-01-27 Thread Kyle Meyer
Eric S Fraga writes: > On Friday, 27 Jan 2017 at 18:44, John Hendy wrote: >> Perhaps this is the intended behavior, but I noticed that I go to >> execute a code block and get the message "C-c C-c can do nothing >> useful here" if I'm not on the actual src block definition or a

Re: [O] src block: 'C-c C-c can do nothing useful here' if cursor on blank line

2017-01-27 Thread Eric S Fraga
On Friday, 27 Jan 2017 at 18:44, John Hendy wrote: > Perhaps this is the intended behavior, but I noticed that I go to > execute a code block and get the message "C-c C-c can do nothing > useful here" if I'm not on the actual src block definition or a line > of code. If I'm on a blank line inside

Re: [O] src block: 'C-c C-c can do nothing useful here' if cursor on blank line

2017-01-27 Thread John Kitchin
I get this all the time too. It would be nice if it went away, I also find it annoying. John Hendy writes: > Perhaps this is the intended behavior, but I noticed that I go to > execute a code block and get the message "C-c C-c can do nothing > useful here" if I'm not on the actual src block

[O] src block: 'C-c C-c can do nothing useful here' if cursor on blank line

2017-01-27 Thread John Hendy
Perhaps this is the intended behavior, but I noticed that I go to execute a code block and get the message "C-c C-c can do nothing useful here" if I'm not on the actual src block definition or a line of code. If I'm on a blank line inside it, it doesn't execute. Here was my test: #+begin