From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-capture: keeping window visible during date entry Date: Wed, 08 Aug 2012 13:17:30 +0200 Message-ID: <87zk65y6np.fsf@gnu.org> References: <874nqe8e0y.fsf@falma.de> <87fw9vybhg.fsf@ericabrahamsen.net> <87hatj7fx6.fsf@falma.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz4GB-00028H-D2 for emacs-orgmode@gnu.org; Wed, 08 Aug 2012 07:17:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz4G5-0005y2-1n for emacs-orgmode@gnu.org; Wed, 08 Aug 2012 07:17:07 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:51877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz4G4-0005xs-Qu for emacs-orgmode@gnu.org; Wed, 08 Aug 2012 07:17:00 -0400 Received: by weys10 with SMTP id s10so442162wey.0 for ; Wed, 08 Aug 2012 04:17:00 -0700 (PDT) In-Reply-To: <87hatj7fx6.fsf@falma.de> (Christoph Groth's message of "Sat, 07 Jul 2012 17:24:21 +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: Christoph Groth Cc: emacs-orgmode@gnu.org Hi Christoph, Christoph Groth writes: > I would say that a proper solution would be to reserve > delete-other-windows for interactive use and to replace it by something > more sensible which ensures that a given window is well visible but > tries to preserve the visibility and arrangement other windows if > possible. That hypothetical function could be given the minimum > required height for the current window. > > Does anyone know of such functionality already existing anywhere in the > emacs world? There is `maximize-window'. If you want to work on a patch that uses `maximize-window' in places where you think it should replace `delete-other-windows', please do. But I think ̀€delete-other-windows' is fine in most cases. > If not, I believe it would be useful to think of something > like this. Given current screen sizes, it would be good to replace most > uses of delete-other-windows by something more gentle. But this is a > topic for the general emacs mailing list. Yep, why not. I'm archiving Eric's patch for now. Let's raise this issue again if we can more precisely define what's wrong with the current behavior. -- Bastien