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 20:21:14 -0700 Message-ID: References: <87pmpm2v4b.fsf@gnus.org> <874k6ye2w4.fsf@yahoo.com> <87wnjq1vwn.fsf@yahoo.com> <87zgoj5ycl.fsf@tanaka.verona.se> <87ee5usy5x.fsf@yahoo.com> 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="3903"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Emacs Devel , joakim@verona.se, Anand Tamariya To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 30 04:22:44 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 1n2m1c-0000oq-Pu for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 04:22:44 +0100 Original-Received: from localhost ([::1]:39896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2m1b-0006Hf-DV for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Dec 2021 22:22:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2m0Q-0005bO-A6 for emacs-devel@gnu.org; Wed, 29 Dec 2021 22:21:30 -0500 Original-Received: from [2a00:1450:4864:20::132] (port=45593 helo=mail-lf1-x132.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2m0O-0001kT-Ci for emacs-devel@gnu.org; Wed, 29 Dec 2021 22:21:29 -0500 Original-Received: by mail-lf1-x132.google.com with SMTP id u13so51640540lff.12 for ; Wed, 29 Dec 2021 19:21:27 -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=jkmjHBm6mnRH2qMmBLOeo7oEwledBRvugM0mYISPPjg=; b=eT0fTjSfSPs5cy97+ho8qH2axGcodZC8q35LZzQ4mOf/FAsSzNXgroDwjWi2doi43Y PudISFOJix34kKEgQkTe7BiYkH3XNxI+Ik95OdURJCv9xB2miq3MlcAlMl0QlnDFddq6 Q+4Zl1f91swgOiH6MvKzNJ90gwbW8EiJ39Oj1o3vodCPNF7hc0TFxYXnOanAkIVWzp9W 1MdgdFWy1QvLJHhro4Zzgi8JOMV7D5OqiL43TudOfvZsfgq7djWY/yfllblsDIzIN7pd Ya0gPaSSizDyJGi7X6nGAcy1vuQNmI/e8J8OroCXMvY4aHhIAzS8SP7rGaB7ZJc5GfrK OqWg== 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=jkmjHBm6mnRH2qMmBLOeo7oEwledBRvugM0mYISPPjg=; b=2qUZd4kMbzZLukAq1//D0YknMwMkMYFF277mkcEnyjbVWUH9RQHwZR7LXW7kP8KfOb LpGzlPdSsj8S7mmbc3NMlhflnqzXJrUrMcR9vk9rTEPbU6QY6Aj5cilflRp3yLJzPkQ3 QW1E67fLBSrspFWk3ow5+B8LB9hhCMsxHJZkxUhoQ3wikaaOYoQg0qsAasx9x6tEpwAe 8SZiU0ytpXOCugwc66HtIx/GJ3xlwWBJSwgjB6sE04hzwhgY2H6ESShUEXUF8eP9YYLB +ZU/iBd5UAErbAJMUVvKGS1jIYXs7CuANabt5K/VkhoeIP+PF8Fx6SpBh8qOtEl7gI3P 53Xg== X-Gm-Message-State: AOAM531Admy8KmxPrEHIJFJIiMcqgLrHJEO6NAEldk9D6/KkV62YkKd2 Xd47rx/ASxGnmimF7GfQK5ZZd2+0na8fRaVSHjI= X-Google-Smtp-Source: ABdhPJwPi1zKGcEUhbwZcVfm+xIPZChvrw1079vg/flCXd6SDjqmffPPLpTZhBLah/SsEOgfXKB0oAY6UN/61Mhj6LQ= X-Received: by 2002:a05:6512:ac9:: with SMTP id n9mr24263905lfu.114.1640834485862; Wed, 29 Dec 2021 19:21:25 -0800 (PST) In-Reply-To: <87ee5usy5x.fsf@yahoo.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::132 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=aikokyle@gmail.com; helo=mail-lf1-x132.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:283607 Archived-At: On Wed, Dec 29, 2021 at 6:02 PM Po Lu wrote: > > Aiko Kyle writes: > > > 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. > > I think Doc View uses per-window overlays to achieve that, which you can > also do with xwidgets. > Thanks for letting me know about per-window overlays. I think that may be a better way to make a full-window xwidget behave closer to "the emacs paradigm." However what would that look like with emacs-xwidget? IIUC that would mean instantiating multiple xwidget webkit instances, one for each window? Then one would need to figure out how keep the appropriate state synchronized between them? I think this may prove difficult to figure out the right UI for since a webpage can end up being pretty stateful and it would be surprising, for example, if a user entered text in one webkit widget and it doesn't appear in the others. Or worse, if one makes modification to state on one page, then kills that window and now its lost.