From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#24364: 25.1; C-x C-x in rectangle-mark-mode leaves corner out Date: Sun, 4 Sep 2016 19:50:03 +0100 Message-ID: <20160904184755.GA3137@breton.holly.idiocy.org> References: <1473001396.29786.0.camel@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1473015083 10918 195.159.176.226 (4 Sep 2016 18:51:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Sep 2016 18:51:23 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) Cc: 24364@debbugs.gnu.org To: Marie-Christine Jones Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 04 20:51:20 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgcVg-00020J-Cl for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Sep 2016 20:51:16 +0200 Original-Received: from localhost ([::1]:50816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgcVd-0007kq-NM for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Sep 2016 14:51:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgcVX-0007kY-0w for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2016 14:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgcVS-0004pV-Ix for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2016 14:51:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgcVS-0004pQ-Ee for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2016 14:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bgcVS-0001Oz-9k for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2016 14:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Sep 2016 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24364 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24364-submit@debbugs.gnu.org id=B24364.14730150135327 (code B ref 24364); Sun, 04 Sep 2016 18:51:02 +0000 Original-Received: (at 24364) by debbugs.gnu.org; 4 Sep 2016 18:50:13 +0000 Original-Received: from localhost ([127.0.0.1]:49890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgcUf-0001Nr-HA for submit@debbugs.gnu.org; Sun, 04 Sep 2016 14:50:13 -0400 Original-Received: from mail-wm0-f48.google.com ([74.125.82.48]:36243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgcUe-0001Na-AF for 24364@debbugs.gnu.org; Sun, 04 Sep 2016 14:50:12 -0400 Original-Received: by mail-wm0-f48.google.com with SMTP id c133so94858342wmd.1 for <24364@debbugs.gnu.org>; Sun, 04 Sep 2016 11:50:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=h0hr5o6R574JHhTUyFmDOMgzUJy/ieigsD002p+1ehc=; b=SpHO+t0TnO6+pY2V2Wx8G5a7ObssEITDrnXLETRnkonZg/2UWdZZ0BNDPgrvXhYYMH eUdrdgNH5z21Opk7XkC8dA4fuwuYomOqYjkdpXQ8gqE7pIHbV+RBiVt2LnjK5LyErNLT Px7dXXgnPu+ikW30sS+BNh36FmNCW8A1g2T6BQLmYw8SxnX+D3s3PX1Dwlw9xNe6xCZH GiHuapKrGHZJ9vADe6OFL57LAJwx/XatyCXP6I6b/wic/Cy97MjQ5qgnH0DwlNw2KJxE 4n1K30kcnvgzHQWy6ZIbYD4VhMev7Tf12Z1NpKySAreGY2/XZTFjW3hXdQ7WYZwe/YBN pPIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=h0hr5o6R574JHhTUyFmDOMgzUJy/ieigsD002p+1ehc=; b=h8aiEhUk18OSw6/wLypmDKYhbHoURASIDoBgbIovVuMz+mVQV0PlZ/OwEX8Q3gHiu2 7THXkuQ3pe+qWDC8aDhsU40JhH2cmPeWox8hmrQ8f798+nEdqzmqO/ThAnKOYMGO3H/v cj4SQHWruKMajcf9UNEKQzUypxVkYUPeldQvshlcMCZIKyfsd1o3Woi5JR69RszY97wx 4v6fcR5w9Pv+XxKugKRuCnQt1Bde22QuP/SCatHstm/VKyG/a4FbNwXDrIL7Ugke23Sq JKN+gfRs4G1Y3x0WwGRM1HbEGRj5wc9GpKld1cccXfn+e6iM8INH/TDcBNdVUYBSeUNX SVjA== X-Gm-Message-State: AE9vXwNqOZgBV6So4qB1ANFMjdAn+2d9ci9oWxoVVKQ6ZrfwDiCqzU6nyYPgXunDRR0Ksw== X-Received: by 10.28.47.199 with SMTP id v190mr11526773wmv.28.1473015006546; Sun, 04 Sep 2016 11:50:06 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-39b1-2960-fede-28c6.holly.idiocy.org. [2001:8b0:3f8:8129:39b1:2960:fede:28c6]) by smtp.gmail.com with ESMTPSA id pm1sm22720018wjb.40.2016.09.04.11.50.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Sep 2016 11:50:05 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1473001396.29786.0.camel@web.de> 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:122939 Archived-At: On Sun, Sep 04, 2016 at 05:03:16PM +0200, Marie-Christine Jones wrote: > > > When point is at the end of the (*scratch*-) buffer and > rectangle-mark-mode is activated, C-x C-x cycles through all corners but > the bottom left one, in this order (starting in the top right corner): > bottom right, top left, bottom right, top right. I think it should go > to the bottom left corner as well. It looks as though the problem occurs when the point is on the left side of the rectangle, and also at the end of a line. Because it’s an actual position in the buffer (not beyond EOL) rectangle--point-crutches is nil, and therefore rectangle--place-cursor is a no‐op. Unfortunately it looks like when the overlay is put in place the cursor jumps to the end of it, even though (point) still reports the EOL without overlay. My guess is that the overlay behaviour is correct and rect.el needs to work around that. -- Alan Third