From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.bugs Subject: bug#21885: 24.5; Transposing things with a negative argument Date: Thu, 12 Nov 2015 14:27:07 -0500 Message-ID: References: <22084.18903.339422.795322@lambda.ccs.neu.edu> <867flndr4x.fsf@stephe-leake.org> <837flnhy97.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1447356511 21921 80.91.229.3 (12 Nov 2015 19:28:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2015 19:28:31 +0000 (UTC) Cc: Stephen Leake , 21885@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 12 20:28:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZwxXX-0006Y5-RJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Nov 2015 20:28:11 +0100 Original-Received: from localhost ([::1]:49402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwxXW-0000OF-PT for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Nov 2015 14:28:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwxXS-0000NA-4r for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2015 14:28:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwxXN-0002dQ-Vn for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2015 14:28:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwxXN-0002dM-SW for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2015 14:28:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZwxXN-00053D-KA for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2015 14:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Barzilay Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Nov 2015 19:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21885 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21885-submit@debbugs.gnu.org id=B21885.144735643119357 (code B ref 21885); Thu, 12 Nov 2015 19:28:01 +0000 Original-Received: (at 21885) by debbugs.gnu.org; 12 Nov 2015 19:27:11 +0000 Original-Received: from localhost ([127.0.0.1]:35078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwxWY-000528-OZ for submit@debbugs.gnu.org; Thu, 12 Nov 2015 14:27:10 -0500 Original-Received: from mail-ig0-f173.google.com ([209.85.213.173]:32870) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwxWW-000520-OO for 21885@debbugs.gnu.org; Thu, 12 Nov 2015 14:27:09 -0500 Original-Received: by igvi2 with SMTP id i2so21669488igv.0 for <21885@debbugs.gnu.org>; Thu, 12 Nov 2015 11:27:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barzilay_org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tMio6Hb+cxmUR0LXuxQEazuejcD94FKS8NRfLI3iv1s=; b=lY2SV9xqDeqZ5z+5sxK2LbJm5i+d/BfkW73B3kpAcFFT8slmyuMR+IgyxwQF0gfqHq owMflQMbVYHNvIZ0ugsTOi5cgCuJntudSmwbCiU0gyPEx/8uCOL4SNmQXFsYEhF+y1gq bQwAut3THkHl5aU+kHnfOrE6CnYxm+exMtkHLcSvKCfNYBVynxAP5a28lsmtOKpVCHFc 07KzZ46eoTMz1XgOCDwmTOM8B1YHP4vQYrOxlDf0zfZnwyzoFaTfsgBoAWy5MpTXjLHK WZoaoYSSdPtg6z3bmo9a6R9sQzmaAipTIrsjGO+ZHZKqJUXrg3tpNLEc8MFEUD5kGHaA 4YNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=tMio6Hb+cxmUR0LXuxQEazuejcD94FKS8NRfLI3iv1s=; b=NhWPFqeGPsltnCw5Rlin/6Qd4JwUkusic+D2g77Xy6Fdf06KO8Ud1p+1bFynsyZdwj jYv3di7/LekGswlg8O8XvWU+71HOH6mRZnxpCMdptSim0r0varEs14QQpb3kqOQgmQdY wpwumUkacQbh3rZf+HUei2ARjem51spynlqGw3cTuKGlfydz9qmLx4ClbhYV8pLKKO5A 9llNf9kBEcNnbwx0dxVjA1qONy5t7yyP6IR1g/l8epF1oljflWUpMwmWO2mf3qovSEpp KycP9FpT6B8I8gfve2Te19rJ+xWv3uMQCfKm5kNCtsmaIzpRujsIDgR8IrI89u0zPQFU DHhg== X-Gm-Message-State: ALoCoQnoPwuhvF2O1JNTuANnq1hmNuzSQ3QMVcU9jIIv1e4HvPl5v/4DhNlK1mplUNM0jQxrm3IA X-Received: by 10.50.79.201 with SMTP id l9mr40073677igx.60.1447356427849; Thu, 12 Nov 2015 11:27:07 -0800 (PST) Original-Received: by 10.79.28.139 with HTTP; Thu, 12 Nov 2015 11:27:07 -0800 (PST) In-Reply-To: <837flnhy97.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108676 Archived-At: On Thu, Nov 12, 2015 at 1:24 PM, Eli Zaretskii wrote: >> From: Stephen Leake >> Date: Thu, 12 Nov 2015 12:11:42 -0600 >> Cc: 21885@debbugs.gnu.org >> >> Eli Barzilay writes: >> >> > In the past (IIRC, up to around v24.3) transposing things (chars, >> > words, sexprs, lines) would always leave the point after the >> > transposed thing. ... This is no longer happenning. > [...] > > I think I know the answer: the difference is visible only if you > invoke C-t with a negative argument, as in "C-- C-t". Yes, exactly -- and yes, this is the same bug as #20698. I looked at the code a bit more since then, and I think that my patch is a fine fix. -- ((x=>x(x))(x=>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life!