Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presentation mode configuration does not make any changes #574

Closed
geraldus opened this issue Apr 8, 2015 · 5 comments
Closed

Presentation mode configuration does not make any changes #574

geraldus opened this issue Apr 8, 2015 · 5 comments

Comments

@geraldus
Copy link
Contributor

geraldus commented Apr 8, 2015

If I set haskell-process-use-presentation-mode to t this make no difference if it is set to nil. E.g. no matter what value is used, when I run haskell-mode-show-type-at it shows me colourful type information in echo area, and also prints to *** Messages *** buffer.

I'm not sure what Presentation mode actually is, but I expected that Emacs will create some kind of popup instead of echoing type information when mentioned variable is set to t. Currently I have haskell-doc-mode enabled, which almost instantly replaces nice colourful type information from interactive haskell mode with plain colourless text; I hoped that presentation mode will help with this.

@gracjan
Copy link
Contributor

gracjan commented Apr 8, 2015

@chrisdone: Chris, can you comment on this issue?

@chrisdone
Copy link
Member

Presentation mode currently just applies to haskell-process-do-info (i.e. C-c C-i). I don't think doc-mode interacts well with C-c C-t presently.

@geraldus
Copy link
Contributor Author

geraldus commented Apr 8, 2015

Oh, well, now I see what presentation mode is. I've opened it because description of this var states:

Use presentation mode to show things like type info instead of printing to the message area.

Thanks for clarification, I will wait for updates.

@geraldus geraldus closed this as completed Apr 8, 2015
@geraldus
Copy link
Contributor Author

geraldus commented Apr 8, 2015

I can't promise anything for sure, I'll take a look of how haskell-process-do-info written and maybe try to make haskell-mode-show-type-at become aware of presentation mode too.

@chrisdone
Copy link
Member

If so make it optional; I originally had types using presentation mode, but in the end I found it too heavy-weight to just see the type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants