alow macros to redefine builtin GHCi commands
I would like to be able to redefine the builtin GHCi commands. The idea is that when searching for a command the user defined macros would be searched first and only then the built-in commands would be searched. If user wants to invoke a built-in command regardless of user defined commands he/she would need to start it with two colons (instead of one).
It is an user interface change which may break some scripts, but it would allow to provide different default behavior.[[BR]] For example:
- when I use my GHCi extensions I want all my ":continue" commands to be actually something like ":x :continue"
- it would allow to specify different order of searching for abbreviated commands as the default one
- it would allow to specify different default switches for builtin commands (when they have any)
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |