From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?7KGw7ISx67mI?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH v5] Enable xwidgets on macOS Date: Thu, 1 Aug 2019 00:55:02 +0900 Message-ID: <0AA27105-F16B-4DFE-A1F7-0D1BBEC29DA1@icloud.com> References: <20190718192321.65684-1-pcr910303@icloud.com> <20190719041654.88561-1-pcr910303@icloud.com> <83pnm5t8ui.fsf@gnu.org> <20190729202649.GA89035@breton.holly.idiocy.org> <0A9ED54B-E381-44AA-9512-40CC0481F097@icloud.com> <87mugvtp2e.fsf@mail.linkov.net> Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="270014"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Alan Third , Eli Zaretskii , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 31 17:57:06 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsqyP-00187v-Ng for ged-emacs-devel@m.gmane.org; Wed, 31 Jul 2019 17:57:05 +0200 Original-Received: from localhost ([::1]:42025 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsqyO-0008AR-P0 for ged-emacs-devel@m.gmane.org; Wed, 31 Jul 2019 11:57:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37112) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsqwY-0007YD-I0 for emacs-devel@gnu.org; Wed, 31 Jul 2019 11:55:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsqwX-0003Fi-E4 for emacs-devel@gnu.org; Wed, 31 Jul 2019 11:55:10 -0400 Original-Received: from mr85p00im-ztdg06021101.me.com ([17.58.23.180]:54087) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsqwX-0003Cx-6k for emacs-devel@gnu.org; Wed, 31 Jul 2019 11:55:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1564588508; bh=ucPqeC9fwjznIdkQIR38hnT/0bzmalVgS6d7IxYUSyM=; h=Content-Type:Subject:From:Date:Message-Id:To; b=iC1mNcgVk0ImAGD7ZxmfxLxQ6OcMJ0cXNok7X1yTISK1eU5pmLB+ib71DUakGBYc9 Vn+XxBVaRlztp1tr9r4Ktrbyt8YVRliVytQu4iWK65WytBy9FL08APHWVRemjsWtbE PSOKrnhp12B8Zm1g5pW0VXnhFZ6061zCnphc/4rdtddms4o2tOULn1J1I36GbVppxT IqroZS/X1SJ3btsaxtoNhDZpBkZ7Jc8Tf5rD9ArJ8InqlSMo2yasTjZ5brLjekMbDC e1tdsl6JX8NmI4fWzPTGFbI2fczni2gKtHBcM1sIQbzcobySnYMzUzMXDyHPApGwjt 5Zww8wNV9XSXA== Original-Received: from [192.168.0.11] (unknown [1.230.108.64]) by mr85p00im-ztdg06021101.me.com (Postfix) with ESMTPSA id 9B1E3A60D51; Wed, 31 Jul 2019 15:55:06 +0000 (UTC) In-Reply-To: <87mugvtp2e.fsf@mail.linkov.net> X-Mailer: Apple Mail (2.3445.9.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-31_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=992 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1907310158 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 17.58.23.180 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239051 Archived-At: > 2019. 7. 31. =EC=98=A4=EC=A0=84 4:12, Juri Linkov = =EC=9E=91=EC=84=B1: >=20 >>> Is this something we=E2=80=99re going to have to update over time? >>>=20 >>> self.customUserAgent =3D >>> @"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6)" >>> @" AppleWebKit/603.3.8 (KHTML, like Gecko)" >>> @" Version/11.0.1 Safari/603.3.8"; >>=20 >> I removed this part. >=20 > The User-Agent string should be automatically constructed > from variables containing the current Emacs version, > and package version like for example is constructed for eww, > so server software can collect statistics about browsers > to see what versions of eww or xwidgets were used to access pages. > The first part beginning with "Mozilla/5.0 (compatible; ..." > could be retained to request compatible Web pages. I remember the User-Agent string behaving strange some time ago, but I = believe removing will work fine, as the current User-Agent accurately = describes the Webkit version compiled with Emacs. I'm not sure if = constructing another User-Agent specially for Emacs is a good choice, = compatibility with the web will be an issue (as that will be the main = reason using xwidget-webkit)=