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: Fri, 27 Nov 2020 22:09:28 +0100 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: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2997"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Richard Stallman , tom@logand.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 27 22:10:30 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 1kil0e-0000e6-Pt for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Nov 2020 22:10:28 +0100 Original-Received: from localhost ([::1]:33324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kil0d-00034C-R4 for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Nov 2020 16:10:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kikzn-0002aq-21 for emacs-devel@gnu.org; Fri, 27 Nov 2020 16:09:35 -0500 Original-Received: from mail-oln040092075014.outbound.protection.outlook.com ([40.92.75.14]:21730 helo=EUR04-VI1-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 1kikzl-00023S-2A; Fri, 27 Nov 2020 16:09:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EOGGzPYHtJ+33nUXSVI3SnYivvMvRn6LQjLH2xCkXrNqCYpmIBcQEC9ZSa/UvH++MBxQpJo471xYKHmHX+1VRnVt8mtv8qrI/M8gtxDi9+MBgGAVHxNrC5OsbafxRLnk/78l8yLwq0EdASs6oEbRRZVV0MTtzuXzu2j9RXsVE5DnKWFsrZDfEgMY7OOulZztFIrIMe4p5FrTu1I5JPL9EqqMZnETNJ0GuBjbMRk7dHZbuxWv6pWcVypDyyj2WEA4UDzJSBo1Hd65E4lbVprM5aeu9Oaa41JtafhIdp9LC+IuBB/9eT6W8X7F2yOlEY2TPYpFBaRELkxslggn4QMSiw== 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=WjuhCy6d3mfAuoZaSbdM7Dq2I4VJvRHSvDohYH7wPNs=; b=WAY67TLkyu+wMCFj5Pwjk+Elxh/tP7v9k4ilXwKAt63qhR73+6bgy7yrkwAxxQpqFpnmDFapIfgmzskXoU6pwyGnBpN0ffy7+U6FrkW8U97xwKwKB72DsxpFXTXf+bCnUpBc+Np5cmxFJj1Ch5RzTqXSWBlICBCbOBT5YOJwypjn7NVgff/VEldPmjZVHvCHxjFgdB291gLA0BY/yBod2dIh15hj9I2AZPEGLh1hfMmdQfmB2bds8WOg/jPfcMD/5a2DhygCFuqxwP2EgbIhy7n9ry2uR+8OnQDTKjdfu7Tt2gR1xZwkW/3B25rh0dhMMnNNwahorCvuqjWOzMY8Gg== 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=WjuhCy6d3mfAuoZaSbdM7Dq2I4VJvRHSvDohYH7wPNs=; b=UZXMwivWPVTjStJWJbkVmMWe7wH1ngv/r/7Bj+F8/rN0FLAv+zyUC7EmcmnFox2h8m2PTsKimXPmqB318Yaem4kaFik14Nh7sphBkl5BcBxEQrITbe7rGLd78ScAVMclh4WDSWAcFU1v7C0iExtxanee9sajW8vEL1Fz0JNuwCf5R8z8Gk6mM0miD378Y4OY3xMO8u5GcvfSel84uMPHTGkCUofAweR1wk4VQPoON4QLeQeOX60XggXKtiNJvS0fszAUSxIR7DPu309qWrkDDR/YfsA7CSRGq2HbCxlRmx7MRqp40qMQatkJ45GLeTwforqdsWZxBVfe4hk+Q0Kpfg== Original-Received: from HE1EUR04FT061.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::51) by HE1EUR04HT024.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23; Fri, 27 Nov 2020 21:09:29 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e0d::49) by HE1EUR04FT061.mail.protection.outlook.com (2a01:111:e400:7e0d::306) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.23 via Frontend Transport; Fri, 27 Nov 2020 21:09:29 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:09002AC02F6B751FF76F4C6EB94C581C70B86F1C171735B458B06EC40A80831A; UpperCasedChecksum:39846146BC1A7E973BA88558902C0EB7BED5F4577DD5CF9990D36E6FE071B639; SizeAsReceived:9355; Count:47 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.025; Fri, 27 Nov 2020 21:09:29 +0000 In-Reply-To: (Stefan Monnier's message of "Fri, 27 Nov 2020 15:07:48 -0500") X-TMN: [/csqPyAEcPH22ewzezmxyLiZDvOFiS8R] X-ClientProxiedBy: AM6PR0202CA0042.eurprd02.prod.outlook.com (2603:10a6:20b:3a::19) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87a6v21p87.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6PR0202CA0042.eurprd02.prod.outlook.com (2603:10a6:20b:3a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20 via Frontend Transport; Fri, 27 Nov 2020 21:09:28 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: ac9a356f-4805-4b0b-8501-08d89318ba80 X-MS-TrafficTypeDiagnostic: HE1EUR04HT024: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lOXrMnJLXP1fX8b1qvRDKzt65D5u7kpfJABRaoAgWqAz2uxuFyvWArl4PT1TkPxoFybLeXnSqoRyV/eiq/hCqqlFqIvMBxxMteSAXiZa5iBxgyYHqYF4D3QgYfqLgkFASDVUdkjxu9L2kW5rjfDM2lmbe9JIOSP/lcdk5eEYA2HP4aPhh73jhqJqbkpotuQSEgtdUVhHtefGCDv9jRBifg== X-MS-Exchange-AntiSpam-MessageData: RzJ/MutFsQ+Kaba3MpIZP3GZTQE708qDID8odgdJonzJKKGHlFPhR008DceT1Sk5ou0eEkXwdng3sWFPYwKHZ2/p8/7TReRy9Hw/Lx9Yj7J7+eZ3NNTQ0wS7qEN287l795I+ky8L6QrUTKAh+sXrtw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac9a356f-4805-4b0b-8501-08d89318ba80 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2020 21:09:29.3643 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT061.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT024 Received-SPF: pass client-ip=40.92.75.14; envelope-from=arthur.miller@live.com; helo=EUR04-VI1-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, MSGID_FROM_MTA_HEADER=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:259926 Archived-At: Stefan Monnier writes: >> To my knowledge, mpv is probably the neetiest one to bring in media >> playing capabilities; it has lots of codecs, is written to be embedded, >> is free and would make Emacs be able to play music and video files >> without external players. Adding multimedia capabilities opens up for >> lots of flexibility and creativity; people can maybe do interesting >> stuff with it. I would certainly like Emacs to become a multimedia >> player, > > The question is what benefit is there to having it linked in as > a library as opposed to accessing similar functionality via > a sub-process. One could programmatically render stuff on top of the video; embedd it in a viewer to create a player, like there is image slide for image mode, video tag for shr was what triggered discussion. I mean you could code a renderer for video just as you made svg renderer; but somebody already created a re-usable, well tested library, so why recreate what is already done and tested. That is how I think of it. >> I play my music with Emacs already :-). > > This would tend to argue in favor of not having it as a library since > you can already do what you want just fine using a sub-process. Yeah, I know; but just playing music is a little bit of playing with a closed box. And it does not work with video. Also as I said it is a bit about efficiency. I think it would be useful for Emacs to play sound files and video files natively. For me Emacs is long past just text editor; for me it is more like an =C3=BCber-terminal or we could call it OS-browser ... I don't know. Just ho= w I use it, I understand if others use Emacs differently.