emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Unable to follow gnus links
@ 2021-09-27 17:55 Tom Ed White
  2021-10-03  8:35 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Ed White @ 2021-09-27 17:55 UTC (permalink / raw)
  To: emacs-orgmode

Following gnus links in org fails with the message:

funcall: Wrong number of arguments: ((t) (path _) "Follow the Gnus
message or folder link specified by PATH." (if (string-match
"\\`\\([^#]+\\)\\(#\\(.*\\)\\)?" path) nil (error "Error in Gnus link
%S" path)) (let ((group (match-string-no-properties 1 path)) (article
(match-string-no-properties 3 path))) (org-gnus-follow-link group
article))), 1

The function is org-gnus-open in ol-gnus.el. I found a workaround by
changing the function arguments:

(defun org-gnus-open (path &rest _ moo)

I put the "moo" argument in for testing.

I can eval the original function and run it by itself and it works fine,
so maybe the calling function is passing too many arguments. I believe
the calling function is org-open-at-point from org.el.

I'm running the latest org (20210920) from melpa. The file ol-gnus.el
gets loaded via org module customization.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-04 19:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 17:55 Unable to follow gnus links Tom Ed White
2021-10-03  8:35 ` Ihor Radchenko
2021-10-03 15:54   ` Tom Ed White
2021-10-04  8:24     ` Ihor Radchenko
2021-10-04 19:33       ` Tom Ed White

Code repositories for project(s) associated with this public inbox


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).