allow "\ " escapes in GHCi commands
It would be nice if, in file names, "\ " were handled as " ". This
would make the GHCi interface consistent with those of
Terminal and Hugs.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
- Show closed items
Link issues together to show that they're related or that one is blocking others.
Learn more.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- hamrichards changed weight to 5
changed weight to 5
- hamrichards added Tfeature request Trac import labels
added Tfeature request Trac import labels
- wolfgang changed title from GHCi (Mac OS X) file names to allow "\ " escapes in GHCi commands
changed title from GHCi (Mac OS X) file names to allow "\ " escapes in GHCi commands
Renamed the bug, to clarify what it is all about. GHCi currently does not recognize '\ ' escape sequences in the arguments for the :load command, while hugs does.
This is especially useful on Mac OS X, where
- there is a tradition of using spaces in file and directory names
- the system-supplied Terminal will insert a pathname with properly escaped spaces if you drag a file to a terminal window.
- Ben Gamari mentioned in commit 3d9f1290
mentioned in commit 3d9f1290
- rjmccall assigned to @trac-rjmccall and unassigned @trac-nobody
assigned to @trac-rjmccall and unassigned @trac-nobody
I've submitted a solution to this which is currently awaiting discussion.
Trac metadata
Trac field Value Operating system - → Unknown Architecture - → Unknown - Ian Lynagh <igloo@earth.li> closed
closed
- Ian Lynagh <igloo@earth.li> changed the description
changed the description
With GHC 6.6:
Prelude> :l q\ w.hs [1 of 1] Compiling Main ( q w.hs, interpreted )
Trac metadata
Trac field Value Resolution ResolvedNoReason → ResolvedFixed Component None → GHCi - Ian Lynagh <igloo@earth.li> added GHCi label
added GHCi label
- Developer
Trac metadata
Trac field Value Architecture Unknown → Unknown/Multiple - Developer
Trac metadata
Trac field Value Operating system Unknown → Unknown/Multiple - Andrey Mokhov mentioned in commit 5e32c914
mentioned in commit 5e32c914
- Andrey Mokhov mentioned in commit 1136a62c
mentioned in commit 1136a62c
- Andrey Mokhov mentioned in commit 63ba2504
mentioned in commit 63ba2504
- Ben Gamari added Pnormal label
added Pnormal label
Please register or sign in to reply