GNU bug report logs - #1806
dired-pop-to-buffer in wrong place

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Tue, 6 Jan 2009 15:40:04 UTC

Severity: normal

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Carsten Dominik <dominik <at> science.uva.nl>
Cc: Juri Linkov <juri <at> jurta.org>, 1806 <at> debbugs.gnu.org
Subject: bug#1806: dired-pop-to-buffer in wrong place
Date: Thu, 08 Jan 2009 20:25:18 +0100
>   (cond ((> (frame-width) (window-width window))

It might be better to use (not (window-full-width-p window)) here.
Comparing `frame-width' and `window-width' is not always reliable.

> If the current window is not the full frame width, I do not adjust its
> size because it would shink other windows along with it.

IIUC you mostly use a

  (delete-other-windows)
  (split-window-vertically)
  (org-switch-to-buffer-other-window ...)

paradigm which avoids most of the pitfalls raised by Juri.  So I think
you are not really bothered by the problems discussed here.

martin




This bug report was last modified 12 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.