GNU bug report logs - #16149
24.3.50; rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Sat, 14 Dec 2013 20:03:02 UTC

Severity: normal

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16149 in the body.
You can then email your comments to 16149 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16149; Package emacs. (Sat, 14 Dec 2013 20:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jambunathan K <kjambunathan <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 14 Dec 2013 20:03:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jambunathan K <kjambunathan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
 rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
Date: Sat, 14 Dec 2013 15:56:27 +0530
[Message part 1 (text/plain, inline)]
In the attached screenshot, I am trying to C-x r o a rect. of width 4.
The intention is to indent the whole snippet to column 4.

Now, if you move the cursor vertically down (and subsequently in the
horizontal direction), you will note that the highlighted region
"forcibly" becomes zero width or of 8 chars.

I can in no way rest the cursor at col. 4 (on a row that has the tabs)

Note that the buffer in whitespace mode suggest the presence of tabs.

--8<---------------cut here---------------start------------->8---
(require 'diminish)
(add-hook 'emacs-lisp-mode-hook
	  (lambda nil
	    (setq mode-name "")
	    (mapc (lambda (m) (ignore-errors (diminish m)))
		  '(hi-lock-mode eldoc-post-insert-mode outline-minor-mode))))
--8<---------------cut here---------------end--------------->8---


[rectangle-mark-mode-cannot-open-rectangle-of-width-4-chars.png (image/png, attachment)]
[Message part 3 (text/plain, inline)]


In GNU Emacs 24.3.50.16 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-12-14 on debian-6.05
Bzr revision: 115513 eggert <at> cs.ucla.edu-20131213222705-q98div39wrjmw0lv
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux 6.0.5 (squeeze)


Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16149; Package emacs. (Sat, 14 Dec 2013 20:30:03 GMT) Full text and rfc822 format available.

Message #8 received at 16149 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 16149 <at> debbugs.gnu.org
Subject: Re: bug#16149: 24.3.50;
 rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
Date: Sat, 14 Dec 2013 15:29:08 -0500
I assumed that when you went around like a petulant child and closed all
your bugs, that was you done. Not sure why now you are back and opening
more bugs, nor why anyone should invest time on them.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 14 Dec 2013 20:39:02 GMT) Full text and rfc822 format available.

Notification sent to Jambunathan K <kjambunathan <at> gmail.com>:
bug acknowledged by developer. (Sat, 14 Dec 2013 20:39:03 GMT) Full text and rfc822 format available.

Message #13 received at 16149-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 16149-done <at> debbugs.gnu.org
Subject: Re: bug#16149: 24.3.50;
 rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
Date: Sat, 14 Dec 2013 15:38:04 -0500
Jambunathan K. wrote (on Sun, 15 Dec 2013 at 02:02 +0530):

> You don't invest time, simple.  Better done than said.

Glad we agree. Closing.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16149; Package emacs. (Sun, 15 Dec 2013 02:01:01 GMT) Full text and rfc822 format available.

Message #16 received at 16149 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 16149 <at> debbugs.gnu.org
Subject: Re: bug#16149: 24.3.50;
 rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
Date: Sat, 14 Dec 2013 21:00:17 -0500
> In the attached screenshot, I am trying to C-x r o a rect. of width 4.
> The intention is to indent the whole snippet to column 4.
> Now, if you move the cursor vertically down (and subsequently in the
> horizontal direction), you will note that the highlighted region
> "forcibly" becomes zero width or of 8 chars.

Not sure what this has to do with rectangle-mark-mode.  The same holds
in all Emacs versions so far.

> I can in no way rest the cursor at col. 4 (on a row that has the tabs)

Sure you can: C-a C-x C-x C-4 C-f.

But, yes, this is a limitation that is difficult to fix in the old
rectangle UI whereas the rectangle-mark-mode offers the possibility to
fix it more easily, at least from the UI point of view.
The implementation is still missing (tho cua-rect.el provides the
feature already).


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16149; Package emacs. (Sun, 15 Dec 2013 07:10:01 GMT) Full text and rfc822 format available.

Message #19 received at 16149 <at> debbugs.gnu.org (full text, mbox):

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 16149 <at> debbugs.gnu.org
Subject: Re: bug#16149: 24.3.50;
 rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
Date: Sun, 15 Dec 2013 09:40:34 +0530
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

> But, yes, this is a limitation that is difficult to fix in the old
> rectangle UI whereas the rectangle-mark-mode offers the possibility to
> fix it more easily, at least from the UI point of view.
> The implementation is still missing (tho cua-rect.el provides the
> feature already).

This will be useful, if available.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 12 Jan 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.