From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: aalinovi@riseup.net Newsgroups: gmane.emacs.help Subject: Multiple browsers in emacs Date: Mon, 04 Mar 2024 18:34:29 -0500 Message-ID: <7c1f3c9c2978f200@eddie.fios-router.home> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13639"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 05 00:35:26 2024 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 1rhHqA-0003Ez-F1 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Mar 2024 00:35:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhHpZ-0008Cu-On; Mon, 04 Mar 2024 18:34:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhHpQ-0008CO-Ag for help-gnu-emacs@gnu.org; Mon, 04 Mar 2024 18:34:42 -0500 Original-Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhHpO-0008Lj-Az for help-gnu-emacs@gnu.org; Mon, 04 Mar 2024 18:34:40 -0500 Original-Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4TpZm822WZz9vrd for ; Mon, 4 Mar 2024 23:34:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1709595275; bh=3M1ZH2Rs4lP7kEw+lIUGgljBDzSRXkPte31Vbn/flyw=; h=From:To:Subject:Date:From; b=g1JhuZBSrDIJoxukYMWGVcvM/nu77fze9r5yhHmyh5FKUopoD/mnTM2JqmGrYrj/J XpPL2mRnfer2G7doTMIIn4fd+lUCTzN4jaC+ACgW4d8xBlOKE3RZ9QJUv6F5tWtPSl qA5vc83t52pCafI09+BjMH21+QGBzXSRwyFw0sWQ= X-Riseup-User-ID: 66A160167D125522CD1FAA43368BD790F537FA01F3B87D87437FC6E0B5CE0E30 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4TpZm76FhTzJsym for ; Mon, 4 Mar 2024 23:34:31 +0000 (UTC) Original-Received: from eddie.fios-router.home (localhost [127.0.0.1]) by eddie.fios-router.home (OpenSMTPD) with ESMTP id c7dba361 for ; Mon, 4 Mar 2024 18:34:30 -0500 (EST) Content-ID: <94490.1709595268.1@eddie.fios-router.home> Received-SPF: pass client-ip=198.252.153.6; envelope-from=aalinovi@riseup.net; helo=mx0.riseup.net 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, 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-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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146041 Archived-At: This is with emacs-29.2 on OpenBSD -current. Not knowing lisp, I simply copied the following from: https://noonker.github.io/posts/2020-04-22-elfeed/: (defun elfeed-eww-open (&optional use-generic-p) "open with eww" (interactive "P") (let ((entries (elfeed-search-selected))) (cl-loop for entry in entries do (elfeed-untag entry 'unread) when (elfeed-entry-link entry) do (eww-browse-url it)) (mapc #'elfeed-search-update-entry entries) (unless (use-region-p) (forward-line)))) (defun elfeed-firefox-open (&optional use-generic-p) "open with firefox" (interactive "P") (let ((entries (elfeed-search-selected))) (cl-loop for entry in entries do (elfeed-untag entry 'unread) when (elfeed-entry-link entry) do (browse-url-firefox it)) (mapc #'elfeed-search-update-entry entries) (unless (use-region-p) (forward-line)))) (defun elfeed-w3m-open (&optional use-generic-p) "open with w3m" (interactive "P") (let ((entries (elfeed-search-selected))) (cl-loop for entry in entries do (elfeed-untag entry 'unread) when (elfeed-entry-link entry) do (ffap-w3m-other-window it)) (mapc #'elfeed-search-update-entry entries) (unless (use-region-p) (forward-line)))) (define-key elfeed-search-mode-map (kbd "t") 'elfeed-w3m-open) (define-key elfeed-search-mode-map (kbd "w") 'elfeed-eww-open) (define-key elfeed-search-mode-map (kbd "f") 'elfeed-firefox-open) Everything works fine except for "t" elfeed-w3m-open which results in "Symbol's function definition is void: ffap-w3m-other-window" I was unfamiliar with ffap so I tried enabling it. It seems to have made n= o difference. Any assistance would be appreciated. Thank you Arthur