zsh-workers
 help / color / mirror / code / Atom feed
From: Steven L Baur <steve@miranova.com>
To: zsh-workers@math.gatech.edu
Subject: Beta 19[no patches], C-t at the beginning of a line
Date: 28 May 1996 09:43:59 -0700	[thread overview]
Message-ID: <m2ivdgpx2o.fsf@deanna.miranova.com> (raw)

I have Emacs bindings set, and C-t bound to gosmacs-transpose-chars.
When C-t is typed as the first characters of a line, the cursor moves
to beginning of the previous line, and everything typed with the cursor
in that position comes out strange: ``a'' is ^ß (beta), most other letters
come out as ^@.  Hitting C-k causes a coredump.

Typing one character, and then hitting C-t causes the typed character
to be changed to a ^@ and the cursor jumped to the previous line.

I am on Linux pre2.0.8 if that makes any difference.

    if (cs < 2 || line[cs - 1] == '\n' || line[cs - 2] == '\n') {
        if (line[cs] == '\n' || line[cs + 1] == '\n') {
            feep();
            return;
        }
        cs += (cs == 0 || line[cs - 1] == '\n') ? 2 : 1;
    }
    cc = line[cs - 2];
    line[cs - 2] = line[cs - 1];
    line[cs - 1] = cc;

Also, transpose-chars Does The Right Thing.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be proofread for $250/hour.
Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone
except you in November.



             reply	other threads:[~1996-05-28 17:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-28 16:43 Steven L Baur [this message]
1996-05-28 20:45 ` Zoltan Hidvegi
1996-05-28 21:18   ` Steven L Baur

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=m2ivdgpx2o.fsf@deanna.miranova.com \
    --to=steve@miranova.com \
    --cc=zsh-workers@math.gatech.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).