[slime-devel] Re: Saving *slime-scratch*

Madhu enometh at meer.net
Sat Apr 28 10:58:21 UTC 2007


* Nikodemus Siivola  <4631FB2D.8030208 at random-state.net> :
| The attached patch associates *slime-scratch* with a file
| if you name one as "slime-scratch-file". I've been running
| slime with this a while, and rather like it.
|
| Something like this was talked about a while ago, and dropped
| because of what looked like an ideologinal objection to
| scratch-buffers in my mind.
|
| Is the consensus still against this?

Personally half the time i don't want a peristent scratch buffer, and
half the time, I do, in which case I would bind slime-scratch to:
  (find-file "/tmp/*slime-scratch*")
  (slime-switch-to-scratch-buffer)

The only cost of this patch seems to be an extra variable, which I
don't mind.  On a related note, I've often wondered how, after a file
has been associated with the buffer, would one "detach a file from the
buffer", without destroying the buffer?
--
Madhu




More information about the slime-devel mailing list