Page 1 of 1
Bad FileName insertion (on Ctrl+Enter)
Posted: 15 Feb 2006, 17:55
by crystalidea
When I insert the seleted filename (and it contains spaces) pressing CtrlEnter, SS don't quote it. Really bad!
Moderator: this is not a bug, moved to the Feature Requests. Poll opened.
Posted: 15 Feb 2006, 18:30
by Jan Rysavy
I don't like this idea. If I need to bring the path from inactive panel + file name from the active panel, I will get
"C:\long dir name\""file name.txt"
instead of current
C:\long dir name\file name.txt
So I would rather insert the quotes myself.
Posted: 16 Feb 2006, 14:29
by crystalidea
Not only you use SS, isn't it?

Posted: 16 Feb 2006, 16:27
by jis
XPiS wrote:Not only you use SS, isn't it?

But, did you see the results of voting?
Posted: 22 Apr 2008, 08:45
by Jan Patera
Jan Rysavy wrote:I don't like this idea. If I need to bring the path from inactive panel + file name from the active panel, I will get
"C:\long dir name""file name.txt"
instead of current
C:\long dir name\file name.txt
So I would rather insert the quotes myself.
IMHO the overhead of removing extra quotes in your example is gonna happen much rarely than the overhead of adding quites where needed - in most cases it is enough to provide just path-less filename.
Posted: 22 Apr 2008, 18:59
by Ether
Jan Patera wrote:IMHO the overhead of removing extra quotes in your example is gonna happen much rarely than the overhead of adding quites where needed
I agree.
@ALTAP] How about an option in configuration? (I do know how much you like new configuration options.)
@everybody] What other disadvantages of automatic quoting you know of? I mean, why don't you want auto-quoting?
Posted: 22 Apr 2008, 23:17
by SvA
Have you ever noticed how Microsoft does filename expansion on the command prompt (using TAB or whatever shortcut key you configured)? Quote marks are added and removed as needed, E.g. "C:\Program Files"\+TAB gives "C:\Program Files\Altap" (note the backslash after the termination quote signe before expansion).
Granted, it uses only existing file and folder names, but even without that help it should be fairly easy to build a valid file system object name from the fragments given without surprising or annoying the user.
And I'd like to mention here, as is requested in other places already, than this type of command completion as well as the type used by the run dialog or explorer's address bar was a great enhancement for Salamanders command line as well as various other dialogs.
Posted: 23 Apr 2008, 06:48
by Jan Rysavy
SvA wrote:Have you ever noticed how Microsoft does filename expansion on the command prompt (using TAB or whatever shortcut key you configured)? Quote marks are added and removed as needed, E.g. "C:\Program Files"\+TAB gives "C:\Program Files\Altap" (note the backslash after the termination quote signe before expansion).
It looks good! I didn't know that.