Ticket #3008 (new defect)
Error when opening or inserting file (with autocompletion)
Reported by: | szaszg | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
- echo "Test file" >"/tmp/test file.txt"
- mc -e "/tmp/test file.txt"
now we see the file in editor widget
- F9, F, O -> File dialog
- type: /tmp/test
- press M-TAB twice
autocompletion fill the input field with /tmp/test\ file.txt
- press ENTER
there is no error message but, mcedit cannot open and read the file...
The problem is the shell escaped filename (test\ file.txt). If we rewrite it to "test file.txt" mcedit can open and read the file.
Note: See
TracTickets for help on using
tickets.
See also #3135.