Skip to content

Truncate multi-line messages less aggressively #990

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

Merged
merged 1 commit into from
Nov 13, 2015

Conversation

bergey
Copy link
Contributor

@bergey bergey commented Nov 13, 2015

When preparing multiline messages for the minibuffer, unwrap onto one line
and only truncate as much as necessary. Previously, we showed the first
line and only a small part of the second.

closes #988

This does the right thing even with proportional fonts. It should DTRT with wide chars and combining chars, but I haven't verified that.

I looked at all the calls to haskell-mode-message-line, and I think it's reasonable to have them all use this new truncation behavior, but I'd appreciate someone double-checking that.

When preparing multiline messages for the minibuffer, unwrap onto one line
and only truncate as much as necessary.  Previously, we showed the first
line and only a small part of the second.

closes haskell#988
@gracjan gracjan changed the title truncate multi-line messages less aggressively Truncate multi-line messages less aggressively Nov 13, 2015
gracjan added a commit that referenced this pull request Nov 13, 2015
Truncate multi-line messages less aggressively
@gracjan gracjan merged commit a8e924b into haskell:master Nov 13, 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

Successfully merging this pull request may close these issues.

haskell-process-do-type truncates types too aggressively
2 participants