When point is on a "gnus:" link to an article which is not the last article in a group, and if the group is not already open in Gnus, calling `org-open-at-point' results in the message, "Couldn't fetch article [article's message-id]".
Expected to happen: The article would open in Gnus upon following the link. What did happen: Gnus summary buffer opens with only the very last article in the group listed and the aforementioned message displayed in the echo-area. Steps to reproduce: 1. Open Emacs using "emacs -Q". 2. Copy your configuration of the options `gnus-select-method' and `gnus-secondary-select-methods' into the scratch buffer and evaluate the code. (Normally, I'd put some code here to recreate the settings exactly the same way that I did it, but I don't want to be responsible for anyone losing their marks if they run Gnus with different server settings.) 3. Open Gnus and proceed to any nntp group. (I think this will apply to other server types, but I've only tested it with nntp groups.) 4. Select any article which is NOT the most recent article in the group. 5. Do "M-x org-store-link RET" 6. Quit Gnus by pressing "q" and then "y" to confirm. 7. Open an Org-mode buffer, or enable `org-mode' in the scratch buffer. 8. In that buffer, insert the link using "C-c C-l RET RET" 9. Place point somewhere on the link and attempt to follow-it by typing "C-c C-o". After Gnus opens, it will display the summary buffer listing only the last article in the group. And since the article you linked isn't there, you should also see the "Couldn't fetch article" message. I delved into the code some, and it looks like this happens at line 256 in ol-gnus.el, which is part of the definition of `org-gnus-follow-link'. Unindented, the line looks like this: (setq group-opened (gnus-group-read-group articles t group)) At the time this is evaluated, the `articles' local variable has a value of 1. So Gnus only displays the last article in the group. This is happening inside of a `while' loop, but if I'm reading this correctly, that loop is only going to run once. When `gnus-summary-goto-article' is called a few lines further down, the article can't be found in the summary buffer, because only the last article in the group is shown. Emacs : GNU Emacs 30.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4) of 2025-07-18, modified by Debian Package: Org mode version 9.8-pre (release_9.7.39-602-gded231 @ /home/martin/Projects/org-mode/lisp/)
