* Multiple browsers in emacs
@ 2024-03-04 23:34 aalinovi
2024-03-08 15:47 ` tpeplt
0 siblings, 1 reply; 2+ messages in thread
From: aalinovi @ 2024-03-04 23:34 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Multiple browsers in emacs
2024-03-04 23:34 Multiple browsers in emacs aalinovi
@ 2024-03-08 15:47 ` tpeplt
0 siblings, 0 replies; 2+ messages in thread
From: tpeplt @ 2024-03-08 15:47 UTC (permalink / raw)
To: aalinovi; +Cc: help-gnu-emacs
aalinovi@riseup.net writes:
> 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/:
>
Have you installed the ‘elfeed’ package from the ‘melpa-stable’
repository? The ‘elfeed’ package is not included the Emacs distribution
and so needs to be installed from an archive on the internet.
If you are not familiar with installing and using packages (of Emacs
Lisp code) within Emacs, then you will need to read the Emacs user
manual chapter "Emacs Lisp Packages", especially the section "Package
Installation".
You can read this chapter and section by typing C-h r (to read the Emacs
manual), then typing m Packages. Package installation is the third
section of this chapter.
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-08 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 23:34 Multiple browsers in emacs aalinovi
2024-03-08 15:47 ` tpeplt
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).