From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Heading/item insert commands Date: Fri, 06 Oct 2017 19:54:05 +0200 Message-ID: <87fuawi2ma.fsf@nicolasgoaziou.fr> References: <87d1649i7t.fsf@acer.localhost.com> <871smjgq3l.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0Wp9-0003Gd-P9 for emacs-orgmode@gnu.org; Fri, 06 Oct 2017 13:54:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0Wp6-00074N-OT for emacs-orgmode@gnu.org; Fri, 06 Oct 2017 13:54:11 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:34624) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0Wp6-00073j-HH for emacs-orgmode@gnu.org; Fri, 06 Oct 2017 13:54:08 -0400 In-Reply-To: (Ingo Lohmar's message of "Wed, 4 Oct 2017 13:27:44 +0200") 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: Ingo Lohmar Cc: emacs-orgmode@gnu.org Hello, Ingo Lohmar writes: > Hi Nicolas, > > I am not sure I understand: As I tried to make clear, I am *not* interested > in changing the UI for anybody but myself. I probably should have omitted > the "long-run" comment altogether. OK. I misunderstood your message. However, I'm not against also discussing the UI, if needed. > What I am interested in is refactoring: add a layer of functions that > cleanly do what is now done in an ad-hoc way, eg, inside > of-insert-todo-heading, or which is not done at all. Fair enough. There are also quite a few tests in test-org.el. You may want to extend these while rewriting the functions. Regards, -- Nicolas Goaziou 0x80A93738