From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aiko Kyle Newsgroups: gmane.emacs.devel Subject: Re: Multimedia dashboard in GNU Emacs Date: Wed, 29 Dec 2021 12:08:08 -0700 Message-ID: References: <87pmpm2v4b.fsf@gnus.org> <874k6ye2w4.fsf@yahoo.com> <87wnjq1vwn.fsf@yahoo.com> <87zgoj5ycl.fsf@tanaka.verona.se> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22740"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Lars Ingebrigtsen , Anand Tamariya , Emacs Devel To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 29 20:10:05 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 1n2eKq-0005gg-LZ for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Dec 2021 20:10:04 +0100 Original-Received: from localhost ([::1]:48976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2eKp-0001qq-3H for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Dec 2021 14:10:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2eJC-00017f-WA for emacs-devel@gnu.org; Wed, 29 Dec 2021 14:08:23 -0500 Original-Received: from [2a00:1450:4864:20::22d] (port=36820 helo=mail-lj1-x22d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2eJB-0001c8-DX for emacs-devel@gnu.org; Wed, 29 Dec 2021 14:08:22 -0500 Original-Received: by mail-lj1-x22d.google.com with SMTP id h21so25251364ljh.3 for ; Wed, 29 Dec 2021 11:08:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UWL324+IpdoFXVSog7dtuX5xMR7o+eeWr71l+QdrxUQ=; b=X074gBXLqd5faIz4j2d2NzoBkQOcNTnM5vrp/d3EFgteRBatO9ujRPJu5NcwSZP1us 7OWogOZcdRXxvNeKoviFcfoYP212SQiKUEcIbqIn38rYMs7sVe0YHkqsqvGFwcjNz9LR mtfZPuTMinZI2yHj/sEHdwXggo6HjawXeykpkOS19zE/cgKr+DKa1J4LC+mulNiNFDA9 leICJHJf3FH2h5230k1flnzxKqvbmTQcegWpwuQVOVuIRdN2J6IYkZ9pNj6YPgweMIpN Czt8ZjRmp0GNPaUr9BPfd5xAYG1YWluq4fQjlTt45M1pA+veDH5j+8F+cHynp77IACUt 81FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UWL324+IpdoFXVSog7dtuX5xMR7o+eeWr71l+QdrxUQ=; b=6T+DmXpc6ZgMuP96QstBWziFyp+baAzRg6QXK5UQ5wxCqrfLIsqGmA0f2Pa3S3Zyix Ucb9qg6EbuY0cdLKdPyKsG2SjbGp6Ngu767i0TP5rED74xqypHtlun1cNkctYI85OcoG NGEk7u+HwRxRZcxwaA0Y+EPBXJEeSkvkYQzC4CYjXyb5OAantGGVdbYqqpVXX+71qICi 3mKO6lSdzmAfksBFbyA+wxznPhDqmlp7EP77aJRficIwgPnlyfwi/IhdqQJRp9QsAEqA snLnIC1gyqasgOZRQUXSZ8obBh+Xqt0tZwhaXm8VSFf4ueBx8+ffQeNyuvlRWlDmTSy/ cdgA== X-Gm-Message-State: AOAM530cfnpTTn+CRBJiXRI1fBe8vqAyhc+6zaumBWgxoCobS7HholeQ jeJmRHMjYGJDWsvIXCQ89x7ykPQ4Eb0OW5BwCW4= X-Google-Smtp-Source: ABdhPJyzjl7npL7ZrpslqqDnyC/qQzVEdtexnMq3GP+JYOB4E+6PJjS74ZO6cbnalnNJt5HAbPZYeoLTX2ukewsmqaU= X-Received: by 2002:a2e:2c15:: with SMTP id s21mr24063147ljs.340.1640804899747; Wed, 29 Dec 2021 11:08:19 -0800 (PST) In-Reply-To: <87zgoj5ycl.fsf@tanaka.verona.se> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::22d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::22d; envelope-from=aikokyle@gmail.com; helo=mail-lj1-x22d.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:283589 Archived-At: Hi Joakim! Po and I were previously discussing this in the context of the webkit xwidget on this thread: https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg01914.html On Wed, Dec 29, 2021 at 6:34 AM wrote: > > It kind of has to, in order to preserve the way emacs behaves. > That is multiple views of the same buffer, and so on. > > In the original xwidget branch there were some alternative behaviours > implemented as proof of concepts, and they worked to some degree, but > breaks the emacs paradigm, so they arent really all that useful IMHO. > I think that the question of how well an xwidget obeys "the emacs paradigm" depends on the content it's displaying. If it were a button or some other element in a larger button, I agree that the current model fits the emacs way well enough. However I think when the xwidget is the only element in a buffer and takes up a large portion or even the whole window, then I think the correct paradigm would resemble something like doc-view, where the two widow's xwidgets can show different views if they have some notion of scrolling. > There might also be some kind of experiment involving redirection of an > applications main window to an offscreen widget, that might be useful > for xwidget, but I'm not entirely sure. > This is the current implementation that Po Lu has fixed various flickering bugs on master for xwidgets on x. However both the xwidgets on ns and my emacs module emacs-webkit, handles this in a different way where the webkitview can only be displayed in one window.