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

tll with compilation mode stalls? #3

Open
pendix opened this issue Nov 26, 2018 · 3 comments
Open

tll with compilation mode stalls? #3

pendix opened this issue Nov 26, 2018 · 3 comments

Comments

@pendix
Copy link

pendix commented Nov 26, 2018

When I run a compilation command (grep -n) which produces too long lines, the buffer goes to first TLL, shows it ok and stalls. On each C-g, the output continues until next TLL and stalls, until eof.

@rakete
Copy link
Owner

rakete commented Nov 30, 2018

How is your tll set up? Did you add compilation-mode to too-long-lines-special-buffer-modes? What emacs version are you using?

tll will call too-long-lines-hide after every change, which I assume will make your emacs unresponsive if lots of very long lines displayed in your compilation-buffer.

When I tried to reproduce your issue I could provoke a similar behaviour by just outputing a huge file with lots of long lines, but it still worked reasonably well if there are only a few long lines to hide.

@pendix
Copy link
Author

pendix commented Jan 21, 2019

I set it up with following .emacs block:

(require 'too-long-lines-mode)
(setq too-long-lines-threshold 10000)
(setq too-long-lines-show-number-of-characters 200)
(add-to-list 'too-long-lines-special-buffer-modes 'compilation-mode)
(too-long-lines-mode)

Emacs version is 24.3.1.

@rakete
Copy link
Owner

rakete commented Jan 29, 2019

Interesting that you are still on Emacs 24, maybe consider trying if your problem goes away when you update to Emacs 25?

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

2 participants