Ticket #904 (closed bug: fixed)
":e test.hs" overwrites "test.hs" with emacs tags
| Reported by: | guest | Owned by: | simonmar |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6 |
| Component: | GHCi | Version: | 6.5 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
This is not really a bug but it can be confusing (and lead to loss of work) for programmers that use both Hugs and GHCi. In Hugs, :e filename opens filename in an editor. In GHCi 6.5 :e filename (short for :etags filename) creates an Emacs tags file, overwriting filename.
Some solutions:
- Use a different command to create emacs tags
- Make the command fail if the file already exists
-Iavor
Change History
Note: See
TracTickets for help on using
tickets.
