From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Feng Shu" Newsgroups: gmane.emacs.devel Subject: Re: [patch] two patchs about tab-bar.el Date: Sat, 11 Sep 2021 07:48:05 +0800 Message-ID: <87r1dwxaa2.fsf@163.com> References: <79741d39.2e84.17bce00d409.Coremail.tumashu@163.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29289"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 11 01:49:23 2021 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 1mOqGp-0007Tf-FS for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Sep 2021 01:49:23 +0200 Original-Received: from localhost ([::1]:60570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOqGn-0002Jx-TH for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Sep 2021 19:49:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOqFo-0001dw-Fm for emacs-devel@gnu.org; Fri, 10 Sep 2021 19:48:20 -0400 Original-Received: from m12-16.163.com ([220.181.12.16]:59018) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOqFj-0008Bp-BA for emacs-devel@gnu.org; Fri, 10 Sep 2021 19:48:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=TU593 wCqGLhmNMCoLM/axdP2JVyqUDD4ufpIQyBNipY=; b=W8m19cdhlbd12Mj2Bjdh/ izjFbHt6Mi76IV025ax0y8jyUsNlEqNB1qHx5zh+ti4oW0XXKXIPpHEePuMapJlR 5q3IzpNUuVlwa1ymTqVa2ebccNCZErLM3qxLQ6Bshx5AO9ZhJlrAOuWhI5/GU0ax ioMv7dp3p3FO8UVE7RNsUA= Original-Received: from tumashu (unknown [117.92.29.53]) by smtp12 (Coremail) with SMTP id EMCowABXX6u27jthrL0nAg--.276S2; Sat, 11 Sep 2021 07:48:08 +0800 (CST) In-Reply-To: <79741d39.2e84.17bce00d409.Coremail.tumashu@163.com> (tumashu@163.com's message of "Fri, 10 Sep 2021 12:39:25 +0800 (CST)") X-CM-TRANSID: EMCowABXX6u27jthrL0nAg--.276S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUo_-mUUUUU X-Originating-IP: [117.92.29.53] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiHRgK1FSIsKo8GwAAs6 Received-SPF: pass client-ip=220.181.12.16; envelope-from=tumashu@163.com; helo=m12-16.163.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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.23 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" Xref: news.gmane.io gmane.emacs.devel:274532 Archived-At: --=-=-= Content-Type: text/plain tumashu writes: I have update patch 2, other -> other non-nil values. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-lisp-tab-bar.el-display-buffer-in-tab-Improve-docstr.patch >From cd58cec7af8260afe5d61770260a49c55227679c Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Fri, 10 Sep 2021 12:35:37 +0800 Subject: [PATCH 2/2] * lisp/tab-bar.el (display-buffer-in-tab): Improve docstring. --- lisp/tab-bar.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index a4a7b4cb65..5f3e415435 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el @@ -1955,11 +1955,12 @@ display-buffer-in-tab If ALIST contains a `reusable-frames' entry, its value determines which frames to search for a reusable tab: - nil -- the selected frame (actually the last non-minibuffer frame) + nil -- do not reuse any frames. A frame -- just that frame `visible' -- all visible frames 0 -- all frames on the current terminal t -- all frames. + other non-nil values -- selected frame. This is an action function for buffer display, see Info node `(elisp) Buffer Display Action Functions'. It should be -- 2.30.2 --=-=-= Content-Type: text/plain -- --=-=-=--