[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3438: marked as done (emacs 23.0.9{,3,4} dired mode bug(?))

From: Emacs bug Tracking System
Subject: bug#3438: marked as done (emacs 23.0.9{,3,4} dired mode bug(?))
Date: Thu, 18 Jun 2009 19:35:11 +0000

Your message dated Thu, 18 Jun 2009 15:29:42 -0400
with message-id <address@hidden>
and subject line Re: It was a configuration problem (re: (emacs 23.0.9{,3,4} 
dired mode bug(?)))
has caused the Emacs bug report #3438,
regarding emacs 23.0.9{,3,4} dired mode bug(?)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden

3438: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3438
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: emacs 23.0.9{,3,4} dired mode bug(?) Date: Mon, 01 Jun 2009 16:36:52 +0900 User-agent: Mozilla/5.0 (X11; U; Linux i686; ja; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2

Thank you for making the great package available for pre-release testing.

While I began experimenting with this alpha/beta version,
I noticed a couple of lisp .elc files were not
correctly read, but I fixed them by

After a day's use, I found a deeper problem with "dired" mode.

So I am reporting it here.

It is both in 23.0.93 which I initially tried, and
23.0.94 (confirmed today).


A dired mode bug?
emacs-version : ""
emacs-version : ""  Both versions suffer from the same problem.


In dired mode, when the cursor is near the beginning of a very long filename
(as in near the
"AaAaAa..." below ,
I can't move down to the next file by "n" or "cursor down" key anymore(!).

(Note that the folding of the long file name on the screen is such
that the said filename line is folded onto the next line. See
below. The space above the next filename "addition" is empty when
viewd with an X terminal of 100 characters wide.  Even if the width is
smaller (say, 80 chars) and "...ccccc" near the end comes above the
next file name "addition", the symptom is the same.).

Excerpt from a dired mode buffer: I am now on the line with "AaAaAa..." file.
Then I can't move the cursor down.

(darn. My current mailer refuses to send out the
lines unmodified...) Please not that the
AaAaAa... line below ought to follow 15:48 on the preceding line,
bbb... line ought to follow 15:49 on the preceding line, etc.
I hope you get the idea, though.)

  drwxr-xr-x  2 ishikawa   ishikawa  4096 2009-06-01 16:05 .
  drwxrwxrwx 62 cidellnote ishikawa 20480 2009-06-01 16:05 ..
  -rw-r--r--  1 ishikawa   ishikawa     5 2009-06-01 15:48
  -rw-r--r--  1 ishikawa   ishikawa     9 2009-06-01 16:04 addition
  -rw-r--r--  1 ishikawa   ishikawa     4 2009-06-01 15:49
  -rw-r--r--  1 ishikawa   ishikawa     4 2009-06-01 15:49


I should be able to move down to the next filename line by
the cursor/mark by "n", "cursor down", or C-n.


I found that to my surprise that if my cursor is at the end of "AaAaAa"
that is the 6th character position, "n" or "cursor down" key moves the
cursor (mark) to the first "A" of the filename!

As I noted once I get there, cursor can't be moved down by "n" or "cursor
down" key (or control-n for that matter) any more.

I can move to the next line with "addition" filename, by going to the
end of the long filename by "C-e" and then further does the "c-f" to
the beginning of the next line (-rw-r--r--), but this is not what
dired designer had in mind, I think.

Going upward from the file name "addtion" in the above example
works fine as expected.


Now, I suspect that this is due to the following change quoted from

>* Editing Changes in Emacs 23.1
>** The C-n and C-p line-motion commands now move by screen lines,
>taking continued lines and variable-width characters into account.
>Setting `line-move-visual' to nil reverts this to the previous
>behavior (motion by logical lines based on buffer contents alone).

But if so, I think dired-mode should make a buffer-local version of
this variable (local to dired buffer) and set it to nil, IMHO.

This is because the way the cursor is supposed to move in dired
mode. The default cursor movement behavior of dired mode in 23.0.94
is broken, IMHO.

For the testing, I simply set this variable using
M-M-: (setq line-move-visual nil) [RETURN]

As I half expected, I found that the change of the variable restores
the expected behavior.  But this again changes the behavior everywhere
which I think the developers of 23.x version didn't intend. (Or
otherwise, the default C-N behavior would not be that of the 23.0.94).
Oh well.

[end of memo]

--- End Message ---
--- Begin Message --- Subject: Re: It was a configuration problem (re: (emacs 23.0.9{,3,4} dired mode bug(?))) Date: Thu, 18 Jun 2009 15:29:42 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
ishikawa wrote:

> After a false startup, I finally narrow down the problem to
> my hastily configured testing environment.
> In my .emacs file, I explicitly set the load-path to those of GNU
> emacs 22.2 lisp directory.

Thanks for letting us know. Closing this bug.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]