![]() I prefer revbuffs simply because of a, possibly irrational, feeling of wanting to be in control of what happens. Global-auto-revert mode would have been a perfectly fine solution, and I wish I could choose two answers. Kind of similar to Cmd-R in other Mac apps). (I mapped revbuffs to Cmd-R which works quite nicely. ![]() Certainly enough to stop me wanting to try and write anything new myself. Well, I've found the revbuffs package to be pretty much what I need. PS I'm using Aquamacs on OSX if that matters. I'm fairly happy writing emacs-lisp if people can give me pointers on where to start. Secondly I'd like a command that reverted (without query) all my open buffers that have no unsaved changes, and queried me about those that do have unsaved changes.Īlternatively, I'd be open to suggestions about other solutions, ways of working, etc I could try. Often, when I switch branches in git, if the files are open in emacs, then emacs asks if I want to revert them (as it thinks they've changed on disk) even though the contents are identical.įirstly I'd like to find a way for emacs to not ask me about it at all if the contents on disk are identical to those in the buffer.
0 Comments
Leave a Reply. |