astoff / devdocs.el

Emacs viewer for DevDocs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] `devdocs-goto-target` seems like `(goto-char 2)`?

condy0919 opened this issue · comments

commented

The docstring says it will go to the original position. What's the original position meaning?

When you select an entry in devdocs-lookup, you are supposed to be taken to the location of the entry, not to character 2. That's what that command does.

For which entries of which document do you observe this?

commented

I'm adding evil integration emacs-evil/evil-collection@86b02f8

I'm curious about that so.

But do you still think there's a bug with .?

FYI, I'm not so happy with devdocs-next/previous-entry, I may replace these commands with devdocs-next/previous-page at some point.

commented

But do you still think there's a bug with .?

Maybe a video is more expressive than text.

a.mp4

FYI, I'm not so happy with devdocs-next/previous-entry, I may replace these commands with devdocs-next/previous-page at some point.

Thanks, I will keep evil-collection update with it.

Okay, I'll check why one lands at the second character rather than the beginning of the line. Otherwise the command is doing what it should. In these examples, you choose entries located at the top of some page, but this is not always the case.

Is it true that there is only one entry in most pages?

No, that's not what I observe. Some documents (e.g., Lua) have one single page.

Finally I realize the usage of devdocs-goto-target.

Would you mind to mention this in the README? I think people will have the same confusion.

I'll expand the Readme eventually.