From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.devel Subject: Re: Suggestion for C-t (transpose-chars) Date: Tue, 07 Aug 2007 22:56:49 +0200 Organization: The Church of Emacs Message-ID: <87643rjc6m.fsf@debby.local.net> References: <87lkdbl8az.fsf@debby.local.net> <871wf2lxb2.fsf@debby.local.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186520181 31419 80.91.229.12 (7 Aug 2007 20:56:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2007 20:56:21 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 07 22:56:18 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IIW6D-0006mf-Id for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2007 22:56:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIW6B-00052E-Na for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2007 16:56:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IIW68-00051w-Qi for emacs-devel@gnu.org; Tue, 07 Aug 2007 16:56:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IIW66-00051L-V5 for emacs-devel@gnu.org; Tue, 07 Aug 2007 16:56:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIW66-00051I-Ra for emacs-devel@gnu.org; Tue, 07 Aug 2007 16:56:10 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.174]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IIW5t-0000hd-3X; Tue, 07 Aug 2007 16:55:58 -0400 Original-Received: from [89.12.127.14] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1IIW5e1J6N-0004ST; Tue, 07 Aug 2007 22:55:42 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.63) (envelope-from ) id 1IIW6j-0000q1-Nn; Tue, 07 Aug 2007 22:56:49 +0200 In-Reply-To: (Stefan Monnier's message of "Fri\, 20 Jul 2007 15\:14\:46 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Provags-ID: V01U2FsdGVkX1+dMsAq9mmgcVHLbXWyJmbl2flGms2PmvRjAPe uw/YnVwq3d8f0dpURVoqlHLHU/WlkyKemXDW7nU3wy4lCq7SQU vgw/B/VxM5jfchRtLekTEypC6qdjsQL X-Detected-Kernel: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76161 Archived-At: Stefan Monnier writes: >>>> With a prefix argument ARG C-t allows to *drag* a character ARG >>>> characters away. Even though the respective code is impressively >>>> elegant I think it would be more helpful when one could *transpose* >>>> two characters ARG characters away from point! > > I value also the consistency with the other transposition commands (like I also value consistency, see for example http://permalink.gmane.org/gmane.emacs.devel/75058 > M-t and C-M-t), so we should also consider whether your suggested behavior > is better for those cases or not. In this case I would sacrifice the consistency between them. Because--at least for my typing habits--the reasons for transposing chars and words/sexps are of a different kind. Transposing of characters has more to do with defective (touch) typing and confusing words/sexps sequences has probably to do with some misunderstanding/confusion of the sentence/code structure. Thanks -- Best wishes H. Dieter Wilhelm Darmstadt, Germany