From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [feature request] org-capture-window-setup to stop capture window taking up whole frame Date: Fri, 12 Jun 2015 10:27:14 +0100 Message-ID: <87381xs2dp.fsf@pinto.chemeng.ucl.ac.uk> References: <87zj4ate9f.fsf@pinto.chemeng.ucl.ac.uk> <871thlw193.fsf@gmail.com> <20150609123545.GA26022@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3LFE-00039l-QL for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 05:27:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3LFA-0002vQ-6H for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 05:27:24 -0400 Received: from mail-am1on0118.outbound.protection.outlook.com ([157.56.112.118]:61387 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3LF9-0002tl-Tk for emacs-orgmode@gnu.org; Fri, 12 Jun 2015 05:27:20 -0400 In-Reply-To: <20150609123545.GA26022@gmail.com> ("Bernhard =?utf-8?Q?Pr?= =?utf-8?Q?=C3=B6ll=22's?= message of "Tue, 9 Jun 2015 14:35:45 +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: emacs-orgmode@gnu.org On Tuesday, 9 Jun 2015 at 14:35, Bernhard Pr=C3=B6ll wrote: > With a lot of windows open the annoying part of =3Dorg-capture=3D is > =3Dswitch-to-buffer-other-window=3D for me. My approach is using the curr= ent > window for the capture buffer: > > #+BEGIN_SRC elisp > (defadvice org-capture (around bp/org-capture--around) > (flet ((switch-to-buffer-other-window (buf) (switch-to-buffer buf))) > ad-do-it)) > (ad-activate 'org-capture) > #+END_SRC Thanks. I want to switch-to-buffer-other-window because I often want to see the original buffer when writing down my capture information, in cases were there isn't a particular region to select etc. So I've got the opposite use case than yours. I obviously need to figure out why the behaviour I see is not the default behaviour... Thanks again, eric --=20 : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1154-g6ba251