Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support fetching by Message-ID? #82

Closed
rayes0 opened this issue Apr 21, 2022 · 1 comment
Closed

Support fetching by Message-ID? #82

rayes0 opened this issue Apr 21, 2022 · 1 comment

Comments

@rayes0
Copy link

rayes0 commented Apr 21, 2022

When trying to get the unfetched parent of the current article or following references to other unfetched articles by, eg, pressing '^' in the summary buffer, it seems nnreddit doesn't support fetching by message-id:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p "<t1_i5flszg@reddit.com>")
  nnreddit--get-header("<t1_i5flszg@reddit.com>" "emacs")
  nnreddit-request-article("<t1_i5flszg@reddit.com>" "emacs" "" nil)
  gnus-request-article("<t1_i5flszg@reddit.com>" "nnreddit:emacs")
  gnus-request-head("<t1_i5flszg@reddit.com>" "nnreddit:emacs")
  gnus-read-header("<t1_i5flszg@reddit.com>")
  gnus-summary-insert-subject("<t1_i5flszg@reddit.com>")
  gnus-summary-refer-article("<t1_i5flszg@reddit.com>")
  gnus-summary-refer-parent-article(1)
  funcall-interactively(gnus-summary-refer-parent-article 1)
  call-interactively(gnus-summary-refer-parent-article)
  gnus-article-read-summary-keys(nil)
  funcall-interactively(gnus-article-read-summary-keys nil)
  call-interactively(gnus-article-read-summary-keys nil nil)
  command-execute(gnus-article-read-summary-keys)

(with gnus-refer-article-method set to 'current)

Has this just not been implemented yet, is there no way to follow references? Or am I missing something?

@dickmao
Copy link
Owner

dickmao commented Apr 23, 2022

It's one of those things that should be easy, but a bad design makes it hard. 8f247dc at least heads off the Wrong-type-argument error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants