help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: annoying shell problem in GNU Emacs 22


From: Kevin Rodgers
Subject: Re: annoying shell problem in GNU Emacs 22
Date: Thu, 22 May 2008 22:00:23 -0600
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

rocksong23@fastmail.fm wrote:
Not sure what happened with my last reply, but Kevin's fix worked
best, i.e.:

(remove-hook 'comint-output-filter-functions
'comint-postoutput-scroll-to-bottom)

(Glenn's fix [Set the (buffer-local) variable comint-scroll-show-
maximum-output to nil] worked but had to be applied to every shell
buffer).

That's what shell-mode-hook is for.

Applying that selectivity to Ivan's solution (which I modified):

(add-hook 'shell-mode-hook
          (lambda ()
            (remove-hook 'comint-output-filter-functions
                         'comint-postoutput-scroll-to-bottom
                         t)))           ; LOCAL

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]