Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Add nov-search-forward and nov-search-backwards #43

Closed
wants to merge 1 commit into from

Conversation

freesteph
Copy link

Hey! Thanks for nov-mode. As you've seen on the Emacs Reddit, this is potentially my first Elisp contribution so do provide guidance!

It adds nov-search-forward and nov-search-backward, both composed on a generic nov--search-direction that decides how it should move between pages and how it should search for the query based on the value of its direction parameter. I don't know if that's very lispy at all but thought I'd re-use the logic.

@wasamasa
Copy link
Owner

wasamasa commented Jan 14, 2019

Sorry, but no. First of all, the code doesn't fit into the rest of the codebase, second, if anything I'd prefer an isearch-based solution using isearch-search-fun-function. See #4.

@wasamasa wasamasa closed this Jan 14, 2019
@freesteph
Copy link
Author

Fair enough. I would have appreciated some feedback on that Reddit post if you knew all the way you were going to close this PR immediately, it would have saved us both the trouble.

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

Successfully merging this pull request may close these issues.

2 participants