* shell-mode - make it stop!!!
@ 2007-06-05 23:59 Tom Horsley
2007-06-06 1:02 ` Tyler Smith
0 siblings, 1 reply; 5+ messages in thread
From: Tom Horsley @ 2007-06-05 23:59 UTC (permalink / raw)
To: help-gnu-emacs
The NEWS file says this about shell-mode
** Changes in Shell Mode
*** Shell output normally scrolls so that the input line is at the
bottom of the window -- thus showing the maximum possible text. (This
is similar to the way sequential output to a terminal works.)
Unfortunately it doesn't say how the devil to make this insanely
annoying behavior stop :-). Any way to disable it? (One of the reasons
I liked emacs shell mode was because it didn't act this way - if
I wanted an ordinary terminal, I'd use one of them :-).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: shell-mode - make it stop!!!
2007-06-05 23:59 shell-mode - make it stop!!! Tom Horsley
@ 2007-06-06 1:02 ` Tyler Smith
2007-06-06 1:22 ` Tom Horsley
0 siblings, 1 reply; 5+ messages in thread
From: Tyler Smith @ 2007-06-06 1:02 UTC (permalink / raw)
To: help-gnu-emacs
On 2007-06-05, Tom Horsley <tom.horsley@att.net> wrote:
> The NEWS file says this about shell-mode
>
> ** Changes in Shell Mode
>
> *** Shell output normally scrolls so that the input line is at the
> bottom of the window -- thus showing the maximum possible text. (This
> is similar to the way sequential output to a terminal works.)
>
> Unfortunately it doesn't say how the devil to make this insanely
> annoying behavior stop :-). Any way to disable it? (One of the reasons
> I liked emacs shell mode was because it didn't act this way - if
> I wanted an ordinary terminal, I'd use one of them :-).
You might check out the emacs manual for more detailed instructions
than are generally provided with NEWS files. This is from Emacs 21:
29.15.6 Shell Mode Options
--------------------------
<snip>
If `comint-scroll-show-maximum-output' is non-`nil', then scrolling
due to the arrival of output tries to place the last line of text at
the bottom line of the window, so as to show as much useful text as
possible. (This mimics the scrolling behavior of many terminals.) The
default is `nil'.
<snip>
So it looks like the default has changed. Something along the lines of
(setq comint-scroll-show-maximum-output nil)
in your .emacs should fix the behaviour, but check the manual of your
Emacs to be sure.
HTH,
Tyler
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: shell-mode - make it stop!!!
2007-06-06 1:02 ` Tyler Smith
@ 2007-06-06 1:22 ` Tom Horsley
2007-06-06 2:06 ` Nick Roberts
2007-06-06 8:27 ` Kim F. Storm
0 siblings, 2 replies; 5+ messages in thread
From: Tom Horsley @ 2007-06-06 1:22 UTC (permalink / raw)
To: help-gnu-emacs
On 06 Jun 2007 01:02:31 GMT
Tyler Smith <tyler.smith@mail.mcgill.ca> wrote:
> So it looks like the default has changed. Something along the lines of
>
> (setq comint-scroll-show-maximum-output nil)
Yep, I finally managed to find that after posting the message,
but now I have another one that apparently is unfixable: I
find the idiotic mouse-face stuff in the shell totally
disconcerting when I happen to move the cursor around and
everything starts flashing on and off. Judging
from the code in comint.el, it just unconditionally sets the
face for things like input just sent.
Is there any config to turn that off, or is it time to
hack up my own copy of comint.el with the add-text-properties
calls which set mouse-face ripped out?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: shell-mode - make it stop!!!
2007-06-06 1:22 ` Tom Horsley
@ 2007-06-06 2:06 ` Nick Roberts
2007-06-06 8:27 ` Kim F. Storm
1 sibling, 0 replies; 5+ messages in thread
From: Nick Roberts @ 2007-06-06 2:06 UTC (permalink / raw)
To: Tom Horsley; +Cc: help-gnu-emacs
> > So it looks like the default has changed. Something along the lines of
> >
> > (setq comint-scroll-show-maximum-output nil)
>
> Yep, I finally managed to find that after posting the message,
> but now I have another one that apparently is unfixable: I
> find the idiotic mouse-face stuff in the shell totally
> disconcerting when I happen to move the cursor around and
> everything starts flashing on and off. Judging
> from the code in comint.el, it just unconditionally sets the
> face for things like input just sent.
You could also read the section about how to report a bug effectively.
> Is there any config to turn that off, or is it time to
> hack up my own copy of comint.el with the add-text-properties
> calls which set mouse-face ripped out?
You need to remember that there can be two reasons for a program not to work as
you would expect: either the software is idiotic, or the user is. If it's the
former then a patch would be most welcome.
One way to "make it stop" is not to use it.
--
Nick http://www.inet.net.nz/~nickrob
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: shell-mode - make it stop!!!
2007-06-06 1:22 ` Tom Horsley
2007-06-06 2:06 ` Nick Roberts
@ 2007-06-06 8:27 ` Kim F. Storm
1 sibling, 0 replies; 5+ messages in thread
From: Kim F. Storm @ 2007-06-06 8:27 UTC (permalink / raw)
To: Tom Horsley; +Cc: help-gnu-emacs
Tom Horsley <tom.horsley@att.net> writes:
> Is there any config to turn that off, or is it time to
> hack up my own copy of comint.el with the add-text-properties
> calls which set mouse-face ripped out?
Hacking the lisp code is the ultimate way to configure Emacs.
I see nothing wrong in that :-)
Anyway, you can disable mouse-highlight in your shell buffers:
M-: (set (make-local-variable 'mouse-highlight) nil)
You could also put it on comint-mode-hook.
--
Kim F. Storm http://www.cua.dk
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-06-06 8:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 23:59 shell-mode - make it stop!!! Tom Horsley
2007-06-06 1:02 ` Tyler Smith
2007-06-06 1:22 ` Tom Horsley
2007-06-06 2:06 ` Nick Roberts
2007-06-06 8:27 ` Kim F. Storm
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.