GNU bug report logs - #10144
24.0.91; `pop-up-frames' with dedicated windows is broken: `C-x C-f'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 26 Nov 2011 18:30:01 UTC

Severity: normal

Found in version 24.0.91

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 10144 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'martin rudalics'" <rudalics <at> gmx.at>
Cc: 10144 <at> debbugs.gnu.org
Subject: RE: bug#10144: 24.0.91;
	`pop-up-frames' with dedicated windows is broken: `C-x C-f'
Date: Sun, 27 Nov 2011 06:17:46 -0800
> According to the Elisp manual `find-file' ... doesn't use
> the selected window if it's strongly dedicated to its buffer.
> So we should either change the manual or revert the change

I see; thanks.  This is definitely a regression from all previous Emacs releases
I'm aware of.  A simpler recipe to reproduce it:

emacs -Q
C-x d some-dir
M-x set-variable pop-up-frames t
(set-window-dedicated-p (selected-window) t)
RET ; on some file name

In Emacs 24 you get the error "Cannot switch...".
In previous releases the chosen file is visited in another frame.

Dedicated windows should be primarily about making Emacs use a different
window/frame.  They should not just prevent showing the file altogether, by
raising an error.





This bug report was last modified 13 years and 173 days ago.

Previous Next


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