[GHC] #904: ":e test.hs" overwrites "test.hs" with emacs tags
GHC
trac at galois.com
Wed Sep 20 14:11:22 EDT 2006
#904: ":e test.hs" overwrites "test.hs" with emacs tags
------------------------+---------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.5
Severity: normal | Keywords:
Os: Unknown | Difficulty: Unknown
Architecture: Unknown |
------------------------+---------------------------------------------------
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
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/904>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list