From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] make comment-dwim in source code blocks more DWIM-ish Date: Mon, 04 Nov 2013 12:29:37 +0100 Message-ID: <871u2w1k2m.fsf@bzg.ath.cx> References: <1382996437-11695-1-git-send-email-aaronecay@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdILt-0004xe-Si for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 06:29:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdILl-0003Mv-Gz for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 06:29:49 -0500 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:48486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdILl-0003Mr-AE for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 06:29:41 -0500 Received: by mail-wi0-f179.google.com with SMTP id hm4so345312wib.12 for ; Mon, 04 Nov 2013 03:29:40 -0800 (PST) In-Reply-To: <1382996437-11695-1-git-send-email-aaronecay@gmail.com> (Aaron Ecay's message of "Mon, 28 Oct 2013 17:40:37 -0400") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Aaron Ecay Cc: emacs-orgmode@gnu.org Hi Aaron, Aaron Ecay writes: > * lisp/org.el (org-insert-comment, org-comment-or-uncomment-region): > use the relevant languageā€™s major mode comment function if called from > within a source block. > > This patch makes it easier to (un)comment lines of babel source. Now > M-; in a soucre code block should Just Work. It does! Something I've been wanting since long. I applied the patch in master so that more people can test it. Thanks! -- Bastien