From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#23955: 24.5; Unexpected behavior of built-in function `transpose-regions' Date: Wed, 13 Jul 2016 02:59:30 +0900 (JST) Message-ID: References: <87a8hn2g0e.fsf@gustavo-VirtualBox.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: ger.gmane.org 1468346426 13803 80.91.229.3 (12 Jul 2016 18:00:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 18:00:26 +0000 (UTC) Cc: tino.calancha@gmail.com To: 23955@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 12 20:00:16 2016 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 1bN1yi-0003Ca-Bo for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 20:00:16 +0200 Original-Received: from localhost ([::1]:42516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN1yh-0007n2-J4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jul 2016 14:00:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN1yY-0007if-Ri for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 14:00:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN1yU-0007iS-UY for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 14:00:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN1yU-0007iN-RQ for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 14:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bN1yU-0001w4-M3 for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2016 14:00:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87a8hn2g0e.fsf@gustavo-VirtualBox.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2016 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23955-submit@debbugs.gnu.org id=B23955.14683463837379 (code B ref 23955); Tue, 12 Jul 2016 18:00:02 +0000 Original-Received: (at 23955) by debbugs.gnu.org; 12 Jul 2016 17:59:43 +0000 Original-Received: from localhost ([127.0.0.1]:48641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN1yB-0001uw-05 for submit@debbugs.gnu.org; Tue, 12 Jul 2016 13:59:43 -0400 Original-Received: from mail-pa0-f49.google.com ([209.85.220.49]:34504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bN1y9-0001ug-B0 for 23955@debbugs.gnu.org; Tue, 12 Jul 2016 13:59:41 -0400 Original-Received: by mail-pa0-f49.google.com with SMTP id fi15so8797475pac.1 for <23955@debbugs.gnu.org>; Tue, 12 Jul 2016 10:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:user-agent:mime-version; bh=zTksG18N2sHxoPpkn0iWZunydsZkK8Yho0gm/KgazPg=; b=rkgRqqZRvNKaSIYu+IpSBUfiP++N7ulUzxLpG3LE281KMvo+XgV38kVYSUAUVBmwGr UR9vB4tFJmTRwICF9JF5bbTJy187jxiCWMs+2eAp3rJGroxMSJxnf0/aq1UvCa56SaJG 2pZqqb4pe0EeM/egZsMGQ+SO91F3mrFB3tChRHT8rhWSvpi+PhoE4Pkkvo9RoK8bVo+U 97evsdR1xgys4+g2aZ/O1gvkKVDu8lfVDHqj4tphuUjnMUAWAdB5a6tlMS+jP0x9lIjX GWhqA5K12DhuwMct+OCpttIWWEI1Gtu2+kYWji1QTIL9y6jy23hXLEN+baE3rf87Guxw XNEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:message-id:user-agent :mime-version; bh=zTksG18N2sHxoPpkn0iWZunydsZkK8Yho0gm/KgazPg=; b=YVj1EBrnoXTxL7losSi8UAPVmycjp0jm5e7jCZMDS1EZZkoRv0oQ942ulDi81LUZpR /+Me20mwu1pSzbxoTjzUcLTe9PpDvafFr9TPOpDoKI07UhNcMIHUgjfbbfNpXqj40tim 5zNdRkPq+RPLl2aSPjjygrz40TMSLmm1SvlmylQkCXEADnVFamJM3mmwKhpd5tOPf7QI HJ64YyfztlAS01acMwX+5lSTJuZ3FnCH9vJG3KGYNegw9POsDHn77SVklTQnYY8fIiiC BSHgF2i1FiOBnHjeytUAdkmYypLnmzU2y3lGRmz+LiOl2IFogO57MbGKmiXoOXxd0YoE QksA== X-Gm-Message-State: ALyK8tJeZxNK/Bto1H6TWf3i9sbHXm+gbk7r1Mp9Way1TwmkMkiH02LTNsllLetrYT/nKw== X-Received: by 10.66.13.200 with SMTP id j8mr6043785pac.150.1468346375532; Tue, 12 Jul 2016 10:59:35 -0700 (PDT) Original-Received: from calancha-pc ([240f:6e:c00e:1:6875:2e94:598b:96cb]) by smtp.gmail.com with ESMTPSA id g26sm5970745pfj.82.2016.07.12.10.59.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2016 10:59:35 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc User-Agent: Alpine 2.20 (DEB 67 2015-01-07) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:120939 Archived-At: I cannot reproduce the bug: emacs -Q ;; Evaluate following form (let* ((str ";; ((right))((left))") (expected ";; ((left))((right))") (result (with-temp-buffer (insert str) (transpose-regions 6 11 15 19) (buffer-string)))) (string= result expected)) => t In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-04-08 on binet, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11803000 System Description: Debian GNU/Linux testing (stretch)