In Emacs org-mode, how do I get org-capture to open in a full-sized window, rather than first splitting the window ?
Emacs does not actually understand you are editing an Org document, yet. To enable Org mode on your current document, type M-x org-mode which will enable the Org mode on the current document.
The Basics \par Org-mode works out of the box, and besides the steps described in the manual to activate it, nothing is needed at all. Just open a . org file, press C-c [ to tell org that this is a file you want to use in your agenda, and start putting your life into plain text.
Emacs has included Org Mode as a major mode by default since 2006. Bastien Guerry is the current maintainer, in cooperation with an active development community. Since its success in Emacs, some other systems now provide functions to work with org files.
You can add (add-hook 'org-capture-mode-hook 'delete-other-windows)
or (add-hook 'org-capture-mode-hook 'make-frame)
to your .emacs
. (To test, you can eval these with M-:
). The first should delete the other windows, the second opens the window in a new frame. However these work after you select the capture template.
The accepted answer doesn't seem to work for me in emacs 24. The only solution I was able to find involves using emacs-noflet and (thanks Alex Vorobiev) in your emacs file:
(defun make-capture-frame ()
"Create a new frame and run org-capture."
(interactive)
(make-frame '((name . "capture")))
(select-frame-by-name "capture")
(delete-other-windows)
(noflet ((switch-to-buffer-other-window (buf) (switch-to-buffer buf)))
(org-capture)))
and bind make-capture-frame
to a shortcut.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With