[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [feature request] org-capture-window-setup to stop capture windo
From: |
Subhan Michael Tindall |
Subject: |
Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame |
Date: |
Wed, 17 Jun 2015 16:41:05 +0000 |
Quickie patch, maybe I'll work it up as per comments later & submit but this
will fix things for you (no guarantees, not widely tested)
Modify:
,org-cpature.el
In org-capture-fill-template
**********
(save-window-excursion
;; simplistic modification to avoid the capture-fill-template from
;; taking over the whole frame. It just moves to next window in
cycling
;; order and uses that
;; proper patch would want configuration variable, more intelligent
window choice,
;; and option to pop up new frame and destroy after
capture-flll-template
;; (or use with template as well?
;; (delete-other-windows) don't delete other windows SMT 2015-06-17
(other-window 1) ;;stupid version, just go to next window in cycling
order
(org-pop-to-buffer-same-window (get-buffer-create "*Capture*"))
*********
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Eric S Fraga
> Sent: Wednesday, June 17, 2015 1:25 AM
> To: Kaushal
> Cc: address@hidden; Charles Millar
> Subject: Re: [O] [feature request] org-capture-window-setup to stop
> capture window taking up whole frame
>
> On Monday, 8 Jun 2015 at 16:46, Kaushal wrote:
> > `org-capture` does not take up the full frame for me by default; I
> > just tried that in an emacs -Q session.
>
> Okay, I have finally found some time to get back to this (been marking exam
> scripts, for my sins... ;-).
>
> If the capture template prompts for information, the whole frame is cleared
> and only the bare capture buffer is shown in the frame while the prompts
> are processed. This is my main problem: I often want to include some
> information from the existing buffers in my org capture and all the
> information is hidden just when I want it.
>
> Once the prompts have been answered, the windows shown in the frame
> change with the original window present as well as the capture window. This
> is too late.
>
> All of the above confirmed with emacs -Q.
>
> The question, I guess, is why does org-capture need to take over the whole
> frame while processing the prompts in the capture template? If it needs to
> display the capture buffer while handling the prompts, why not display it as
> it
> will once the prompts have been processed?
>
> Thanks,
> eric
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1216-gb856f6
This message is intended for the sole use of the individual and entity to which
it is addressed and may contain information that is privileged, confidential
and exempt from disclosure under applicable law. If you are not the intended
addressee, nor authorized to receive for the intended addressee, you are hereby
notified that you may not use, copy, disclose or distribute to anyone the
message or any information contained in the message. If you have received this
message in error, please immediately advise the sender by reply email and
delete the message. Thank you.
- [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Eric S Fraga, 2015/06/08
- Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Charles Millar, 2015/06/08
- Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Kaushal, 2015/06/09
- Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, e.fraga, 2015/06/09
- Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Eric S Fraga, 2015/06/17
- Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame,
Subhan Michael Tindall <=
- Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Eric S Fraga, 2015/06/18
- Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Nicolas Goaziou, 2015/06/23
- Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Eric S Fraga, 2015/06/25
- Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Nicolas Goaziou, 2015/06/25
Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Thierry Banel, 2015/06/08
Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame, Alan Schmitt, 2015/06/09