From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id DAA25229 for ; Wed, 29 May 1996 03:05:08 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id MAA16042; Tue, 28 May 1996 12:45:05 -0400 (EDT) Resent-Date: Tue, 28 May 1996 12:45:05 -0400 (EDT) Sender: steve@miranova.com To: zsh-workers@math.gatech.edu Subject: Beta 19[no patches], C-t at the beginning of a line X-Url: http://www.miranova.com/%7Esteve/ Mail-Copies-To: never From: Steven L Baur Mime-Version: 1.0 (generated by tm-edit 7.63) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 28 May 1996 09:43:59 -0700 Message-ID: X-Mailer: Gnus v5.2.1/XEmacs 19.14 Resent-Message-ID: <"y1mKL1.0.Xw3.Hsogn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1212 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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.