emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-dblock-write:myownfunc does not split my window?
@ 2014-04-01 13:52 Martin
  2014-04-17  7:18 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Martin @ 2014-04-01 13:52 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-dblock-write:myownfunc does not split my window?
  2014-04-01 13:52 org-dblock-write:myownfunc does not split my window? Martin
@ 2014-04-17  7:18 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2014-04-17  7:18 UTC (permalink / raw)
  To: Martin; +Cc: org-mode

Hi Martin,

Martin <kleinerdrache@gmx.at> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-17  7:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-01 13:52 org-dblock-write:myownfunc does not split my window? Martin
2014-04-17  7:18 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).