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

Split up nix-search into two separate functions #129

Merged
merged 1 commit into from May 22, 2021

Conversation

nagy
Copy link
Member

@nagy nagy commented May 21, 2021

The main intention behind this is that patching the functions should be
easier. It also allows for experimenting with different displaying
methods for the search result.

The second argument to the display function has been removed in order
to not dictate how the buffer should be displayed. Users can customize
this with display-buffer-alist.

Also, the fact that the display function is separate allows, for
example, to store a search result somewhere and have it display later.

The main intention behind this is that patching the functions should be
easier. It also allows for experimenting with different displaying
methods for the search result.

The second argument to the `display` function has been removed in order
to not dictate how the buffer should be displayed. Users can customize
this with `display-buffer-alist`.

Also, the fact that the display function is separate allows, for
example, to store a search result somewhere and have it display later.
@matthewbauer
Copy link
Member

looks good!

@matthewbauer matthewbauer merged commit 75d2111 into NixOS:master May 22, 2021
@matthewbauer
Copy link
Member

matthewbauer commented May 22, 2021

I made a few changes to nix-search.el to better work with nix 2.4. Also added some faces and stuff to make the display a little easier to read. Let me know if you have any issues with it.

@nagy nagy deleted the nix-search-separate branch May 22, 2021 15:14
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

Successfully merging this pull request may close these issues.

None yet

2 participants