From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Subject: org-dblock-write:myownfunc does not split my window? Date: Tue, 01 Apr 2014 15:52:15 +0200 Message-ID: <87lhvpdunk.fsf@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUz75-0002gJ-Py for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 09:52:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUz6y-0001VC-9L for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 09:52:27 -0400 Received: from mout.gmx.net ([212.227.15.19]:63853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUz6x-0001Ut-VI for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 09:52:20 -0400 Received: from martin-desktop ([178.191.23.141]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MKYpv-1WVoBx29ax-00230q for ; Tue, 01 Apr 2014 15:52:19 +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: org-mode Hi there: 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? Thanks, Martin