From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13133: 24.2.90; scroll-conservatively is too coarse a setting Date: Mon, 10 Dec 2012 10:52:24 +0200 Message-ID: <83r4myb86v.fsf@gnu.org> References: <87wqwqwpnf.fsf@vbx.i-did-not-set--mail-host-address--so-tickle-me> <83zk1mbert.fsf@gnu.org> <50C5855B.10703@yandex.ru> <83wqwqbd08.fsf@gnu.org> <50C59D4A.5020409@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1355129614 842 80.91.229.3 (10 Dec 2012 08:53:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 08:53:34 +0000 (UTC) Cc: 13133@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 10 09:53:48 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Thz7T-00021E-Dn for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Dec 2012 09:53:47 +0100 Original-Received: from localhost ([::1]:54253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thz7G-0008IS-W4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Dec 2012 03:53:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thz7E-0008II-7y for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 03:53:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Thz79-000258-PJ for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 03:53:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Thz79-000253-LC for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 03:53:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Thz7h-0004Jy-HE for bug-gnu-emacs@gnu.org; Mon, 10 Dec 2012 03:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Dec 2012 08:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13133-submit@debbugs.gnu.org id=B13133.135512959316552 (code B ref 13133); Mon, 10 Dec 2012 08:54:01 +0000 Original-Received: (at 13133) by debbugs.gnu.org; 10 Dec 2012 08:53:13 +0000 Original-Received: from localhost ([127.0.0.1]:34840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Thz6u-0004Iv-VI for submit@debbugs.gnu.org; Mon, 10 Dec 2012 03:53:13 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:62161) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Thz6s-0004Ik-1E for 13133@debbugs.gnu.org; Mon, 10 Dec 2012 03:53:11 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MET002004L5Y700@a-mtaout20.012.net.il> for 13133@debbugs.gnu.org; Mon, 10 Dec 2012 10:52:34 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MET002C84NLYB00@a-mtaout20.012.net.il>; Mon, 10 Dec 2012 10:52:34 +0200 (IST) In-reply-to: <50C59D4A.5020409@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68269 Archived-At: > Date: Mon, 10 Dec 2012 12:28:58 +0400 > From: Dmitry Gutov > CC: 13133@debbugs.gnu.org > > Like I mentioned, I don't want C-M-e/C-M-a to recenter. Why do you think > it's TRT? Because you generally want to see the entire definition of the API, not just the opening brace or paren. > As far as I'm concerned, recentering might be fine when we go to the end > of a small function (it will fit on the screen anyway), but a larger > function, which might have fit on the full screen, will be cut in half. IMO, C-M-e/C-M-a is not for observing the whole function. You may be looking for a separate feature, or maybe a modification of an existing feature. > >> Half-window happens because when the compilation buffer is filled, the > >> point is at the end of it (when compilation-scroll-output is t, at least). > > > > Does this happen with or without setting scroll-conservatively to a > > value larger than 100? > > Without. Can you cook up a test case? I'd like to see why this happens. (If showing this requires injection of specific amount of text into the compilation buffer, you could use 'cat' or some similar program to do so, instead of actually running a compiler.) > > Just for the record: when I asked whether people who like Emacs to > > _never_ recenter would mind having that behavior in contexts that have > > nothing to do with scrolling, the response was a huge YES. So the > > current behavior seems to be "by popular demand". > > If I had to guess, it might be that people just wanted out of the > default always-recentering behavior, and it was a quick way to end the > discussion and get the implementation. > > Anyway, I don't remember seeing that poll. And if you were asking on > emacs-devel, that doesn't exactly represent the majority of users. Emacs 24.x with this feature was released 6 months ago, and I have yet to see a single complaint about it -- until now. What user poll can possibly match that? > > Another possibility would be to add more customization values to > > compilation-scroll-output, implementing the behavior of your > > compile-scroll-eob. > > Yes, sure. Just set buffer-local value of scroll-conservatively, maybe? Could be. But I think it is best first to define the required behavior first. Then we can see if setting scroll-conservatively would fit the bill. > But that won't help with C-M-a/C-M-e and, I don't know, any other > buffers with deal with process output? "M-x shell" comes to mind. > > I won't argue what the default behavior should be, because it tends to > > become bike-shedding very fast. FWIW, I use the default behavior, > > without customizing any scroll-related variables, and like that > > behavior, including in compilation buffers. > > Do you like the behavior of compilation buffer often having wasted > space, or do you just not mind it (with monitors being cheap and all)? I > don't see what anyone could really like about it. Very simple: I don't watch the compilation messages as they come in. It's a waste of time; I continue editing or doing something else while the compiler churns away. To me, watching the messages is a relic from old DOS days when I couldn't do anything while waiting for the compiler to finish. I only look at the compiler messages when compilation finishes, and then I either scroll through the buffer or use "C-x `". In both cases, what redisplay does when a new message comes in is of no interest to me.