From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] make org-comment-dwim comment headings if on a heading Date: Thu, 23 Nov 2017 00:17:55 +0100 Message-ID: <878texlx7g.fsf@nicolasgoaziou.fr> References: <87zi7godo1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHeHK-0005I9-5p for emacs-orgmode@gnu.org; Wed, 22 Nov 2017 18:18:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHeHH-0003KR-IB for emacs-orgmode@gnu.org; Wed, 22 Nov 2017 18:18:02 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37717) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eHeHH-0003K0-CE for emacs-orgmode@gnu.org; Wed, 22 Nov 2017 18:17:59 -0500 In-Reply-To: <87zi7godo1.fsf@gmail.com> (Alex Branham's message of "Mon, 20 Nov 2017 15:14:54 -0600") 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: Alex Branham Cc: Org-mode Hello, Alex Branham writes: > This patch changes the behavior of `org-comment-dwim' so that if point > is on a heading, it will toggle the heading. Thank you. Could you add a test to test-org/comment-dwim from "test-org.el"? Regards, -- Nicolas Goaziou