From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: function for inserting a block Date: Thu, 05 Oct 2017 16:47:05 +0200 Message-ID: <87bmllk5xy.fsf@nicolasgoaziou.fr> References: <877exghblx.fsf@ericabrahamsen.net> <87efromccg.fsf@nicolasgoaziou.fr> <87ziabepxt.fsf@ericabrahamsen.net> <87bmml2fb0.fsf@ericabrahamsen.net> <87fubuzpsa.fsf@nicolasgoaziou.fr> <874lsabdop.fsf@ericabrahamsen.net> <87vak1l11m.fsf@nicolasgoaziou.fr> <87r2uoc4q7.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e07Qf-0002vF-SB for emacs-orgmode@gnu.org; Thu, 05 Oct 2017 10:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e07Qb-0004QJ-Gz for emacs-orgmode@gnu.org; Thu, 05 Oct 2017 10:47:13 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37338) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e07Qb-0004On-A5 for emacs-orgmode@gnu.org; Thu, 05 Oct 2017 10:47:09 -0400 In-Reply-To: <87r2uoc4q7.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 30 Sep 2017 13:26:56 -0700") 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Hello, Eric Abrahamsen writes: > Nicolas Goaziou writes: > > > [...] > >> C-c C-x t is free, tho. > > Oops, I think that's what I meant to type. Here's the latest version of > the patch -- I removed the bit fooling with the location of point at the > end, as it seemed simpler was better. How's this look? `newline-and-indent' and `mark' shouldn't be used in the function. Otherwise, it looks good. Could you provide some tests for that in "test-org.el"? Thank you. Regards, -- Nicolas Goaziou