From: aalinovi@riseup.net
To: help-gnu-emacs@gnu.org
Subject: Multiple browsers in emacs
Date: Mon, 04 Mar 2024 18:34:29 -0500 [thread overview]
Message-ID: <7c1f3c9c2978f200@eddie.fios-router.home> (raw)
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 no difference.
Any assistance would be appreciated.
Thank you
Arthur
next reply other threads:[~2024-03-04 23:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 23:34 aalinovi [this message]
2024-03-08 15:47 ` Multiple browsers in emacs tpeplt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c1f3c9c2978f200@eddie.fios-router.home \
--to=aalinovi@riseup.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).