>>>>> "Rich" == Rich Shepard <[email protected]> writes:

Rich>    Now and then R gets high-centered and really stuck, so I shut
Rich> down emacs and start again. While R saves my work in .Rhistory,
Rich> I regularly save the buffer contents in daily files; e.g.,
Rich> 2011-12-28.R. My problem is how to save new work to that same
Rich> file (by appending to it) rather than overwriting it when I
Rich> press C-x c-s.

One thing that would work, off the top of my head:

  open the old file in a buffer

  cut & paste the contents of the new buffer at the end of the old
  file.

M-x apropos-command 
"append" gives me append-to-file.

C-h f append-to-file gives me:

  append-to-file is an interactive compiled Lisp function in `files'.
  (append-to-file START END FILENAME)

  Append the contents of the region to the end of file FILENAME.  When
  called from a function, expects three arguments, START, END and
  FILENAME.  START and END are buffer positions saying what text to
  write.


-- 
Russell Senior, President
[email protected]
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to