From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Damm Newsgroups: gmane.emacs.help Subject: Re: emacs <----> firefox Date: Fri, 22 Apr 2022 06:13:46 +0200 Message-ID: <87k0bhycrz.fsf@jonas-damm.de> References: <87o80teu2c.fsf@aol.com> <87o80tyd22.fsf@jonas-damm.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1437"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 28.1.50 Cc: help-gnu-emacs@gnu.org, Hendursaga To: Samuel Wales Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 22 06:16:05 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nhkiD-0000DF-HY for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 22 Apr 2022 06:16:05 +0200 Original-Received: from localhost ([::1]:43896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhkiC-00006W-BX for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 22 Apr 2022 00:16:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhkhW-00006A-Ui for help-gnu-emacs@gnu.org; Fri, 22 Apr 2022 00:15:22 -0400 Original-Received: from dd15330.kasserver.com ([85.13.136.159]:35304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhkhP-0001r3-2Z for help-gnu-emacs@gnu.org; Fri, 22 Apr 2022 00:15:19 -0400 Original-Received: from x220t (unknown [165.231.67.39]) by dd15330.kasserver.com (Postfix) with ESMTPSA id 0705B7500048; Fri, 22 Apr 2022 06:15:12 +0200 (CEST) In-reply-to: <87o80tyd22.fsf@jonas-damm.de> Received-SPF: none client-ip=85.13.136.159; envelope-from=emails@jonas-damm.de; helo=dd15330.kasserver.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136990 Archived-At: I should clarify that this will only work, if every Firefox window is an emacs buffer like with exwm. So it won't work in a classic desktop environment. Jonas Damm writes: > Hi, > > The following is a solution I copied from David Wilsons > "emacs-from-scratch" repository: > > You could configure Firefox to open every tab as a new window, for > example by using the "i hate tabs" extension. > > I am using exwm, so I have this in my emacs config: > > (defun efs/exwm-update-title () > (pcase exwm-class-name > ("Firefox-esr" (exwm-workspace-rename-buffer (format "Firefox: %s" exwm-title))) > ("qutebrowser" (exwm-workspace-rename-buffer (format "Qutebrowser: %s" exwm-title))))) > > You can find out more about this here: > https://github.com/daviwil/emacs-from-scratch/blob/f4918aadf6970b098999d28bdbc212942aa62b80/show-notes/Emacs-Desktop-03.org > > With this, you can fuzzy search your tabs by the switch-to-buffer > command or with counsel-switch-to-buffer, which i prefer. > > > > > > Samuel Wales writes: > >> that sounds very interesting. i am glad alternatives like that are >> being developed. however, i am very interested in the emacs <----> >> firefox thing, but i don't think i have it in me to try an entirely >> new gui browser, for a variety of reasons. >> >> >> On 4/21/22, Hendursaga wrote: >>>> i thought perhaps some firefox <----> emacs thing could help. >>>> >>>> any ideas here? other than don't have 1000 tabs? >>> >>> This doesn't directly answer your question, but have you looked into the >>> Nyxt browser[1]? It's mostly written in Common Lisp and one could describe >>> it as an aspiring Emacs of web browsers. Tab filtering / switching is one of >>> its strengths. In addition, there are ways of interoperating with Emacs, see >>> for instance, some of Andrea's blog articles[2]. >>> >>> [1] https://nyxt.atlas.engineer/ >>> [2] https://ag91.github.io/tags/nyxt/ >>>