* newb q: inferior-mode buffer not scrolling
@ 2005-09-22 21:14 stevenan
2005-09-23 15:47 ` Kevin Rodgers
[not found] ` <mailman.8248.1127490828.20277.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: stevenan @ 2005-09-22 21:14 UTC (permalink / raw)
I'm using emacs to edit ruby, and I have the REPL process in its own
inferior-mode buffer (via inf-ruby.el). However, when I send it
commands, it doesn't scroll the window down. So I just always see the
first page of commands...and I have to scroll down to the bottom.. I
use SLIME also, and I never have to do that with its REPL buffer - it
scrolls on its own. How can I make it auto-scroll? Should I ask the
ruby ppl instead? Thanks!
I'm using GNU Emacs 21.3.1 with Win32.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newb q: inferior-mode buffer not scrolling
2005-09-22 21:14 newb q: inferior-mode buffer not scrolling stevenan
@ 2005-09-23 15:47 ` Kevin Rodgers
[not found] ` <mailman.8248.1127490828.20277.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2005-09-23 15:47 UTC (permalink / raw)
stevenan@gmail.com wrote:
> I'm using emacs to edit ruby, and I have the REPL process in its own
> inferior-mode buffer (via inf-ruby.el). However, when I send it
> commands, it doesn't scroll the window down. So I just always see the
> first page of commands...and I have to scroll down to the bottom.. I
> use SLIME also, and I never have to do that with its REPL buffer - it
> scrolls on its own. How can I make it auto-scroll? Should I ask the
> ruby ppl instead? Thanks!
In the inferior ruby buffer, check the values of the comint-scroll-*
variables. Assuming you want to set comint-scroll-to-bottom-on-input:
(add-hook 'inferior-ruby-mode-hook
(lambda () (setq comint-scroll-to-bottom-on-input 'this)))
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: newb q: inferior-mode buffer not scrolling
[not found] ` <mailman.8248.1127490828.20277.help-gnu-emacs@gnu.org>
@ 2005-09-24 5:02 ` stevenan
0 siblings, 0 replies; 3+ messages in thread
From: stevenan @ 2005-09-24 5:02 UTC (permalink / raw)
cool! actually, this ended up working for me:
(add-hook 'inferior-ruby-mode-hook
'(lambda () (setq comint-scroll-to-bottom-on-output t)))
thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-24 5:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-22 21:14 newb q: inferior-mode buffer not scrolling stevenan
2005-09-23 15:47 ` Kevin Rodgers
[not found] ` <mailman.8248.1127490828.20277.help-gnu-emacs@gnu.org>
2005-09-24 5:02 ` stevenan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).