all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Romain Francoise <romain@orebokech.com>
To: Jorgen Schaefer <forcer@forcix.cx>
Cc: emacs-devel@gnu.org
Subject: Re: (Not) scrolling past the end of a buffer
Date: Sat, 20 Oct 2012 18:31:52 +0200	[thread overview]
Message-ID: <87ehktksuf.fsf@silenus.orebokech.com> (raw)
In-Reply-To: <20121020003412.0331c798@forcix.kollektiv-hamburg.de> (Jorgen Schaefer's message of "Sat, 20 Oct 2012 00:34:12 +0200")

Jorgen Schaefer <forcer@forcix.cx> writes:

> Emacs' scrolling behavior allows for a window to move past the end of a
> buffer up to the point where the last line of a buffer is the only
> thing displayed. This can be useful for editing, but it is unexpected
> behavior for modes that interact with other programs.

> Based on the behavior of terminals, the expectation and preference
> there is that the input line would remain at the bottom edge of a
> window as long as there is enough data to be displayed.

That's a matter of taste. One of the strengths of Emacs is that it
provides a unified user interface for many different activities, and some
people find it annoying when modes go out of their way to make their
buffers behave differently.

Personally I don't want my shell-mode buffers to start behaving like
terminals, because they're not. The whole point of shell-mode is to allow
users to interact with shell input/output as if it were normal buffer
text.



  parent reply	other threads:[~2012-10-20 16:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19 22:34 (Not) scrolling past the end of a buffer Jorgen Schaefer
2012-10-20  2:07 ` Stefan Monnier
2012-10-20  9:52   ` Jorgen Schaefer
2012-10-23 16:25     ` Stefan Monnier
2012-10-20 16:31 ` Romain Francoise [this message]
2012-10-20 16:45   ` Jorgen Schaefer

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=87ehktksuf.fsf@silenus.orebokech.com \
    --to=romain@orebokech.com \
    --cc=emacs-devel@gnu.org \
    --cc=forcer@forcix.cx \
    /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.