From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subhan Michael Tindall Subject: Re: [feature request] org-capture-window-setup to stop capture window taking up whole frame Date: Wed, 17 Jun 2015 16:41:05 +0000 Message-ID: <62a7f4ad0cbf4b37a52a0d8f324218b6@fcmailsvr2.familycareinc.org> References: <87zj4ate9f.fsf@pinto.chemeng.ucl.ac.uk> <5575C4C7.3050702@verizon.net> <874mm6pwsh.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5GOp-0000iX-UC for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 12:41:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5GOl-0001Uc-0e for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 12:41:15 -0400 Received: from outbound.familycareinc.org ([207.170.205.147]:36933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5GOk-0001Pu-NL for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 12:41:10 -0400 In-Reply-To: <874mm6pwsh.fsf@delle7240.chemeng.ucl.ac.uk> Content-Language: en-US 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: Eric S Fraga , Kaushal Cc: "emacs-orgmode@gnu.org" , Charles Millar Quickie patch, maybe I'll work it up as per comments later & submit but thi= s 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 wind= ow choice, ;; and option to pop up new frame and destroy after capture-flll-templat= e = ;; (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 or= der (org-pop-to-buffer-same-window (get-buffer-create "*Capture*")) ********* > -----Original Message----- > From: emacs-orgmode-bounces+subhant=3Dfamilycareinc.org@gnu.org > [mailto:emacs-orgmode-bounces+subhant=3Dfamilycareinc.org@gnu.org] On > Behalf Of Eric S Fraga > Sent: Wednesday, June 17, 2015 1:25 AM > To: Kaushal > Cc: emacs-orgmode@gnu.org; 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 ex= am > scripts, for my sins... ;-). > = > If the capture template prompts for information, the whole frame is clear= ed > 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. T= his > 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-gb856= f6 This message is intended for the sole use of the individual and entity to w= hich it is addressed and may contain information that is privileged, confid= ential and exempt from disclosure under applicable law. If you are not the = intended addressee, nor authorized to receive for the intended addressee, y= ou are hereby notified that you may not use, copy, disclose or distribute t= o anyone the message or any information contained in the message. If you ha= ve received this message in error, please immediately advise the sender by = reply email and delete the message. Thank you.