unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: [vrotney@earthlink.net: Eamcs 22.1 comint-scroll-show-maximum-output bug]
Date: Sat, 25 Aug 2007 00:07:16 -0400	[thread overview]
Message-ID: <E1IOmvc-0001mQ-6V@fencepost.gnu.org> (raw)

[I sent this message a week ago but did not get a response.]

Would someone please DTRT and ack?

------- Start of forwarded message -------
X-Spam-Status: No, score=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,
	UNPARSEABLE_RELAY autolearn=no version=3.1.0
Date: Thu, 16 Aug 2007 20:28:11 -0700
From: William Paul Vrotney <vrotney@earthlink.net>
To: bug-gnu-emacs@gnu.org
FCC: ~/rmail/sent
Subject: Eamcs 22.1 comint-scroll-show-maximum-output bug


BUG DESCRIPTION:

First noticed in Emacs 22.1.  The comint variable

    comint-scroll-show-maximum-output 

does not work as documented when set to nil.  For example when setting this
variable to nil when using M-x shell the Emacs 22.1 manual says

        41.7 Shell Mode Options

           If `comint-scroll-show-maximum-output' is non-`nil', then arrival
        of output when point is at the end tries to scroll the last line of
        text to the bottom line of the window, showing as much useful text
        as possible.  (This mimics the scrolling behavior of most
        terminals.)  The default is `t'.


BUG REPLICATION:

    Emacs source: from http://ftp.gnu.org emacs-22.1.tar.gz
    Build: Simply: configure; make; make install;
    Emacs M-x version: Its value is "22.1.1"
    Operating System: Fedora core 3
    Emacs Invocation: emacs -q

    Then if you then do the following

        M-x set-variable comint-scroll-show-maximum-output nil
        M-x shell

    then once the shell buffer becomes full every output still scrolls the
    last line of text to the bottom as it does when
    comint-scroll-show-maximum-output is set to t.

    I've tried setting this variable in all possible ways: before/after
    running M-x shell and using 'setq' in ~/.emacs, 'M-x set-variable' and
    'M-x customize.  But with all the same results as explained above.


OTHER INFORMATION:  The M-x shell defaults to running the bash shell.

ADDITIONAL RELATED BUG:

    When I run the command M-x shell with comint-scroll-show-maximum-output
    set to nil the shell buffer window does not show the first line of bash
    shell output.  In my case it the first line of my two line prompt.  If I
    type M-x recenter then the first line of bash shell output comes into
    view in the buffer window.

PATCH: 

    If I use Emacs 22.1 but load in my ~/.emacs the comint.elc from Emacs
    21.3 then all works fine as it did for Emacs 23.1 and earlier.



_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

             reply	other threads:[~2007-08-25  4:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-25  4:07 Richard Stallman [this message]
  -- strict thread matches above, loose matches on Subject: below --
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
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

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=E1IOmvc-0001mQ-6V@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@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).