unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: [vrotney@earthlink.net: Eamcs 22.1 comint-scroll-show-maximum-output bug]
Date: Fri, 24 Aug 2007 19:04:45 -0400	[thread overview]
Message-ID: <xfk5rkmt4i.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <E1IM8Gq-0005az-D6@fencepost.gnu.org> (Richard Stallman's message of "Fri, 17 Aug 2007 16:18:12 -0400")

Richard Stallman wrote:

>     comint-scroll-show-maximum-output 
>
> does not work as documented when set to nil.

This is caused by your 2002-12-28 change to comint-mode that sets
scroll-conseratively to 10000. This was reported and diagnosed two
years ago, and you said:

    From:      Richard M. Stallman
    Subject:   Re: scrolling in comint mode always conservative
    Date:      Mon, 19 Sep 2005 20:03:02 -0400

    I put that in because it did not work otherwise. So I can't take
    it out. I could imagine conditionalizing that setq on some of
    those other variables, such as comint-scroll-to-bottom... That
    would not be 100% correct, since changing those variables would
    not have the right effect on an existing shell buffer. But it
    might be better than nothing.

I tried let-binding scroll-conservatively in
comint-postoutput-scroll-to-bottom, but it does not help. In other
words, things like this don't work, for reasons I don't understand:

  (setq scroll-conservatively 0)
  (let ((scroll-conservatively 10000))  ; no effect
    (goto-char (point-max)))            ; still acts like s-c = 0

  reply	other threads:[~2007-08-24 23:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17 20:18 [vrotney@earthlink.net: Eamcs 22.1 comint-scroll-show-maximum-output bug] Richard Stallman
2007-08-24 23:04 ` Glenn Morris [this message]
2007-08-25  1:35   ` Stefan Monnier
2007-08-25 19:13     ` Glenn Morris
2007-08-26 14:15   ` Chong Yidong
2007-08-27  1:18     ` Glenn Morris
2007-08-27  3:07   ` Richard Stallman
2007-08-27  7:24     ` Glenn Morris
     [not found]       ` <E1IPj9q-0003bB-S3@fencepost.gnu.org>
2007-08-27 18:34         ` Glenn Morris
     [not found]           ` <E1IQ3Ie-0008OM-HI@fencepost.gnu.org>
     [not found]             ` <modgrcyc6.fsf@fencepost.gnu.org>
2007-08-30  7:15               ` Richard Stallman
2007-08-31  3:54                 ` Glenn Morris
2007-08-31 18:21                   ` Richard Stallman
2007-08-31 18:42                     ` Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2007-08-25  4:07 Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=xfk5rkmt4i.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 public inbox

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

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).