pacfiles-mode icon indicating copy to clipboard operation
pacfiles-mode copied to clipboard

Navigation and closing preview of merged changes buffer

Open miguelbernadi opened this issue 10 months ago • 1 comments

I have just found this project and used it for a machine where I had several long-ignored pacnew files and it saved me a ton of time!

After doing an ediff session and saving the merged state, I went to see the diff for double-check before applying the changes and found that SPACE didn't paginate (the buffer is read-only, as it should, but no navigation) and the same happened with q for closing the buffer.

I didn't check what mode the buffer was in, but I recall reading somewhere that there is a basic built-in major mode for this behaviour, with basic navigation and the closing command. My guess is that we could use that mode instead fo the current one to improve the user experience.

I'm not very familiar with Elisp or I'd recall the name of the mode and offer it as a PR. WDYT?

miguelbernadi avatar Mar 09 '25 13:03 miguelbernadi

I'm happy pacfiles has worked for you.

You bring up a good point. Certainly we could use a better mode to visualise and navigate the buffers. I'm currently unavailable but will have time again in a couple of days to take a look at what we could do.

Feel free to suggest something if you have an idea.

UndeadKernel avatar Mar 15 '25 18:03 UndeadKernel