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

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

Open
BrunoBonacci opened this issue May 31, 2015 · 5 comments
Open

Comments

@BrunoBonacci
Copy link

Please see issue clojure-emacs/cider#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
Copy link
Contributor

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@4474f43). 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
Copy link
Contributor

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

@BrunoBonacci
Copy link
Author

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
Copy link
Member

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 [email protected] 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
Copy link
Author

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

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

No branches or pull requests

3 participants