overtone / emacs-live

M-x start-hacking
http://overtone.github.com/emacs-live/
Other
1.51k stars 241 forks source link

When running `magit-status` it prompts to save *cider-result* buffer #203

Open BrunoBonacci opened 9 years ago

BrunoBonacci commented 9 years ago

Please see issue https://github.com/clojure-emacs/cider/issues/1091

After testing in isolation it looks like this behaviour was introduced between 1.0-BETA-24 and 1.0-BETA25.

When using the eval in pop-up buffer C-c C-p and subsequently run the magit status C-x g I get a prompt for the *cider-result* buffer.

"Buffer has no associated file and not saved. Save it?"

Which is very annoying as the content of this buffer can be discarded. How can we remove this prompt for the *cider-result* buffer?

rothmichaels commented 9 years ago

I'm wondering if some work I did on #201 might help fix this for you.

Would you see if you still have this problem using the version of emacs live available at my branch new-monkey-patch (rothmichaels/emacs-live@4474f43b61b2a8255e4e317ff9f7047b77d770cb). If you want to try an older version without Sam's latest changes, try this commit: rothmicahels/emacs-live@f933407d41b4f94e967429f38e77b6f2a632e99d

If everything works in this branch, then the solution I proposed in #201 will work to solve your problem.

If you still have this problem using my branch, will you check if you have the problem after evaluating (defalias 'basic-save-buffer 'live-mp-orig-basic-save-buffer)? ~~(because of the bug in #199, this will not work on master branch)

If that does it for you, then the code in monkey-patch.el is causing you trouble, but my proposed solution does not fix it.

rothmichaels commented 9 years ago

Sorry, I posted the wrong solution to the new-monkey-patch branch; just updated it.

BrunoBonacci commented 9 years ago

Hi, shortly after this issue I move to Prelude Emacs as I didn't see much activity in Emacs-Live. So I don't have a mean to try it anymore.

thx anyway Bruno

samaaron commented 9 years ago

Emacs Live has always been my personal Emacs Config shaped in a way that was easy for other people to copy and adopt.

I’m happy to help out people wherever possible, but i certainly can’t maintain everyone’s Emacs configs!! Have fun with Prelude and thanks for hanging round here while you did :-)

Sam

On 17 Jul 2015, at 14:17, Bruno Bonacci notifications@github.com wrote:

Hi, shortly after this issue I move to Prelude Emacs as I didn't see much activity in Emacs-Live. So I don't have a mean to try it anymore.

thx anyway Bruno

— Reply to this email directly or view it on GitHub.

BrunoBonacci commented 9 years ago

My Kudos to you Sam, Emacs Live is a pretty good setup especially for someone who (like me) was new to Emacs. I've used it for over two years and it has been great help.

thx again and keep hacking ;-) ;; B