From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: src block: 'C-c C-c can do nothing useful here' if cursor on blank line Date: Fri, 27 Jan 2017 16:00:24 -0500 Message-ID: <87wpdgb4lz.fsf@kyleam.com> References: <874m0k9s1i.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXDdQ-0003rK-Le for emacs-orgmode@gnu.org; Fri, 27 Jan 2017 16:00:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXDdM-0002d2-7i for emacs-orgmode@gnu.org; Fri, 27 Jan 2017 16:00:40 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:56689 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cXDdL-0002ck-W3 for emacs-orgmode@gnu.org; Fri, 27 Jan 2017 16:00:36 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0718F63A28 for ; Fri, 27 Jan 2017 16:00:32 -0500 (EST) Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id F31E263A27 for ; Fri, 27 Jan 2017 16:00:31 -0500 (EST) Received: from localhost (unknown [24.60.167.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 732AB63A26 for ; Fri, 27 Jan 2017 16:00:31 -0500 (EST) In-Reply-To: <874m0k9s1i.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 27 Jan 2017 20:17:13 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 line >> of code. If I'm on a blank line inside it, it doesn't execute. Here >> was my test: > > I have noticed this recently as well. Not sure if it was always the > case, mind you, but it would be nice if C-c C-c would work even when the > cursor is on a blank line (within a src block, that is). I think this changed with 0b6a2e241 (C-c C-c does nothing when at a blank line, 2013-02-15). I wasn't able to figure out the motivation for that change. -- Kyle