GNU bug report logs - #15189
24.3.50; display-buffer does not work well with custom frames.

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Mon, 26 Aug 2013 00:52:02 UTC

Severity: normal

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: 15189 <at> debbugs.gnu.org
Subject: Re: bug#15189: 24.3.50; display-buffer does not work well with custom
 frames.
Date: Mon, 26 Aug 2013 17:01:24 +0200
> Yes, that is correct -- with the additional magic of
> lawlist-display-buffer-function.  My workaround is simply calling
> find-file at the very end of the lawlist-display-buffer-function,
> which defeats the purpose of using display-buffer.

You mean here?

    (display-buffer
      (find-file buffer-filename))

Why can't you use

    (display-buffer
      (find-file-noselect buffer-filename))

instead?

martin




This bug report was last modified 11 years and 106 days ago.

Previous Next


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