bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: split window after entering view-mode: scroll length not adjusted


From: Miles Bader
Subject: Re: split window after entering view-mode: scroll length not adjusted
Date: Mon, 27 Aug 2001 17:45:12 GMT

eliz@is.elta.co.il (Eli Zaretskii) writes:
> The OP wasn't talking about resizing the terminal window

It's quite clear that the `terminal window' for less is analoguous to
a single emacs window for view-mode in this case.  So it really doesn't
matter whether the OP was talking about such explicitly or not.

> (which produces SIGWINCH and triggers recomputation in Less).

[An irrelevant technical detail.]

> Then either uze `z' and `w' instead if SPC and DEL, or rebind SPC and
> DEL to call View-scroll-page-{for,back}ward-set-page-size instead of
> their default bindings.

This is what's known as a `bad interface,' and I'd be willing to bet
that far more people are confused and annoyed by it than pleased by it.

> If you look at the code, it's pretty much
> obvious this is done on purpose, and I certainly can see circumstances
> where it's useful.  I can also see why someone might want a different
> behavior, but that's why Emacs has customizations.

Just because the original author was confused, or had bad judgement,
doesn't mean we have to slavishly maintain the result without
modification!

It's there _anyone_ out there who think's view-mode's current behavior
is non-brain damaged?  Anyone?

> This thread started with a bug report (``I am pleased to say that I
> have found a bug in view mode.'').  I can surely say one thing: a bug
> this isn't.

It isn't a bug in the sense of `an unintended result,' but it most
certainly is a bug in the (more useful) sense of `behavior that's
bad and unnecessary.'

-Miles
-- 
Somebody has to do something, and it's just incredibly pathetic that it
 has to be us.  -- Jerry Garcia



reply via email to

[Prev in Thread] Current Thread [Next in Thread]