From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mekeor Melire Newsgroups: gmane.emacs.bugs Subject: bug#64029: 30.0.50; info-lookup should respect display-buffer-alist Date: Mon, 12 Jun 2023 21:02:56 +0000 Message-ID: <87pm60cr6l.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16092"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rs@ralph-schleicher.de To: 64029@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 12 23:23:27 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q8p0X-0003ym-SS for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Jun 2023 23:23:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q8p0E-00077L-J8; Mon, 12 Jun 2023 17:23:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8p0D-00077A-L2 for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 17:23:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q8p0D-0002gm-DB for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 17:23:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q8p0A-0001yM-MX; Mon, 12 Jun 2023 17:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mekeor Melire Original-Sender: "Debbugs-submit" Resent-CC: rs@ralph-schleicher.de, bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Jun 2023 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64029 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: rs@ralph-schleicher.de Original-Received: via spool by submit@debbugs.gnu.org id=B.16866049407513 (code B ref -1); Mon, 12 Jun 2023 21:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jun 2023 21:22:20 +0000 Original-Received: from localhost ([127.0.0.1]:40866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8ozT-0001x7-Qm for submit@debbugs.gnu.org; Mon, 12 Jun 2023 17:22:20 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8ozR-0001wy-6n for submit@debbugs.gnu.org; Mon, 12 Jun 2023 17:22:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8ozQ-00072a-OZ for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 17:22:17 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8ozO-0002Vj-KA for bug-gnu-emacs@gnu.org; Mon, 12 Jun 2023 17:22:16 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B4409240101 for ; Mon, 12 Jun 2023 23:22:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1686604931; bh=SJtp0AzzEJDrB1B0AWPlSVOe/RDp6edwS0o4L6BJq9s=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=V5am7uauueXcRL3x2h02y+A9tVDFPmBfrtNnTuLfnwc2vFCL7zjglm9AYaUZHRVv2 eCbUlq9OWSkDEGKuiZXVHDXfKCmcizmV68WP+LAyhfvauXOPNm+py/fFucNMD4UTIf PRGHi9YsV110MlcgbBzqwTBRM5UCcsehXwFtDckHODmDL7C+y9QpsfOEnc7SgzZYsn CV/uOilau69rBgWmjNaXyAhhesPeK+upVOCkY4QCIHXvuvvtl2TSgyT6cYTkIfsH5E xu5+9/DaLP2IkvxULBdDyZfcyaAoBlrLjKxymtM0nfzDswhMys2ttcNu0CmKxiuyI2 hWGQ02KJGYFlQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qg4QC11ZHz9rxH; Mon, 12 Jun 2023 23:22:11 +0200 (CEST) Received-SPF: pass client-ip=185.67.36.66; envelope-from=mekeor@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263296 Archived-At: Hello :) `info-lookup' (from info-look.el) does not respect `display-buffer-alist'. To reproduce an example, open some buffer in fundamental-mode, evaluate (setq display-buffer-alist '((t (display-buffer-reuse-window display-buffer-same-window)))) and type C-h S c-mode RET sin RET We'd expect the *info* buffer to be shown in the current window. Instead, a new window is created. This is because info-look.el does neither call display-buffer, nor does it take display-buffer-alist into account by itself: https://git.sv.gnu.org/cgit/emacs.git/tree/lisp/info-look.el?h=605414d018da47f99dec5019142f584b6eb174c8#n395 Kindly Mekeor