Article View: gnu.emacs.bug
Article #98473Inconsistency between transpose-chars and transpose-words
From: Boaz Ben-Zvi
Date: Wed, 19 Jun 1991 15:37
Date: Wed, 19 Jun 1991 15:37
34 lines
1892 bytes
1892 bytes
(Using Emacs-18.5[67]) and an "^" to mark the cursor position bellow:
* Calling transpose-chars (C-t) produces:
BEFORE: abcd AFTER: acbd (i.e. exchange under cursor with
^ ^ previous char)
* Calling transpose-words (E-t) produces:
BEFORE: aaa bbb ccc AFTER: aaa ccc bbb (exchange with next word)
^ ^
but
BEFORE: aaa bbb ccc AFTER: bbb aaa ccc (exchange with prev. word)
^ ^
* (Just for ....) In my "emacs compatible" tcsh :
BEFORE: abcd AFTER: bacd (i.e. cursor remains and two prev.
^ ^ chars are exchanged).
So my complaints are:
* transpose-words is not performing the same "function" as transpose-chars.
* transpose-words is not consistent.
(OK -- I don't expect you to fix tcsh ....)
-- Boaz
========================================================
* Boaz Ben-Zvi (boaz@neutron.lcs.mit.edu) *
* MIT: NE43-526 Tel: (617) 253-6212 *
========================================================
Technical Details
Message-ID:
<1991Jun19.153701.23773@mintaka.lcs.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,9a9df035ff9770d9,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-06-19 08:37:01 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: boaz@GOLEM.LCS.MIT.EDU (Boaz Ben-Zvi) Newsgroups: gnu.emacs.bug Subject: Inconsistency between transpose-chars and transpose-words Message-ID: <1991Jun19.153701.23773@mintaka.lcs.mit.edu> Date: 19 Jun 91 15:37:01 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: boaz@lcs.mit.edu Distribution: gnu Organization: Laboratory for Computer Science, MIT Lines: 34 Approved: bug-gnu-emacs@prep.ai.mit.edu