From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ishikawa Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3438: emacs 23.0.9{,3,4} dired mode bug(?) Date: Mon, 01 Jun 2009 16:36:52 +0900 Message-ID: <4A238514.1010503@ubin.jp> Reply-To: ishikawa , 3438@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243843065 25239 80.91.229.12 (1 Jun 2009 07:57:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2009 07:57:45 +0000 (UTC) Cc: ISHIKAWA Chiaki To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 01 09:57:41 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MB2Oo-00070V-LD for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2009 09:57:39 +0200 Original-Received: from localhost ([127.0.0.1]:51981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MB2On-0002v7-Pe for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2009 03:57:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MB2Oj-0002us-3a for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 03:57:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MB2Oe-0002uF-Np for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 03:57:32 -0400 Original-Received: from [199.232.76.173] (port=59204 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MB2Oe-0002uC-AR for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 03:57:28 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:44492) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MB2Od-0005u7-JJ for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 03:57:27 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MB2Oc-0000ZR-DW for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2009 03:57:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n517vHZ6015749; Mon, 1 Jun 2009 00:57:18 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n517j4Q0013470; Mon, 1 Jun 2009 00:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: ishikawa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 01 Jun 2009 07:45:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3438 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124384183512416 (code B ref -1); Mon, 01 Jun 2009 07:45:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 1 Jun 2009 07:37:15 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n517b97g012411 for ; Mon, 1 Jun 2009 00:37:10 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:39328 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MB24y-0002Rf-4H for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 03:37:08 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MB24v-0003BB-Lo for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 03:37:07 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:43172) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MB24v-0003Ao-6S for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 03:37:05 -0400 Original-Received: from post.ubin.jp ([202.32.0.84]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MB24s-0007gC-Fj for emacs-pretest-bug@gnu.org; Mon, 01 Jun 2009 03:37:03 -0400 Original-Received: from localhost (post [127.0.0.1]) by localhost.ubin.jp (Postfix) with SMTP id C70B929AE3C for ; Mon, 1 Jun 2009 16:36:57 +0900 (JST) Original-Received: from home.intra.ubin.jp (home.intra.ubin.jp [10.129.1.1]) by post.ubin.jp (Postfix) with ESMTP id A1E9C29AE3C; Mon, 1 Jun 2009 16:36:52 +0900 (JST) Original-Received: from [10.252.241.244] (dell-w2k-note.ddns.intra.ubin.jp [10.252.241.244]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by home.intra.ubin.jp (Postfix) with ESMTP id 96D3F426558; Mon, 1 Jun 2009 16:36:52 +0900 (JST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Resent-Date: Mon, 01 Jun 2009 03:57:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28404 gmane.emacs.pretest.bugs:24541 Archived-At: Hi, 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 byte-recompile-directory. 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). TIA. ======================================== A dired mode bug? ---------------------------------------- emacs-version : "23.0.93.1" emacs-version : "23.0.94.1" Both versions suffer from the same problem. UNEXPECTED SYMPTOM: 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 AaAaAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccccccccccccccccccc -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 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb -rw-r--r-- 1 ishikawa ishikawa 4 2009-06-01 15:49 cccccccccccccccccccccccccccccccccccccccccccccc .... EXPECTED BEHAVIOR: I should be able to move down to the next filename line by the cursor/mark by "n", "cursor down", or C-n. ADDITIONAL NOTE: 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. COMMENT/SUGGESTIONS: Now, I suspect that this is due to the following change quoted from etc/NEWS. >* 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]