GNU bug report logs - #52688
29.0.50; term / use display-buffer

Previous Next

Package: emacs;

Reported by: dal-blazej <at> onenetbeyond.org

Date: Mon, 20 Dec 2021 22:56:01 UTC

Severity: wishlist

Tags: moreinfo, patch

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: dal-blazej <at> onenetbeyond.org
Cc: 52688 <at> debbugs.gnu.org
Subject: bug#52688: 29.0.50; term / use display-buffer
Date: Tue, 21 Dec 2021 11:48:20 +0100
dal-blazej <at> onenetbeyond.org writes:

> The function 'term' use actually 'switch-to-buffer'. I think it's better
> to let users decide where the window will appear with
> 'display-buffer-alist' or 'display-buffer-base-action', and so, to use
> 'display-buffer'.

[...]

> -  (switch-to-buffer "*terminal*"))
> +  (display-buffer "*terminal*"))

This would change the behaviour considerably from the current one, so I
don't think this would fly.  But we could use
`pop-to-buffer-same-window', I guess?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 213 days ago.

Previous Next


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