all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: annoying shell problem in GNU Emacs 22
Date: Thu, 22 May 2008 22:00:23 -0600	[thread overview]
Message-ID: <g15fgb$c7q$1@ger.gmane.org> (raw)
In-Reply-To: <87c2fa6a-2e59-43a9-bef1-68a0bfd6567b@x19g2000prg.googlegroups.com>

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	other threads:[~2008-05-23  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-19 12:05 annoying shell problem in GNU Emacs 22 rocksong23
2008-05-19 21:17 ` Glenn Morris
2008-05-21 17:36 ` Ivan Kanis
2008-05-22  2:13   ` Kevin Rodgers
     [not found]   ` <mailman.11991.1211422445.18990.help-gnu-emacs@gnu.org>
2008-05-22 13:16     ` rocksong23
2008-05-22 23:54       ` rocksong23
2008-05-23  4:00         ` Kevin Rodgers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g15fgb$c7q$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.