ag.el icon indicating copy to clipboard operation
ag.el copied to clipboard

next-error-follow disabled when ag-reuse-window set true

Open jmindek opened this issue 10 years ago • 1 comments

I'd like to use both next-error-follow-minor-mode and ag-reuse-window. In my .emacs I have: (setq ag-reuse-window 't) While in a ag results buffer, I hit C-c C-f to activate next-error-follow-minor-mode.

When I move my cursor to the next match, the match is oriented at the top of the buffer, however the file where the match is contained does not appear in another buffer.

jmindek avatar Oct 27 '15 14:10 jmindek

Agreed, this doesn't work.

I'm not sure what behaviour you're expecting though. It seems to me like next-error-follow-minor-mode would be annoying with ag-reuse-window. As soon as you moved in the results buffer, the results buffer (presumably) would be hidden. Is this what you want? You'd be unable to skip over search results.

Wilfred avatar Nov 05 '15 21:11 Wilfred