* bug#16149: 24.3.50; rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
@ 2013-12-14 10:26 Jambunathan K
2013-12-14 20:29 ` Glenn Morris
2013-12-15 2:00 ` Stefan Monnier
0 siblings, 2 replies; 5+ messages in thread
From: Jambunathan K @ 2013-12-14 10:26 UTC (permalink / raw)
To: 16149
[-- Attachment #1: Type: text/plain, Size: 798 bytes --]
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---
[-- Attachment #2: rectangle-mark-mode-cannot-open-rectangle-of-width-4-chars.png --]
[-- Type: image/png, Size: 15675 bytes --]
[-- Attachment #3: Type: text/plain, Size: 299 bytes --]
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@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)
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#16149: 24.3.50; rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
2013-12-14 10:26 bug#16149: 24.3.50; rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4 Jambunathan K
@ 2013-12-14 20:29 ` Glenn Morris
[not found] ` <87mwk3w4ut.fsf@gmail.com>
2013-12-15 2:00 ` Stefan Monnier
1 sibling, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2013-12-14 20:29 UTC (permalink / raw)
To: 16149
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#16149: 24.3.50; rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
[not found] ` <87mwk3w4ut.fsf@gmail.com>
@ 2013-12-14 20:38 ` Glenn Morris
0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2013-12-14 20:38 UTC (permalink / raw)
To: 16149-done
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#16149: 24.3.50; rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
2013-12-14 10:26 bug#16149: 24.3.50; rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4 Jambunathan K
2013-12-14 20:29 ` Glenn Morris
@ 2013-12-15 2:00 ` Stefan Monnier
2013-12-15 4:10 ` Jambunathan K
1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2013-12-15 2:00 UTC (permalink / raw)
To: Jambunathan K; +Cc: 16149
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#16149: 24.3.50; rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4
2013-12-15 2:00 ` Stefan Monnier
@ 2013-12-15 4:10 ` Jambunathan K
0 siblings, 0 replies; 5+ messages in thread
From: Jambunathan K @ 2013-12-15 4:10 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 16149
Stefan Monnier <monnier@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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-12-15 4:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-14 10:26 bug#16149: 24.3.50; rectangle-mark-mode: Tabs + Inability to C-x r o a rect. of width 4 Jambunathan K
2013-12-14 20:29 ` Glenn Morris
[not found] ` <87mwk3w4ut.fsf@gmail.com>
2013-12-14 20:38 ` Glenn Morris
2013-12-15 2:00 ` Stefan Monnier
2013-12-15 4:10 ` Jambunathan K
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).