[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
windmove bug
From: |
joakim |
Subject: |
windmove bug |
Date: |
Wed, 2 Mar 2005 12:16:12 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
Symptoms:
"windmove" is a package included with emacs to conveniently jump between text
windows in an emacs frame.
the algorithm to find which window to jump to, doesnt always "do the right
thing", imho.
For instance, make a window layout like this:
+-----+-----+
| A | B |
+-----+-----+
| C | D |
+-----+-----+
eval
(windmove-default-keybindings)
to get the bindings
place cursor in uppermost left position of window D
do "shift up"
the cursor will jump to window A
I believe it should jump to window B
It matters where you split the windows, and it matters if the cursor
is close to a border when jumping or not.
Incidentally I think "windmove" is very useful in the emacs paradigm,
since it further reduces the need for a mouse, and that it should be
easier to find out about it.
I think also its a problem that windmove doesnt have the best set of
default keyboard bindings to use when on a terminal.
In my case it was very difficult to set up so that emacs would receive
shift-arrow keys.
In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.4.14)
of 2005-03-01 on naru.home
configured using `configure '--with-gtk' '--with-x' '--with-xpm' '--with-jpeg'
'--with-tiff' '--with-gif' '--with-png' 'CFLAGS=-g''
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: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
encoded-kbd-mode: t
menu-bar-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
Recent input:
B ESC O 2 C ESC O 2 A ESC O 2 B ESC O 2 A ESC O 2 B
ESC O 2 A C-x ^ C-x ^ C-x ^ ESC O 2 B ESC O 2 A ESC
O 2 A ESC O 2 B ESC O 2 B ESC O 2 C ESC O 2 A ESC O
2 A ESC O 2 B ESC O 2 B ESC O 2 C ESC x e m a c SPC
b SPC DEL C-a C-k r e p o SPC r SPC SPC SPC b SPC DEL
RET
Recent messages:
For information about the GNU Project and its goals, type C-h C-p.
Making completion list...
Loading help-mode...done
.emacs has auto save data; consider M-x recover-this-file
Mark saved where search started
Loading windmove...done
windmove-down
windmove-do-window-select: Minibuffer is inactive
Making completion list...
Loading emacsbug...done
----------
[Prev in Thread] |
Current Thread |
[Next in Thread] |