felko / neuron-mode

An emacs mode for editing Zettelkasten notes with neuron
GNU General Public License v3.0
118 stars 21 forks source link

Add support for xref-pop-marker-stack #65

Closed prsteele closed 3 years ago

prsteele commented 3 years ago

This PR modifies neuron-follow-thing-at-point to push the current marker to the stack that xref uses. This allows us to traverse backwards after calling neuron-follow-thing-at-point by calling xref-pop-marker-stack.

This doesn't provide a full xref backend, although it would be nice to provide one using neuron-follow-thing-at-point as the basis for xref-find-definitions.

felko commented 3 years ago

Thanks, that could be a good way to implement #44