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

Bug: doesn't handle filled (word-wrapped) info references #272

Open
SamB opened this issue Aug 26, 2021 · 1 comment
Open

Bug: doesn't handle filled (word-wrapped) info references #272

SamB opened this issue Aug 26, 2021 · 1 comment

Comments

@SamB
Copy link

SamB commented Aug 26, 2021

For example, the docs for completing-read contain this text:

COLLECTION, and PREDICATE.  See also Info node ‘(elisp)Basic Completion’
for the details about completion, and Info node ‘(elisp)Programmed
Completion’ for expectations from COLLECTION when it’s a function.

If I place my cursor within second info reference and invoke describe-char, I get this output:

There are text properties here:
  button               (t)
  category             helpful-info-button-button
  info-node            "(elisp)Programmed\nCompletion"

This is what vanilla help does to prevent this:

https://github.com/emacs-mirror/emacs/blob/869579170b87b06dd802b563417a69564c82f559/lisp/help-mode.el#L543-L544

@SamB
Copy link
Author

SamB commented Aug 26, 2021

Oh yeah, obviously pressing the button also fails (Info makes sure the right info file is loaded, but doesn't navigate within it).

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

1 participant