From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-dblock-write:myownfunc does not split my window? Date: Thu, 17 Apr 2014 09:18:38 +0200 Message-ID: <87k3ao8lv5.fsf@bzg.ath.cx> References: <87lhvpdunk.fsf@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wagat-0001Hv-Tu for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 03:18:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wagao-00080G-Gj for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 03:18:47 -0400 Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:46249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wagao-00080A-9l for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 03:18:42 -0400 Received: by mail-wg0-f45.google.com with SMTP id l18so61312wgh.4 for ; Thu, 17 Apr 2014 00:18:41 -0700 (PDT) In-Reply-To: <87lhvpdunk.fsf@gmx.at> (Martin's message of "Tue, 01 Apr 2014 15:52:15 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martin Cc: org-mode Hi Martin, Martin writes: > Using a minimal example: > Creating an org file with somewhere: > > > #+BEGIN: myownfunc > #+END > > And using scratch (or this email) with > > (defun org-dblock-write:myownfunc (params) > (interactive) > (split-window nil -15) > (insert "window should be splitted")) > > This just inserts the text "window should be splitted" but does not > acutall split my window. > > What am I doing wrong? And how can I make it right? Fixed in maint, thanks, -- Bastien