From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Samuel Banya" Newsgroups: gmane.emacs.help Subject: Re: emacs <----> firefox Date: Fri, 22 Apr 2022 10:56:52 -0400 Message-ID: References: <87o80teu2c.fsf@aol.com> <87o80tyd22.fsf@jonas-damm.de> <87fsm5yc25.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="8532"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.7.0-alpha0-569-g7622ad95cc-fm-20220421.002-g7622ad95 To: "Emanuel Berg" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 22 16:58:04 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 1nhujU-000212-1M for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 22 Apr 2022 16:58:04 +0200 Original-Received: from localhost ([::1]:40900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhujS-000611-T5 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 22 Apr 2022 10:58:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhuil-0005z6-QO for help-gnu-emacs@gnu.org; Fri, 22 Apr 2022 10:57:19 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:47849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhuij-0007dD-59 for help-gnu-emacs@gnu.org; Fri, 22 Apr 2022 10:57:19 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id F257B32032E0 for ; Fri, 22 Apr 2022 10:57:13 -0400 (EDT) Original-Received: from imap50 ([10.202.2.100]) by compute5.internal (MEProxy); Fri, 22 Apr 2022 10:57:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1650639433; x=1650725833; bh=oFeOkZQpgw RLtFZYGr7k2u4mK5ze6oh9Oa4P8qQJH48=; b=yK0uhvwhiAddy+IsN2pGhwsf9W uzAY779rJI0CZvER7Ny3EAjKJtuSgMD/T68FoG+f+babHMWIF7OkBOyBw2V2Xguy 4Yq8nB77zV6//DyeO3BwxgfNh60FKN6WswPh0PjRh7qDyqPMITVsFWpZ7PnnH0Fi oLel0kJ0+5w9MqITjd2LxWsmSYOwiZe9IoZelipPNVm2WUGgXN0ztEWvBx5PV7GQ hheMlBlu0nI1zfG+GXYxK0/wO4/rz9V3gl5e9y/DVDsnUgvsY3EX7WK3QSp7aB6Q +vIuVlUk7RCFqze2BLqy42j6W+P+v/0JBISKQ1ZptNtUWTjrowQR/KhA0K3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1650639433; x= 1650725833; bh=oFeOkZQpgwRLtFZYGr7k2u4mK5ze6oh9Oa4P8qQJH48=; b=t Vs4gvq4Ar9dzkLtEb6s5tz48STSz5Szly4rA3J0NCGg9mYmFNFZwEnOrhfpJkmqd cDTv7NxSC4j9+5JwQ6tQiWvg2Uhp7qbYjXlPjMxRYdmtQJW4c4g41rqRFBFQltlm Do7IJ4WXRPpqR4m+3hYqLE1vRuC9nvtYmsCfNQ9BH975YtAjsA2nXlNRRmityJXk vwev0D11Hp2fP9GfYZU7/rhe6gjyjAuLQ7X6t17fPnyFM7z/1lQZo3pLRdzXF+7y 6pqEDqSfuw4vSbCToYY5IuJPhvFyBf4pys86tT7aVRT2j+c1O97CslfnEI0bBFhc 4lZkgZs2XFZOQQ8RNuIZQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtdeggdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerredtnecuhfhrohhmpedfufgrmhhu vghluceurghnhigrfdcuoehssggrnhihrgesfhgrshhtmhgrihhlrdgtohhmqeenucggtf frrghtthgvrhhnpeekkefhudeivdefleeukefhgeefhfehkeduheelheeltdeggfduueej vedtueeftdenucffohhmrghinhepghhithhhuhgsrdgtohhmpdgrshhkuhgsuhhnthhurd gtohhmpdhinhhvvghrshgvthhhohhughhhthdrtghomhdpmhhoiihilhhlrgdrohhrghdp vghmrggtshdquggvshhkthhophdqtdefrdhorhhgpdgrthhlrghsrdgvnhhgihhnvggvrh dpghhithhhuhgsrdhiohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehssggrnhihrgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2DE7A192008C; Fri, 22 Apr 2022 10:57:13 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <87fsm5yc25.fsf@jonas-damm.de> Received-SPF: pass client-ip=64.147.123.21; envelope-from=sbanya@fastmail.com; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:136993 Archived-At: Hey Sam, I don't know if this helps answer your initial buffer list of tabs, but you might find this package useful as I thought of this, and thought this can only help your quest to use Emacs and Firefox simultaneously: https://github.com/tecosaur/emacs-everywhere Its a cool package by Tecosaur, who helps maintain Org Mode. I mention this because that user's Emacs config is pretty awesome, and he's on the level of 'abo abo' where their thought process on how they use Emacs is on point in the best way possible. Also, I found this StackOverflow post on 'Firemacs' which is an extension for Emacs style tab usage as well: https://askubuntu.com/questions/20748/emacs-keybindings-for-textboxes-in-firefox This is a post on a person who modified their Firefox to accommodate more Emacs style bindings: http://jordi.inversethought.com/blog/exercising-software-freedom-on-firefox/ If you like Vim style keybindings, this might be cool to check out: https://github.com/brookhong/Surfingkeys Another vim style keybindings Firefox extension I found: https://addons.mozilla.org/en-US/firefox/addon/keyboard-control-for-firefox/?src=api This is a package for using Emacs keybindings on Linux: https://github.com/mooz/xkeysnail This allows you to edit text in an external editor on Firefox: https://addons.mozilla.org/en-US/firefox/addon/textern/ Hope that helps! Sam On Fri, Apr 22, 2022, at 12:26 AM, Jonas Damm wrote: > Exwm is just mapping the individual windows to emacs buffers. The > function > efs/exwm-update-title () > changes the buffername to the title of the tab. > > After that you can use any function you prefer to search a tab. I use > counsel-switch-to-buffer. This allows to type only a few characters of > the tab-title to find and preview it directly. > > Samuel Wales writes: > > > thank you. is this a combination of putting all tabs into windows and > > using exwm to filter those? exwm is intriguing, however, 1000 windows > > would not be possible for me and i am currently stuck with fluxbox. > > > > also, i meant for my question to be open-ended, i.e. this kind of > > thing and any kind of emacs <----> firefox stuff is welcome. i don't > > know what is really possible out there or written without yet being > > published etc. so i do not mean to limit this query to searching tabs > > but also include other things that currently are not possible to do in > > firefox. thus nobody off topic. > > > > [for all i know, maybe there is a comprehensive-ish org-mode / firefox > > dot files / whatever kind of thingie.] > > > > > > On 4/21/22, Jonas Damm wrote: > >> 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/ > >>>> > >> > >> > > >