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:13:20 +0800 Message-ID: <87v91194z3.fsf@yahoo.com> References: <324d3567.312b.17d03488e9d.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="15250"; 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:16:35 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 1mkLMx-0003nD-0E for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Nov 2021 08:16:35 +0100 Original-Received: from localhost ([::1]:48416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkLMw-0006yL-0B for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Nov 2021 02:16:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkLK1-0004XT-TF for emacs-devel@gnu.org; Tue, 09 Nov 2021 02:13:33 -0500 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:38327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkLJz-0003YK-Kz for emacs-devel@gnu.org; Tue, 09 Nov 2021 02:13:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636442008; bh=i4dPKLzPFPrfh73lKT5Jogl8jllaneuIZsztpKfVvkI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=bmuHzqTMdgqbbTPAaFUT/zsFmxtRcsb99fW4tfBLn/JVTzbEcRYdtTd/CG5+6Wwq0HRCPN04FbjayE5K5MIHPqh8ixOaA9CtQMToK6ymsqKXTaTuXMmf3tNQ9SebF1qZqx/0yFnMs8wt6Sfsqz6mslGxv5U1cEZzqEvrR3ESRpDRmm+CbIrpAt7/4FB+/2JbPksoxOaay8jZEONlY7YiOPeXBGlbpiC0wxH0niGd1TFW3BISAJPcBQNC1a2+ReY7M5iN5sRCJ7bVolnuEL9V9A+3QNjKnRRzpt0FkQr1x4yxG7t02M8/EI2Cm44gfAXDB4/q0MKQfQjnonXNxT2Pgw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636442008; bh=zCcdAsbqubiubDN67eXuC/TU6LrWzuX8FddkVOvclay=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=aSNlhrxSf0HWSngUINgj8LWy5gis6MAzg3onEEjH/qNeljDYsqPjzGtWxdAbGhqdQB6J7563AF2SP2yYWCE0E64AwoX0DLg2EpO/iyCJiavymS7xS7mMETsvcDO8i65c52EEi8fpQjy14ahPBYOjUQqvgnhwCS9+Yje24TSjG5RQA1RgjnGGd/NSaSjj5z8x0WQcSNhwXhv9zzD3v0gWWkGm71vYW3uzsDbiJe97iySIVnLHAHI1j81pipvX+Y6PiQGXF1wMwChfa/EKFQMVpGloPKr9xgYCaS+3Xhp06zdJeJm1/72wfhFxGYqC1GabUq0ntjS2KK7z+GXHWPNxAA== X-YMail-OSG: LZGQkXUVM1lcZSOoL2sT.tgIuaOol8tpbPL1139tD3OMgguzJAm.nSVwByf5Dzk H18IKI1nzqfZpItjgcq1yyt3s37_keEPt6cEBFwzXJ8ZntiTorGzb2gnRuSMtgaxMglArI3jUF6n MppqDgRfm6gRJVsdikUw38Q3aWm4HUtVEjHhHFrgLDkVu8Dugr4I9cWRzGIYfySMH6jpE.ISCySu S_w3PJGeVsK15t59K6_FhvSHMp0gyI3ZnwcMGT2GAyMoJbsoQ.Vsw0aZDgCCA_vbghGRvqnj1H9p MCM3zwwsLyT1TY7PvaUOwN1lJ6STnKBSLGLAtQJcqrcNnxp83tkPWMvYgZbFtXhXjN4Ddb0pG2MH idMhAqp0CwB7NZRAiWFZzAEV3X0dwN.8m5wZOSiiaMMesTql116TFAL1vvwxhCPCAtvbslmf.v4f DS1AU1EY0nzvcOvhwQRjwSbofnLXopgqln5UdPSTal4RCKrhd_VQ0q9y2XfkeG2zJgf.RkwHcs2v gfkoj1olcE60_hVGGTMfdIUcF3Ii32OV3DMS.EGZiFr61b7p_A_QqwlcONNr4VdzR00ceZPGCXhq 04D.qMxl2tnBFl0Kwt44pslgNm7yWbCS5JetDpx9Q.RkBR5645Pu9jDNTZjCj7YyOAlpL.PrzNrU b26QKDk_GHxNB4rcRNwlD8JbwLYIR81DnqGPkSQgQFKYUZaKM0QxDb.7D52p5tHE1pq4aBbsnpF8 lZl6wvMRK2udugxG2d0Sn5aapNy_a1u0utKmex5zdzDzjX8hB8Ad.sjpM_AwEXIX20MjDZgenr_0 s.xLKHIpEfx4lT3l59EF4Zss3jm0P.hsj485MQdzVy X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Tue, 9 Nov 2021 07:13:28 +0000 Original-Received: by kubenode507.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8d0a3e72d634105a276af7d95e0fb2c8; Tue, 09 Nov 2021 07:13:23 +0000 (UTC) In-Reply-To: <324d3567.312b.17d03488e9d.Coremail.tumashu@163.com> (tumashu@163.com's message of "Tue, 9 Nov 2021 14:00:26 +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.190.148; envelope-from=luangruo@yahoo.com; helo=sonic315-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:279080 Archived-At: tumashu writes: > + ;; Make sure some buffer variables in `xwidget-webkit-mode-hook' > + ;; function take effect, for example: `left-fringe-width'. > + (set-window-buffer (selected-window) (current-buffer)) > (xwidget-webkit-goto-uri (xwidget-webkit-last-session) url))) I don't think this is quite right: we don't change `left-fringe-width' or any such variable in xwidget-webkit-mode. Can you give a concrete reason as to why this is necessary? Thanks.