sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
From: John (Most modern computers would break if you stood on them) Mackin <john@ civil.su.oz.au>
To: Sam Fans <sam-fans@hawkwind.utcs.toronto.edu>
Subject: undo and the snarf buffer
Date: Tue, 12 Jan 1993 22:41:05 -0500	[thread overview]
Message-ID: <199301131441.8607.sam.babot@civil.su.oz.au> (raw)

This is something I have been wondering about for a couple of years, and
since just noticed it again I thought I'd see what people think.

At the moment, doing "undo" on button two doesn't affect the contents
of the snarf buffer.  I think there is a good argument that it should.
On the theoretical side, you're asking sam to restore its state to a
previous state.  That shouldn't be just the state of the buffer being
edited, it should be all the state you can get at.  On the practical
side, this bites me when I do a "cut" accidentally when I meant a "paste".
What I think I should be able to do is "undo" just once -- which would
undo the cut -and- back out the snarf buffer to have what it had before
the cut was done -- and then do "paste".  Instead I have to re-snarf
what I had before, which often involves undoing further back to get
it back in the buffer again if I had cut it originally.

Thoughts?

OK,
John.


                 reply	other threads:[~1993-01-13  3:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199301131441.8607.sam.babot@civil.su.oz.au \
    --to=john@civil.su.oz.au \
    --cc=sam-fans@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).