GNU nano - Bugs: bug #44950, trying to open a file in a...
You are not allowed to post comments on this tracker with your current authentication level.
bug #44950: trying to open a file in a non-existent directory should produce a clear warning
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Tue 28 Apr 2015 07:37:48 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Wed 20 Jan 2016 04:18:15 PM UTC, comment #3: |
Benno Schulenberg <bens> |
Thu 14 Jan 2016 05:09:41 PM UTC, comment #2: [1] https://lists.gnu.org/archive/html/nano-devel/2015-12/msg00017.html
|
Benno Schulenberg <bens> |
Thu 14 Jan 2016 05:07:43 PM UTC, comment #1: Rishabh Dave has been working on this bug for a while [1], and as a result my opinion on what nano should do has changed. Other editors will also happily start with a file in a directory that doesn't exist. Only a few will produce a warning or a hint about this. But all of them will keep the name and path that the user provided. So nano should do this too.
|
Benno Schulenberg <bens> |
Tue 28 Apr 2015 07:37:48 PM UTC, original submission:
Running 'nano thisisatypo/somefile' will report on the statusbar: "Error writing lock file: Directory 'thisisatypo' doesn't exist", but then still happily displays "thisisatypo/somefile" in the titlebar. When not paying any attention to that message (out of habit) and typing things into the buffer and then trying to save... the file cannot be written, and the message is puzzling: "Error writing thisisatypo/somefile: No such file or directory".
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-02-13 | bens | Open/Closed | Open | Closed | |
2016-01-20 | bens | Status | In Progress | Fixed | |
2016-01-14 | bens | Status | None | In Progress | |
Assigned to | None | bens | |||
Summary | trying to open a file in a non-existent directory should not go ahead | trying to open a file in a non-existent directory should produce a clear warning |
Powered by Savane 3.13-4448.
Corresponding source code
Fixed in SVN, r5572 and 5574.