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.el: call set-window-buffer after xwidget-webkit-mode. Date: Tue, 09 Nov 2021 15:48:35 +0800 Message-ID: <87fss593cc.fsf@yahoo.com> References: <324d3567.312b.17d03488e9d.Coremail.tumashu@163.com> <87v91194z3.fsf@yahoo.com> <1b9bd069.3f81.17d0396a22c.Coremail.tumashu@163.com> <87r1bp948u.fsf@yahoo.com> <595d41e9.4345.17d03a7c16b.Coremail.tumashu@163.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25051"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: "emacs-devel@gnu.org" To: tumashu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 09 08:52:53 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 1mkLw5-0006PZ-MF for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Nov 2021 08:52:53 +0100 Original-Received: from localhost ([::1]:58624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkLw4-0002dH-KO for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Nov 2021 02:52:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkLs7-0005mA-EO for emacs-devel@gnu.org; Tue, 09 Nov 2021 02:48:48 -0500 Original-Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:32882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkLs4-00006p-Rs for emacs-devel@gnu.org; Tue, 09 Nov 2021 02:48:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636444123; bh=sZh6rvt6CHC6b6uzo4TSj1MywcNGaEN4eGBz63BlH14=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=M4BH5lv7otE9/9Qae/O+M9OeUHPaSla4lkIml41A4/wXz2FwvecTQSXkvCyZkHibQFsOH5R4AWZCIugnJXUAjzbXpzal6BdQ9qcDTjaCVoPJrEc8O/ap7sVmYX22dsrV8oK4N3EvKC7X38eybAWOhTKCNS6OlUXkAwACzmia6a8x2gcoUFJI7BPh4q2laEQh+GuEch7a5KDSxoaKxh2OsCNsaP04fPYgilt+f2deZ67XK/D7gShrfd9D3dKgfHrohSbhbKncrNkMInJckS8rqo4+LB/pTgsTZMFV/TpRTLCLXS8dwjUFhob/s6OxKrKnVyzF0IS0H1gtDun7X8j44Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636444123; bh=RA6GUrNym1A5FseoIujDZButzqRpXIlgmdfyCAtd/fB=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=OJkELdi4d9DbdIhvAQJ0SwbD4Qh+atuCyK7IKbpMVsLsPH95b7acMadnaPkcY3I08MhjCvUuP8G5zln/f0f1PMEV+4mC7AUyHsuWZyu457FpxZ6rMdWFrM/2Kx4x2FtEvoPdM3/6taw+p/2aTUyrDwyM8ceNrZFygI0TMCks3H7UHFnHGcY/MEGC3fb+mowX5hMnCTuH49HfWohzyav9RMnSKH4TKm7nh0bNcM021Tb6x4gENkcM1xAps6aSOVJPSy4z8q9roNgf5QOrATl8naONJeNFCt90AR4W8oBzpoZwpc/orHZRgwTzlLxVN0Gs4kJx8gO4EJKPxYgkM/6auw== X-YMail-OSG: f7s7vhgVM1nXfPUVeIHXa3gBxksPrts84d6o2UsQzeKMonUI4bkmYYVGluQZAxq SgAQYFscsNkr6Em9UqYGaZ0EtVnMno1vrnbJOAVlNgH1TSf4ZInBAamSI6ez42zCcG.I.DIRm5wR 9i5qj19.TOaMdGz__cJe_YWJkpk2jhSOqSuKUP6GEGFOvdg6Uqf0XuNroI3bwYlOuQEQt.GgSMiu 1gKXxCyBvm619vIH_4oeC0w_m1zBG_a94HIoKcv6.wlDtHyvIoxWb_ZzPtPQdR4.CLw4.WizW.ng zjOtmJ9yMjeUB3qIJn2OtV991Wv0tvebE.iDRNPMbMX_O_5JHTlin4ciDi04thDBFyRDXBR5VdGN n2SljvSPYGxqJCVB1QNLy77kic9H22_AQ9LWU9HKxdIR2iuN3x8rjnZfzUHTnpNElhUOXCHGaHln V2p5QRiyEbmTvrpNYxkhGgJwSE2tkNg6CsnOmFGluNNXUw77HGzQGds8Jnq66CtGB_NKjYDJNw7m JgcJXZcAYb2tinPwtlSOtldTGfKES8gfAW05yxTFX6l7I6hiumVSg.kXAtLGjKGlgimd8xHObd2U vLJpuG824Cs4eiPIJjAqOeNRS6Pi14Bxn12q1aNbrZEJVPHuTz6U7VzXHeYCMzbi7MoGOQ6ABARo 7LYzyLaHHKzaDoPbVuiCGm.yaItsIx9uqQIFcGtOtgmIhSVNtIf_.3N3bmYEsQIXomXeYk1n2VBE isRRsjReKL1zVXVetUH.K5lAe4Tt4djP5QdYaryqjXoIg2.lwdmJ.l3BjPSGodWmkhG5nd9aCXdQ 0o4V8.ezUsI361rq12dKcNSyegj4nL7xcQ6XUndXkL X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Tue, 9 Nov 2021 07:48:43 +0000 Original-Received: by kubenode508.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 965e20f690bdc932f4565fa6454f6613; Tue, 09 Nov 2021 07:48:38 +0000 (UTC) In-Reply-To: <595d41e9.4345.17d03a7c16b.Coremail.tumashu@163.com> (tumashu@163.com's message of "Tue, 9 Nov 2021 15:44:25 +0800 (CST)") X-Mailer: WebService/1.1.19266 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.148; envelope-from=luangruo@yahoo.com; helo=sonic316-22.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:279086 Archived-At: tumashu writes: > Sure, this patch just let user configure easier :-), if it is not a > good idea, just ignore it. Thanks, but I think it would be best to have the user do the work inside hooks. Otherwise, it would set a (bad) precedent for every other editing mode in Emacs, all of which don't call set-window-buffer at present.