Article View: gnu.emacs.bug
Article #98499Re: Inconsistency between transpose-chars and transpose-words
From: Doug Rudoff
Date: Wed, 26 Jun 1991 22:49
Date: Wed, 26 Jun 1991 22:49
29 lines
1987 bytes
1987 bytes
In article <1991Jun19.153701.23773@mintaka.lcs.mit.edu> boaz@lcs.mit.edu writes:
>* transpose-words is not performing the same "function" as transpose-chars.
>* transpose-words is not consistent.
transpose-chars is inconsistent itself:
abcd -> abdc (When cursor is at end of line)
^ ^
abcd -> abdc (When cursor is within line)
^ ^
Different cursor positions, but same result.
Repeated transpose-chars at the end of line will undo itself. Not so
if the cursor is in the middle of the line.
I am just as likely to transpose characters when I'm entering text for
the first time on a line (the cursor at end of line) as when I'm
inserting text in the middle of the line. If I transpose characters in
the middle of a line, I have to go back one character, then do the
transpose. I would much prefer transpose-chars to always transpose the
two characters before the cursor. At least for me, that's what seems
the most useful method.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Doug RUDOFF Motorola Mobile Data Bothell, WA uunet!mdisea!rudoff
(206) 487-5937 rudoff@mdi.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<1991Jun26.224928.27503@MDI.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!mdi.COM!rudoffReferences:
<1991Jun19.153701.23773@mintaka.lcs.mit.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,9a9df035ff9770d9 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-06-26 23:40:32 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!mdi.COM!rudoff From: rudoff@mdi.COM (Doug Rudoff) Newsgroups: gnu.emacs.bug Subject: Re: Inconsistency between transpose-chars and transpose-words Message-ID: <1991Jun26.224928.27503@MDI.COM> Date: 26 Jun 91 22:49:28 GMT References: <1991Jun19.153701.23773@mintaka.lcs.mit.edu> Sender: gnulists@ai.mit.edu Distribution: gnu Organization: Motorola, Mobile Data Division - Seattle, WA Lines: 29 Approved: bug-gnu-emacs@prep.ai.mit.edu