[GHC] #9690: in GHCi map `:editNNN` to $EDITOR +NNN

GHC ghc-devs at haskell.org
Tue Oct 14 07:50:00 UTC 2014


#9690: in GHCi map `:editNNN` to $EDITOR +NNN
-------------------------------------+-------------------------------------
              Reporter:  heisenbug   |            Owner:
                  Type:  feature     |           Status:  new
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.8.3
             Component:  GHCi        |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by hvr):

 I'd rather suggest the following more generic syntax

 {{{
 :edit [+NNN] [<file>]
 }}}

 where `NNN` wouldn't need to be necessarily a natural number, and would be
 passed as-is to the editor command

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9690#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list