From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tom Gillespie Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix display-buffer-use-some-window to honor reusable-frames Date: Fri, 27 Jan 2023 00:25:44 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6538"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 27 06:26:24 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pLHFo-0001Sy-CG for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Jan 2023 06:26:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLHFP-0006PM-9I; Fri, 27 Jan 2023 00:25:59 -0500 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 1pLHFO-0006PE-LV for emacs-devel@gnu.org; Fri, 27 Jan 2023 00:25:58 -0500 Original-Received: from mail-yw1-x1129.google.com ([2607:f8b0:4864:20::1129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLHFN-0006oZ-9k for emacs-devel@gnu.org; Fri, 27 Jan 2023 00:25:58 -0500 Original-Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-501c3a414acso53132767b3.7 for ; Thu, 26 Jan 2023 21:25:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UfgzeqiJGR5ZOmzEFTZzVeKUMzk6aYocSRqPy+jMJs8=; b=emMUIQ+s+lY2IFxkT9udInmSoYDYxr9KEqU+b9hX2vTjSKZrOSv5xY7kECeBJjDeR0 RAtlP7+WQsDJ4zi8jdjq4vpouSWMeq8FL8HXz3n1eXe97CpEx+IUlXh0HelxeISGNTVN iQI5+B6fkyTET+kxXThoh5qq+rOxiHmtye3kD5cfgATzKZIT/ouAlf+IB+JZ3IxzxqCk eJhvB62t1jCL8fvFRkLvkswHSsIKzKSr8he9xdZCJnleCzhB53jm4AEXEBvcOoZ3VZJQ mithapjJCE9tpGVyP4MEQsKg+KR7e8Ec2OksE2nAj8HhYQO6UCY576ZuWApkl3k8R/iG T/WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UfgzeqiJGR5ZOmzEFTZzVeKUMzk6aYocSRqPy+jMJs8=; b=oh7oo1etV5csSrVfAqCpM6Dwr8lLOpZxc/Ctljm+WxsK/lmURUIFM2JEbFXkM8xEzT sSliernB+81xp+TYlAfBhSEZQ3cOcaLy9plGA1wBc5JGGVhWpgTEOyXMy2PZRaJ0H+FO DOl4Itbo/NNdzzj1nwkXONsmsFaWQCsySP63Jwp4qMAB5+8EadMD7ZbWG+lSqUz+sqQ6 FYI67vQxLeoGGocyOeoCQbBf08b2fpwpeQ/WKfAEWOJMeIQ99ysPgl+llxju4MKLF2SM plx4rp2aciaHmhawZkbyo+5WFN4CTdIxp6rJZoBMpgwSTMMoZLYN1OjMg53zVCcGQrw8 Okgg== X-Gm-Message-State: AFqh2kp0tWhDQ1Itr8HMpNUsqTa2yh9sCDQ3CvDfWPekNataX5urX8hy 8ZbblM8bVp5buduYdoyv06n8DylRAqe8Zr747z8AsEJI X-Google-Smtp-Source: AMrXdXu+Hc1GYqYYfqNGK4eBfibPsLgwFmqUMvkcvV06EYUpWK82W5Da6qwPTHbzBR0kTk+CInuG3PtvHYkZIU8NULw= X-Received: by 2002:a81:be06:0:b0:4b2:fa7c:8836 with SMTP id i6-20020a81be06000000b004b2fa7c8836mr4703299ywn.195.1674797155865; Thu, 26 Jan 2023 21:25:55 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::1129; envelope-from=tgbugs@gmail.com; helo=mail-yw1-x1129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302678 Archived-At: The behavior for this patch is not quite right. The split window should be temporary if it is created and the previous layout restored. Need to check how to do that and will send an updated patch. Tom On Fri, Jan 27, 2023 at 12:17 AM Tom Gillespie wrote: > > Hi, > Here is a patch to fix strange and disruptive behavior > caused by a bug in display-buffer-use-least-recent-window > and display-buffer-use-some-window. I have made the patch > against the emacs-29 branch. A detailed explanation is in > the commit message. Best! > Tom