Hi,
I notice some strange behaviour of dired if I edit a file from a
dired-buffer (press return) and go back to the dired buffer. Then point
is not on the same file anymore but at the end of the previous line.
This happens at least in xemacs 21.5.31 and 21.5.34 but not in 21.4.20.
Tested on Redhat/Centos 6.5 and openSUSE 11.4.
Suppose the following directory:
--8<---------------cut here---------------start------------->8---
heinrich@elektra ~/tmp/testemacs $ ls -al
total 8
drwxr-xr-x 2 heinrich s+c 4096 Jun 12 13:09 ./
drwxr-x--- 12 heinrich s+c 4096 Jun 12 11:02 ../
-rw-r--r-- 1 heinrich s+c 0 Jun 12 13:09 a
-rw-r--r-- 1 heinrich s+c 0 Jun 12 13:09 b
--8<---------------cut here---------------end--------------->8---
I open this directory in a dired-buffer with "xemacs -q
~/tmp/testemacs", go to file "a" and press return, make some changes,
save file a and switch back to buffer "testemacs". Then the cursors
position is at the end of ".." in dired-buffer "testemacs":
--8<---------------cut here---------------start------------->8---
/home/heinrich/tmp/testemacs:
total 8
drwxr-xr-x 2 heinrich s+c 4096 Jun 12 13:09 .
drwxr-x--- 12 heinrich s+c 4096 Jun 12 11:02 ..<--- cursor-pos
-rw-r--r-- 1 heinrich s+c 1 Jun 12 13:15 a
-rw-r--r-- 1 heinrich s+c 0 Jun 12 13:09 a~
-rw-r--r-- 1 heinrich s+c 0 Jun 12 13:09 b
--8<---------------cut here---------------end--------------->8---
I do expect that the cursors position would not have changed, i.e. would
be on file "a".
The behaviour seems to be independent of the locale. I tested with "C",
en_US.utf8 and de_DE.utf8.
Any hints?
Best regards,
Michael.
--
Vorstandsvorsitzender/Chairman of the board of management:
Gerd-Lothar Leonhart
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Michael Heinrichs, Dr. Arno Steitz
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta