[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in `open-rectangle'?
From: |
Mathias Dahl |
Subject: |
Bug in `open-rectangle'? |
Date: |
Tue, 19 Jul 2005 13:34:27 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
It seems to me that `open-rectangle' has a bug, or is not documented
correctly. Try the following:
Enter the following text:
This is a block of text. This is a block of text. This is a block
of text. This is a block of text. This is a block of text. This
is a block of text. This is a block of text.
Place cursor at the beginning of the first line of text and set the
mark (C-SPC).
Go down two lines (C-n C-n) and move forward one character (C-f).
Execute `open-rectangle' (C-x r o) to "move" the block of text one
column to the right.
The text is "moved" as it should but cursor is also moved to where you
set the mark.
Now, it seems strange to me that it should move point, but there might
be some good reason for that so I will leave that for the moment.
What I do not like is that I cannot get back to where I was, neither
using `exchange-point-and-mark' (C-x C-x), nor using C-u C-SPC
(`set-mark-command' with prefix argument).
Is this a bug?
/Mathias
In GNU Emacs 22.0.50.2 (i386-mingw-nt5.1.2600)
of 2005-04-17 on LAPTOP
Distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: SVE
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Help
Minor modes in effect:
tool-bar-mode: t
encoded-kbd-mode: t
mouse-wheel-mode: t
tooltip-mode: t
menu-bar-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
next-error-follow-minor-mode: Fol
view-mode: t
Recent input:
o C-h k C-x r o C-h c C-x b C-h c C-x C-b C-x C-b C-x
o C-h m <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> q <help-echo> C-h c C-x
r o C-h c C-x <up> <down> C-h k C-x r o <S-up> C-x
o M-x s e n d SPC b u <backspace> <backspace> <tab>
<backspace> <backspace> <backspace> <backspace> b u
<tab> <backspace> <backspace> r e p o <tab> r <tab>
<return>
Recent messages:
Loading help-fns...done
completing-read: The mark is not set now, so there is no region
- Bug in `open-rectangle'?,
Mathias Dahl <=