[GHC] #8772: ghci should safe history more often

#8772: ghci should safe history more often ----------------------------------------------+---------------------------- Reporter: nomeata | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.6.3 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Moderate (less than a day) | Type of failure: Blocked By: | None/Unknown Related Tickets: | Test Case: | Blocking: ----------------------------------------------+---------------------------- It is very annoying if `ghci` crashes (due to using a foreign library wrongly, for example), and then the history is lost. It should be simple to save each line to history before it is being executed. Maybe a good task for new contributors? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8772 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8772: ghci should save history more often ----------------------------+---------------------------------------------- Reporter: nomeata | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.6.3 Component: GHCi | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Moderate (less than a day) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | ----------------------------+---------------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8772#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8772: ghci should save history more often -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: libraries | Version: 7.6.3 (other) | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Unknown/Multiple | Difficulty: Moderate (less Type of failure: None/Unknown | than a day) Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Changes (by nomeata): * component: GHCi => libraries (other) Comment: Looking at the code, it seems that this needs to be implemented in haskeline -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8772#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8772: ghci should save history more often -------------------------------------+------------------------------------- Reporter: nomeata | Owner: ekmett Type: feature | Status: upstream request | Milestone: Priority: normal | Version: 7.6.3 Component: Core | Keywords: Libraries | Architecture: Unknown/Multiple Resolution: | Difficulty: Moderate (less Operating System: | than a day) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thomie): * cc: core-libraries-committee@… (added) * status: new => upstream -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8772#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8772: ghci should save history more often -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: feature request | Status: upstream Priority: normal | Milestone: Component: GHCi | Version: 7.6.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * keywords: => newcomer * component: Core Libraries => GHCi Comment: For a newcomer: first do https://github.com/judah/haskeline/issues/5, then come back here to modify GHCi. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8772#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8772: ghci should save history more often -------------------------------------+------------------------------------- Reporter: nomeata | Owner: (none) Type: feature request | Status: upstream Priority: normal | Milestone: Component: GHCi | Version: 7.6.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by sjakobi): * cc: sjakobi (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8772#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC