Skip to content

Typed characters do not appear at the cursor. #658

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

Closed
mhwombat opened this issue May 20, 2015 · 9 comments
Closed

Typed characters do not appear at the cursor. #658

mhwombat opened this issue May 20, 2015 · 9 comments

Comments

@mhwombat
Copy link

I'm using the github version of haskell-mode, as of 10 minutes ago, and I'm seeing weird behaviour where the cursor does not show where characters that I type will appear.

snapshot

@gracjan
Copy link
Contributor

gracjan commented May 20, 2015

What version of Emacs are you using?

The composition mechanism that is used for unicode prettyfication is quite buggy.
Can you disable haskell-font-lock-symbols and restart whole Emacs?

@mhwombat
Copy link
Author

I'm using: "GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
of 2014-03-07 on lamiak, modified by Debian"

I disabled haskell-font-lock-symbols, but the problem persists.

I suspect the problem is related to those underscores that magically appear on the line containing the cursor. The underscores seem to be a new feature; the version of haskell-mode in melpa doesn't have them. I suspect their purpose is to show the various indentation levels, but I find them kind of distracting. Is there a way to turn them off?

@gracjan
Copy link
Contributor

gracjan commented May 20, 2015

M-x customize-option RET haskell-indentation-dyn-show-indentations.

@mhwombat
Copy link
Author

OK, I turned off the indentation markers (underscores), and the problem went away. Thank you.

@geraldus
Copy link
Contributor

@gracjan I think we need a patch for this (:

@gracjan
Copy link
Contributor

gracjan commented May 20, 2015

I think we need a lot of patches for haskell-indentation.

Artur, can you meanwhile do a patch that turns this showing off by default?
It is basically debug information for haskell-indentation developers and it
is getting in the way too much (note that it also interferes with full line
marking modes, for example bm.el).

@geraldus
Copy link
Contributor

Yep, but I will be able to do it tommorow.

Despite of this is also interferes with fill-column-indicator I like this indicators and it's sad that it is not working properly. I also dream about vertical lines indicating indentation (like in FPco web IDE).

@geraldus
Copy link
Contributor

@gracjan btw, If I disable haskell-indentaion-show-indentations-after-eol it works fine with fill-column-indicator, but I think many people will find these overlays distractive. If we disable them by default I think we need to mention about it doc string (and possibly in wiki). I'm a bit short in time currently.

@geraldus
Copy link
Contributor

I think this can be closed now.

@gracjan gracjan closed this as completed May 22, 2015
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