unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4075: 23.0.91; dired file name parsing incorrect when using TRAMP
@ 2009-08-07 16:37 Gregory Grubbs
  2009-08-09 14:33 ` Michael Albinus
  0 siblings, 1 reply; 2+ messages in thread
From: Gregory Grubbs @ 2009-08-07 16:37 UTC (permalink / raw)
  To: emacs-pretest-bug

Dired parses the file name incorrectly when using TRAMP if the name
begins with a date and is followed immediately by a space.

To reproduce:
1) Visit a file with the name pattern:
   C-x C-f /user@host:/tmp/2009-08-07 hello.txt RET

2) Enter text and save the file to create it
   hello
   C-x C-s

3) Invoke dired on the directory
   C-x C-d RET

4) Use 'n' and 'p' to navigate.  When landing on the file name created
above, note that point is positioned at 'hello.txt', not at the
beginning of the file name.

Value of directory-listing-before-filename-regexp was
".*[0-9][BkKMGTPEZY]? \\(\\(\\([A-Za-z']\\|[^





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#4075: 23.0.91; dired file name parsing incorrect when using TRAMP
  2009-08-07 16:37 bug#4075: 23.0.91; dired file name parsing incorrect when using TRAMP Gregory Grubbs
@ 2009-08-09 14:33 ` Michael Albinus
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2009-08-09 14:33 UTC (permalink / raw)
  To: Gregory Grubbs; +Cc: 4075

Gregory Grubbs <gregory@dynapse.com> writes:

> Dired parses the file name incorrectly when using TRAMP if the name
> begins with a date and is followed immediately by a space.

I've added support for the "--dired" switch of the ls command, if the
remote system is capable of. At least in this case, it shall be fixed.

For other remote systems the problem still exists, but I don't know what
I can do.

Patches committed to the trunk.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-09 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-07 16:37 bug#4075: 23.0.91; dired file name parsing incorrect when using TRAMP Gregory Grubbs
2009-08-09 14:33 ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).