unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Marie-Christine Jones <mariejones@web.de>
Cc: 24364@debbugs.gnu.org
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	[thread overview]
Message-ID: <20160904184755.GA3137@breton.holly.idiocy.org> (raw)
In-Reply-To: <1473001396.29786.0.camel@web.de>

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





  reply	other threads:[~2016-09-04 18:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-04 15:03 bug#24364: 25.1; C-x C-x in rectangle-mark-mode leaves corner out Marie-Christine Jones
2016-09-04 18:50 ` Alan Third [this message]
2016-09-04 19:03   ` Eli Zaretskii
2016-09-04 22:19   ` bug#24364: [PATCH] Fix cursor at bottom left of rectangle (bug#24364) Alan Third

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160904184755.GA3137@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=24364@debbugs.gnu.org \
    --cc=mariejones@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).