Pedro Rolo
Pedro Rolo

Reputation: 29960

What's the best way to run guard in emacs

Currently, in order to run guard (a deamon which runs my application's tests automatically), I open shell mode and run the command there, also renaming the buffer to guard.

Though, I'd like that the pathes printed along the test would be clickable in the buffer, and I'd like the buffer to auto-scroll, even if not visible.

What can I do in order to get this behaviour?

Upvotes: 1

Views: 477

Answers (1)

Ehvince
Ehvince

Reputation: 18375

looking for documentation with C-h d RET comint scroll RET, we see that the variable comint-output-filter-functions is a variable containing a list of functions to run after the output is inserted. One of them is comint-postoutput-scroll-to-bottom. Mine is set accordingly and I have the expected behaviour (in shell-mode, not in compilation mode though).

Upvotes: 1

Related Questions