emacs-orgmode
[Top][All Lists]
Advanced

[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: Eric S Fraga
Subject: Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame
Date: Fri, 12 Jun 2015 10:27:14 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)

On Tuesday,  9 Jun 2015 at 14:35, Bernhard Pröll wrote:
> With a lot of windows open the annoying part of =org-capture= is
> =switch-to-buffer-other-window= for me. My approach is using the current
> 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

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1154-g6ba251



reply via email to

[Prev in Thread] Current Thread [Next in Thread]