From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: arthur miller Newsgroups: gmane.emacs.devel Subject: RE: Introducing emacs-webkit and more thoughts on Emacs rendering (was Rethinking the design of xwidgets) Date: Thu, 26 Nov 2020 19:34:20 +0000 Message-ID: References: <864kmzupp0.fsf@akirakyle.com> <86pn46awrr.fsf@akirakyle.com> <87y2ise7j5.fsf@gnus.org> <87lferb7co.fsf@gnus.org> <20201126082711.GA12134@tuxteam.de>,<87im9s3pdh.fsf@logand.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AM0PR06MB6577724F3882347C59E64B7896F90AM0PR06MB6577eurp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33451"; mail-complaints-to="usenet@ciao.gmane.io" To: Tomas Hlavaty , "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 26 20:35:25 2020 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 1kiN37-0008cE-1x for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Nov 2020 20:35:25 +0100 Original-Received: from localhost ([::1]:36788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiN36-0005ny-3x for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Nov 2020 14:35:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiN2A-0005D6-Lf for emacs-devel@gnu.org; Thu, 26 Nov 2020 14:34:26 -0500 Original-Received: from mail-oln040092074012.outbound.protection.outlook.com ([40.92.74.12]:63138 helo=EUR04-DB3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiN27-0007St-NC for emacs-devel@gnu.org; Thu, 26 Nov 2020 14:34:26 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VF2pZxjxmzGN8OoUk0svZzdIM5AfDExFa0oVS0cWwR5GBKjpjP3FFocFAKynZTorvIalMebiePoKi+fcwcvIVbSQjzWSX2IYFdQd11qjjv/cSotvVdLYiCm0D7E+a5wzD1gpIOroHR7b2mZ6YEiaruYBasmxyfBIux66Vt6UWdwjO8AIeqHu6FGiSbPzEL7kUpEKwlmTaOU5OnOOoSzSIpvnkqMY6HOjGls7yq2ZBFL+3RTopEAUCm17HryR1lTw8yU19+0giYWN9Xg5arV+rGwMapsDyh1TNogdbNej+jCv0MGCDS4ckUglX7PsmcCH7BfNSM55br133OI3AjuaPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nv5eitC5UU8IKA1c/qNhlIMtIVPmiI/OSg7DoEYgz1s=; b=bh3LZ19OevfCTcKWk8w5Mq7b6BaJqyoZPqq5CupAFMY16myRRju1pO2IPJuIhHksQtXseZXpwQzShj+WB4n9AJyQux8MC/l/97LhMSVTzXzWRqa12tjgkoVJCRFmD+h1J9+JlVYUWtzg0y//WmWNRbqY5jjtC1AEidUpekGri86mzMwympkskacGf3FE2ZIqTr9T9txNM3PAsZQwNNpdr3tAqkeA1k+nasZ9KMuzJkWAUEiHyXRXDW+i9vuYUPtGKiyj/g+bgaZ3bBSTTfV/Tz12znDZIi4ROYTaZYrmtRYucpgCT5eiU3oBx0GVV3pmYfyvcWNWdRSgC9nL0SJH7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nv5eitC5UU8IKA1c/qNhlIMtIVPmiI/OSg7DoEYgz1s=; b=kneOWKBBnCaJCyDXyp2ehpCFMqV2skXqVLtzwEhqql5vYh2aJb/5mEdI1tbgZ7PaEEBQwLMnUXBDvagbMSvkWyX41YR+5dtZgHQQxVSKVdqDnfszBamxw1luhtyU2USgKcmaMaZlwr8uKnoBy1976TlyxbcPE/3E4v/mimkTPIo1xWTKdGYfhBihChjLLofmY7Km1HTZGPcQCc9Pe2sZxisDWKr8hNRbRY/22IqODJga0l2bPCugLUyc+Aehd+p0M/EELbJ3YEx7wyIIga3njARU+HQ1gfof7UaevbdmcEVKeNVLHav78e6/bLynphaFMAgDbhPGPwk6rCVHeLmHaQ== Original-Received: from HE1EUR04FT027.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::50) by HE1EUR04HT107.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23; Thu, 26 Nov 2020 19:34:21 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e0d::45) by HE1EUR04FT027.mail.protection.outlook.com (2a01:111:e400:7e0d::286) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23 via Frontend Transport; Thu, 26 Nov 2020 19:34:21 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3611.024; Thu, 26 Nov 2020 19:34:20 +0000 Thread-Topic: Introducing emacs-webkit and more thoughts on Emacs rendering (was Rethinking the design of xwidgets) Thread-Index: AQHWwL9xcL06KfcGqU6GdMEtKdNu+KnaGmCAgACz6ACAAAZ+1A== In-Reply-To: <87im9s3pdh.fsf@logand.com> Accept-Language: sv-SE, en-US Content-Language: sv-SE x-incomingtopheadermarker: OriginalChecksum:ACA9F5AD63334BEB6DB674CDFB1353F041DC398FF2D46ED401AE5310D708A507; UpperCasedChecksum:0763F91534FD506C4721D7D9C04F239719A498ABB5EB7101580099A70842C957; SizeAsReceived:7342; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [p1r+cGr9grj7rOeMiMO14jHnd8GmUlWL] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: dfb31e94-a5ad-456e-2649-08d8924245b0 x-ms-traffictypediagnostic: HE1EUR04HT107: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: h05eVPBOxjvH02VrggpdBZB/rsqvZjNz8+vuIqigI9mJNo51Mf3bM4jaf3RWC3h3qYHf6H3YHH1PCSCknACUfvCuU6zLdEZZ1jh1uOrOTCWsoum742egLAisO9NQ50g8C/Ur6L/ktTLkxnq3ggUPsRnRtWVqejtrSISlpzPVMEtPhL4YE3TJIAgUgUTrHJ0awDc+RmoMI3vUlhwdyikPeA== x-ms-exchange-antispam-messagedata: U69Vd+emfo1LRx3y7VgPBbyFnOLKM/IAZrSsB/s4jWAokTCrf7MYknZpqGNtZqOvNC4fk7llsy/KeHb70uUVXA/CkHmwfJM4/HTqtkMfXLtgXQ3chnEPE0rEMpDZV3CnB/9dQ90eZaye3d6uwXNhuQ== x-ms-exchange-transport-forked: True X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT027.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: dfb31e94-a5ad-456e-2649-08d8924245b0 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2020 19:34:20.7136 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT107 Received-SPF: pass client-ip=40.92.74.12; envelope-from=arthur.miller@live.com; helo=EUR04-DB3-obe.outbound.protection.outlook.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:259845 Archived-At: --_000_AM0PR06MB6577724F3882347C59E64B7896F90AM0PR06MB6577eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Imagine all the vulnerabilities brought in by all the other libraries Emacs= uses, and Emacs uses quite many. I don't see difference there. If you are aware of some special vulnerability in libmpv, then please rapp= ort it to the project so they can fix it. For the rest of your questions: answer should probably be self-evident: les= s processes means less resources used, faster response at runtime and progr= ammatic control usually means more flexibility. For same reasons, I wish ev= en dired was not usin ls program but was built on directory-files instead. By the way, I hope you can formulate yourself ess passive aggressive in fut= ure. I perceive your mail as something belonging rather to discussions on = twitch chatt or reddit at best. -------- Originalmeddelande -------- Fr=E5n: Tomas Hlavaty Datum: 2020-11-26 20:12 (GMT+01:00) Till: emacs-devel@gnu.org =C4mne: Re: Introducing emacs-webkit and more thoughts on Emacs rendering (= was Rethinking the design of xwidgets) On Thu 26 Nov 2020 at 09:27, wrote: > On Thu, Nov 26, 2020 at 06:25:10AM +0100, Arthur Miller wrote: >> Why is it desirable to view jpegs in Emacs rather then run >> insert-your-favourite-image-viewer-here? Or why is it desirable to >> render html in emacs rather then run Firefox? why does this need libraries instead of programs? >> For me: less processes, why is it a good thing? >> less switching between applications, nice to have things in Emacs >> buffers. why does this need libraries instead of programs? > Imagine being able to say "org-store-link" at a specific frame in > a video. Or at specific (x, y) coordinates in a frame in said > video. why does this need libraries instead of programs? > Just imagine :-) imagine all the extra vulnerabilities linked into the emacs process $ ldd emacs | wc -l 94 hmm, that is a lost cause already libraries are easier to use but programs run in separate processes and can be extra sandboxed --_000_AM0PR06MB6577724F3882347C59E64B7896F90AM0PR06MB6577eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Imagine all the vulnerabilities brought in by all the oth= er libraries Emacs uses, and Emacs uses quite many. I don't see difference = there.

If you are aware of some  special vulnerability in l= ibmpv, then please rapport it to the project so they can fix it.

For the rest of your questions: answer should probably be= self-evident: less processes means less resources used, faster response at= runtime and programmatic control usually means more flexibility. For same = reasons, I wish even dired was not usin ls program but was built on directory-files instead.

By the way, I hope you can formulate yourself ess passive= aggressive in future. I perceive your mail as something  belonging ra= ther to discussions on twitch chatt or reddit at best.


-------- Originalmeddelande --------
Fr=E5n: Tomas Hlavaty <tom@logand.com>
Datum: 2020-11-26 20:12 (GMT+01:00)
Till: emacs-devel@gnu.org
=C4mne: Re: Introducing emacs-webkit and more thoughts on Emacs render= ing (was Rethinking the design of xwidgets)

On Thu 26 Nov 2020 at 09:27, <tomas@tuxteam.de&= gt; wrote:
> On Thu, Nov 26, 2020 at 06:25:10AM +0100, Arthur Miller wrote:
>> Why is it desirable to view jpegs in Emacs rather then run
>> insert-your-favourite-image-viewer-here? Or why is it desirable to=
>> render html in emacs rather then run Firefox?

why does this need libraries instead of programs?

>> For me: less processes,

why is it a good thing?

>> less switching between applications, nice to have things in Emacs<= br> >> buffers.

why does this need libraries instead of programs?

> Imagine being able to say "org-store-link" at a specific fra= me in
> a video. Or at specific (x, y) coordinates in a frame in said
> video.

why does this need libraries instead of programs?

> Just imagine :-)

imagine all the extra vulnerabilities linked into the emacs process

  $ ldd emacs | wc -l
  94

hmm, that is a lost cause already

libraries are easier to use but programs run in separate processes and
can be extra sandboxed

--_000_AM0PR06MB6577724F3882347C59E64B7896F90AM0PR06MB6577eurp_--