From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.orgmode Subject: Re: May we have a variant of display-buffer-reuse-window that considers indirect buffers? Date: Tue, 17 Dec 2024 10:01:34 +0100 Message-ID: References: <878qtycdmi.fsf@k-7.ch> <87msgx7yo5.fsf@localhost> <87ttb42i1b.fsf@mail.linkov.net> <87r067cxi6.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13884"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: =?UTF-8?Q?S=C3=A9bastien_Gendre?= , Org Mode List , emacs-devel@gnu.org To: Ihor Radchenko , Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 17 10:02:34 2024 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 1tNTTO-0003Ol-Mt for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Dec 2024 10:02:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNTT4-0004vV-Uq; Tue, 17 Dec 2024 04:02:14 -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 1tNTSm-0004gx-QZ; Tue, 17 Dec 2024 04:01:58 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNTSk-0000j5-04; Tue, 17 Dec 2024 04:01:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1734426095; x=1735030895; i=rudalics@gmx.at; bh=cJedJWkdnT+oAjnWoIHp+mSKAm6na3RD8zQsePbv3eA=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=cdNBRX65a1+HituWq0ZrNDkVqxNZjnfYEp5Ap2YaZzlFxGXE5IxPsu5Z5MCuHRmM JnlIUDGdQyg3SQkhUmxKW1Fqaa9B04dA4/syr/b+Xs64x6K/VtnIioJfFCC9KYdr0 laBmyDGYBhlQwHkKCUMEy1Ch8N8L1bhzzcxYxsWgdH3wFwY3Y+/+yqYo0E0J7xMRW zpy47DN9Xv7CR6S30twjhoR8DAbvNOBHufjxVd/d/YKjuF+VfT6SkUYpGegTdgUxr CwrgmeG+kyg8zGWg45/p2Nnpv5jpEWSpgWhdkJbk4kFLu9ftIryoEeK1oVVaVbm5T 95TPLH2MlUslQBkJrA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([213.142.97.112]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MbAh0-1tz0472seG-00p9gR; Tue, 17 Dec 2024 10:01:35 +0100 Content-Language: en-US In-Reply-To: <87r067cxi6.fsf@localhost> X-Provags-ID: V03:K1:5J4zTQ2qHnGPBNz0xGaFbAQ7aN5H7sNgAcHn751bUXl93J5+TZ+ UkVY2QiwvobEh6hBEnkuR5YWmlglJtONlB+eEQYbnRrfIRT3w5wbq087l+rWlDRNgvv3Ju4 Lryq9amezxaTqrcpkoGO0mlKGpwt28PKz/IvTIPYm8Q80M0JHfFTS1hixpwu+jP6+LPucY+ zxAVgLDisglQVp51hO1QA== UI-OutboundReport: notjunk:1;M01:P0:huenO/+4kWs=;0CfCR0SNEHysX/4LVApXEtaVLNj 5R3icK/E7/CkqsW/WRGsiVQ8gREtDd/SrfenMS6Y6vztS+Na3Tw2ejVnkCtyJMu0L/k+jtZUp lM71WrVURh3QhCH8Wax1/HNTf++l50pnfUS8ChWr0DQ6MAJ/inNTBvEYFUQu4pbM+uZUqmtrH ksRCbULtNyNH3m66/urT8+NfkXi/W7ejcedPLHmlpHo1+2OVCztHnyjjDJXEc9TQyf1HUXsPv hR5X7vBFaYp15QLvhoGpyiSOPS0vu2iAnLqdONoF+Fzd7jmu5FjVgqtyx9849afKJucEiw7E3 Lhs+GOPxiOx34ghgXIZ6ulSJc/8jzH7mTbyphnp9eCH8JSEq7O6NxMtavpuSpTfD5Zeo6oYOa x4lYL+7Ib/DNvOmwZqUG6gxyLJVEBA1N4WoZ2M0sNRupgJsLViaDWWkizwHU9OkK0JqKqVi1M XvdScfDRa2YXfTjLjVcGNpJR/2edLNFn2m+5fmY/icLy4NzL4pdAtEVE7mzycI41Eo8KRYySx ttCehddUoH5lOjK8US/BhSi4FFSlPYLf7DDhZsbgcW54KWMdjT+LFHulLhdftYw2+bQ28FjVF hfa323sh3o6GDftzPXJDL0/Jt5nmPISjYcHm5/O2V5ouPDSBnwq10GxXYfCcVpYXfdXBr30I+ a9+P527V6o9rLFJHz4erpllRToOrcO/dQwyDSLzJNGg7AaGwZX/BT89ReVNt1AEwqjzA8rWve JuakUkPVKFT31LjbkS65W7qiCjRm2/QsZB697Rlck7OhHaDLY6/6SILd4ytsTE0iO2AhkYJs Received-SPF: pass client-ip=212.227.15.15; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.9 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1.13, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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:326581 gmane.emacs.orgmode:164206 Archived-At: > May you please provide more information? AFAIK, `pop-to-buffer' will > search for exact buffer without considering its indirect buffers and > base buffer. Could you please tell us what you would like 'display-buffer' to do without referring to org-mode. IIUC you want it to automatically detect that if a base buffer has been displayed in a window earlier and BUFFER is an indirect buffer sharing that base buffer, then it should try to use that window for the indirect buffer. Is that assumption correct? martin