Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h1>Psychotherapy</h1> <p>I asked this question about Lisp 20 years ago, <a href="https://stackoverflow.com/questions/12747769/dribble-in-r-how-to-duplicate-all-i-o-into-a-file">about R a year ago</a> and I am <em>not</em> asking it about python now. So, let me try to <em>answer</em> it.</p> <h1>What you <em>asked for</em></h1> <h2>Timed Logs</h2> <p>You certainly do <em>not</em> want the automatic <code>repl-timestamp.log</code> files - they will fill up your disk and you will never actually look at them.</p> <h2>Auto Save</h2> <p>Yeah, you can save the lisp interaction buffer into a file (and then the buffer will be auto-saved periodically), but you do not want that either.</p> <p>You are much better off typing your code in a buffer associated with a lisp file and sending it to the lisp interaction buffer, and only copying the "interesting" lisp output back to your file buffer. E.g., you do not want to save all 42 bad versions of a function, just the working one (and maybe a few intermediate ones - but you have git and hg for that).</p> <h1>What you <em>really</em> need</h1> <p>What you really want it two things:</p> <ol> <li>Remember what you did</li> <li>Restore the state where you left off</li> </ol> <p>Here is how to do that:</p> <h2>Remember what you did</h2> <p>You can use <a href="http://www.lispworks.com/documentation/HyperSpec/Body/f_dribbl.htm" rel="nofollow noreferrer"><code>dribble</code></a> to save into a file both what you type and what Lisp replies. This is useful, however, I think I examined only very few of the zillions of dribble files I created in my newbie days. They are there mostly for your peace of mind.</p> <h2>Restore the state</h2> <p>This is what <a href="https://stackoverflow.com/questions/480083/what-is-a-lisp-image">lisp images</a> are for: they write to disk the "state of the lisp universe" so that you can start from where you left off.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload