-1

I'm using emacs 23 (acquamacs) and have installed nrepl.el.

I've evaluated some Clojure code with

C-c C-p

(this key combo is to Evaluate the form preceding point and display the result in a popup buffer.) Running it has produced a nice popup buffer for me to see the results.

How do I hide this popup buffer? (I don't want to kill it - just get my fullscreen back).


FYI Re this command - I've run this with

C-h k C-c C-p

and got

^C ^P runs the command nrepl-pprint-eval-last-expression, which is an interactive compiled Lisp function in `nrepl.el'.

It is bound to ^C ^P, <menu-bar> <nREPL> <Eval last expression in popup buffer>.

(nrepl-pprint-eval-last-expression)

Evaluate the expression preceding point and pprint its value in a popup buffer.
Alex Miller
  • 69,183
  • 25
  • 122
  • 167
hawkeye
  • 34,745
  • 30
  • 150
  • 304
  • Either that or just press `q`. I just tried it out with the help buffer and it dismisses the window but not the buffer. However, popup buffers in the style of ac-nrepl does for its autocompletion are meant to simply be dismissed. – jjpe May 25 '13 at 13:09
  • Thanks @jjpe - please make this into an answer and I'll mark it as correct. – hawkeye May 26 '13 at 01:44

3 Answers3

1

You haven't provided enough information for anyone to test (that's not a standard global binding), and you haven't even indicated whether the new window is selected; but there's a generic solution which will work regardless.

Add (winner-mode 1) to your init file, and then you can always use C-c<left> to undo the most recent window configuration change (or changes plural, if you repeat the command).

phils
  • 71,335
  • 11
  • 153
  • 198
0

Always, when asking Emacs questions, say what the key sequence does. C-c C-p does nothing here. TO find out what it does press C-h k C-c C-p and report back. In this case we're invoking 'describe-key and then telling it to describe what C-c C-p does.

RichieHH
  • 2,116
  • 4
  • 28
  • 30
0

Either that or just press q. I just tried it out with the help buffer and it dismisses the window but not the buffer. However, popup buffers in the style of ac-nrepl does for its autocompletion are meant to simply be dismissed

jjpe
  • 664
  • 4
  • 13