From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Trust me I am a Doctor Newsgroups: gmane.emacs.bugs Subject: bug#49069: 28.0.50; [PATCH] Use display-buffer for re-builder Date: Thu, 08 Jul 2021 23:12:21 +0200 Message-ID: <87eec85wmb.fsf@riseup.net> References: <87r1h1jnf2.fsf@riseup.net> <87a6npf7pr.fsf@riseup.net> <871r90fsoq.fsf@riseup.net> <87o8boy8cd.fsf@riseup.net> <87pmw4tn2t.fsf@mail.linkov.net> <87czs4xqn7.fsf@riseup.net> <87zgv76skf.fsf@mail.linkov.net> <87mtqw6cg8.fsf@riseup.net> <87im1kya94.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38057"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49069@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 08 23:23:13 2021 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 1m1bUF-0009f6-U9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 23:23:12 +0200 Original-Received: from localhost ([::1]:41072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1bUD-0002km-TN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 17:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1bU6-0002kP-Ks for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 17:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46192) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1bU6-0003nu-Dr for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 17:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1bU6-0007g1-2t for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 17:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Trust me I am a Doctor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jul 2021 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49069 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch Original-Received: via spool by 49069-submit@debbugs.gnu.org id=B49069.162577937629497 (code B ref 49069); Thu, 08 Jul 2021 21:23:02 +0000 Original-Received: (at 49069) by debbugs.gnu.org; 8 Jul 2021 21:22:56 +0000 Original-Received: from localhost ([127.0.0.1]:57738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1bU0-0007fg-Ek for submit@debbugs.gnu.org; Thu, 08 Jul 2021 17:22:56 -0400 Original-Received: from mx1.riseup.net ([198.252.153.129]:36520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1bTx-0007fS-FR for 49069@debbugs.gnu.org; Thu, 08 Jul 2021 17:22:54 -0400 Original-Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4GLTlq6ZsBzDq8h; Thu, 8 Jul 2021 14:22:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1625779367; bh=TqGEg1fKCyjcBATKjjVgwk5t3s7mb+pCA6GPky8PE40=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=EqtKocvsrTH+ghjYyWeyngIKdKIcQE9Kb+xEGj+dxInvU3mrEgfnsBICy11gI8es6 CuwRI1AxXohIIGPwVFLq3kse7wVBx2bcMWcUcLe5Digu6AMA1Jy4YsvvQxkB1zTV0a KtehQSzfaxbfeuUC6qn/4F4ygX3CyFMCzRyE9phM= X-Riseup-User-ID: C1336330C19E8CE5E7465D08642B97B9D37ECE72A8AF366B42C26E7A5F398743 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4GLTln5Jb6z5vcW; Thu, 8 Jul 2021 14:22:45 -0700 (PDT) In-reply-to: <87im1kya94.fsf@mail.linkov.net> 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" Xref: news.gmane.io gmane.emacs.bugs:209711 Archived-At: Juri Linkov writes: > Also I don't know if there is any chance to fix Org-mode. > Anyway, I'm using such workaround for Org-mode problem: > > #+begin_src emacs-lisp > ;; Unfortunately, Org window customization has no effect because > ;; =E2=80=98display-buffer-alist=E2=80=99 is ignored in =E2=80=98org-no-p= opups=E2=80=99 > ;; until =E2=80=98org-switch-to-buffer-other-window=E2=80=99 is overridde= n below: > (defalias 'org-switch-to-buffer-other-window 'switch-to-buffer-other-wind= ow) > > ;; This allows such user customizations: > (push '("\\`\\*Org \\(Links\\|Select\\)\\*\\'" > display-buffer-below-selected > (window-height . fit-window-to-buffer) > (preserve-size . (nil . t))) > display-buffer-alist) > #+end_src Nice, I was aware of overriding 'org-switch-to-buffer-other-window but didn't customized anything yet for theses buffers. Constantine Vetoshev writes: > Thank you for bringing this to my attention. I=E2=80=99ll test the displa= y-buffer-base-action approach over > the next couple of days, and if it works as I expect, I=E2=80=99ll update= the Perspective README. > > Note that Juri=E2=80=99s example is not quite the same as mine. Please te= st with this instead: > > (customize-set-variable 'display-buffer-base-action > =C2=A0'((display-buffer-reuse-window display-buffer-same-window) > =C2=A0(reusable-frames . t))) Ok I will update the recipe with yours -even if until now I had no issue with emacs creating new frames. (I know ediff do it but I also now the setting to tweak). For now the only package that seems really difficult to work with is Magit; transient.el is a brillant idea until you cannot see its whole windows, but that's beyond the scope of this patch ; Thank you both. --