From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] xwidget: Add xwidget-webkit-buffer-name-format (Re:Re: About rename xwidget-webkit-buffer-name-prefix) Date: Thu, 11 Nov 2021 08:30:13 +0800 Message-ID: <87pmr73562.fsf@yahoo.com> References: <1fb88962.612a.17d04aea638.Coremail.tumashu@163.com> <87tugkcyfj.fsf@yahoo.com> <4e33ab77.4b00.17d08eb9d6c.Coremail.tumashu@163.com> <87k0hg73vb.fsf@yahoo.com> <5a34c1b6.5a6c.17d09403c8c.Coremail.tumashu@163.com> <831r3o3ylu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30229"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: tumashu , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 11 01:31:22 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 1mkxzs-0007he-ET for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Nov 2021 01:31:20 +0100 Original-Received: from localhost ([::1]:37210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkxzr-0005TR-BM for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Nov 2021 19:31:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkxyy-0004l3-AY for emacs-devel@gnu.org; Wed, 10 Nov 2021 19:30:24 -0500 Original-Received: from sonic313-9.consmr.mail.ne1.yahoo.com ([66.163.185.32]:38601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkxyw-0001vV-Rn for emacs-devel@gnu.org; Wed, 10 Nov 2021 19:30:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636590621; bh=bwLwE9AV8ynDbYG/w9RncFsuwwcQQGKmf3GEVW0HBI8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=f47HCJGm7xqZU0XY7XYrVLSwsuP4p9N6FYvQJJwF1j09vM0BadB29aPW3cTyGVZJ+ojFlozd6M60P+fPoLyHC2iM7+CZtPwTiwdUoESJPIyQk9Z9FtyfRWwmOs9iFWf+47DEducF6dVgcESG5q06JVfgJz7V6+xWi/OO5NJXq+0Kgm2oViely5ZFdZq9ydgnGhf/XyBxUDII+RUr92aZvKbUDj47ltKMveab6mNCvoslYpgdJxjmKvIBKWe/tRQHYNd7esYZGFKO1YaIKUOcVUjV7YB4cBZywWlQyn/1ljgYAhgmWdg7tE46+QuEvZTuAaGt8pzUY69qTJhRDFbRFg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636590621; bh=dLiDHrp0+EeMLisM5n7btwwEJ3FUBQno3aXj18ieDNf=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=g4x9U2Z6PNIh+FkQqrIIksnYmEl5mEzKYGTZncZW9A7AN0/bYgt2OvRq0Up6iTskOCgVs0dMGsoAmEw7Ult86geZ5hTd346ePxQGtkQJmu2djPOkW3V07MngtiCGEJ7kvthJKhzpGslaDftl4Qwh1JeFGkCgSVsiAcaINgWnNDMDwJ0ItR2pp9Vf7F8WmBCX8mBY6d++O/I3F904rk9clYde9fpOuc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TP; Thu, 11 Nov 2021 00:30:21 +0000 Original-Received: by kubenode509.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0ff9eaae2feab353efc0e72f26aa4be6; Thu, 11 Nov 2021 00:30:16 +0000 (UTC) In-Reply-To: <831r3o3ylu.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Nov 2021 15:54:21 +0200") X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.32; envelope-from=luangruo@yahoo.com; helo=sonic313-9.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-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" Xref: news.gmane.io gmane.emacs.devel:279205 Archived-At: Eli Zaretskii writes: >> + (rename-buffer >> + (format-spec >> + xwidget-webkit-buffer-name-format >> + `((?T . ,title))) >> + t))))) > Hmmm... does this mean that the format spec _must_ contain %T? > Because otherwise all the buffers will have the same name, no? > Which would mean this change introduces a regression wrt how this > worked previously, right? It tells `rename-buffer' to come up with a new name in that cases, which is pretty much how the old code worked (except it called `generate-new-buffer-name' manually). Thanks.