Skip to content

Effective append to haskell process log buffer. #647

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
May 13, 2015
Merged

Effective append to haskell process log buffer. #647

merged 1 commit into from
May 13, 2015

Conversation

geraldus
Copy link
Contributor

Make buffer read only after append

This solution makes haskell process log buffer to autoscroll if point was at the end of buffer before appending, otherwise this will append message and preserve original point position. This also behaves correctly if several windows contain log buffer, for example having one window with point at the end and another window with point somewhere else, it will scroll first buffer, and preserve point position in second.

Thanks to YongFrog's answer http://emacs.stackexchange.com/a/12346/6844.

Make buffer read only after append
gracjan added a commit that referenced this pull request May 13, 2015
Effective append to haskell process log buffer.
@gracjan gracjan merged commit 8aef144 into haskell:master May 13, 2015
@geraldus geraldus deleted the log-effective-append branch May 13, 2015 06:46
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.

3 participants