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: Tue, 11 Dec 2012 09:09:59 +0200 Message-ID: <83pq2h9i9k.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> <83r4myb86v.fsf@gnu.org> <50C6954F.5020104@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1355209839 6708 80.91.229.3 (11 Dec 2012 07:10:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 07:10:39 +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 Tue Dec 11 08:10:49 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 1TiJzK-0006Fi-V3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 08:10:47 +0100 Original-Received: from localhost ([::1]:33293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiJz7-0006MR-Ut for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 02:10:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiJyz-0006M8-MK for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 02:10:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiJyx-0001q4-NN for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 02:10:25 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiJyx-0001py-Ji for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 02:10:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TiJza-0004nO-E1 for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2012 02:11:02 -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: Tue, 11 Dec 2012 07:11:02 +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.135520985118413 (code B ref 13133); Tue, 11 Dec 2012 07:11:02 +0000 Original-Received: (at 13133) by debbugs.gnu.org; 11 Dec 2012 07:10:51 +0000 Original-Received: from localhost ([127.0.0.1]:36192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiJzO-0004mw-SU for submit@debbugs.gnu.org; Tue, 11 Dec 2012 02:10:51 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:62852) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TiJzL-0004mn-Tz for 13133@debbugs.gnu.org; Tue, 11 Dec 2012 02:10:49 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MEU00L00UKOBY00@a-mtaout22.012.net.il> for 13133@debbugs.gnu.org; Tue, 11 Dec 2012 09:10:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MEU00LVBUKU7S10@a-mtaout22.012.net.il>; Tue, 11 Dec 2012 09:10:06 +0200 (IST) In-reply-to: <50C6954F.5020104@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:68304 Archived-At: > Date: Tue, 11 Dec 2012 06:07:11 +0400 > From: Dmitry Gutov > CC: 13133@debbugs.gnu.org > > On 10.12.2012 12:52, Eli Zaretskii wrote: > >> 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. > > Not sure if I understand you here. For example, if I'm in an Elisp > function, I can press C-M-a to go to its beginning, and the whole > definition (including arglist and docstring) will be visible. If the > value of scroll-conservatively is small, though, the function body may > be cut in half. > Or do you specifically mean non-lisp languages where the docstring is > above the function definition? Yes, the latter. > >> 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. > > I don't think you can reasonably decide what they are for. I didn't decide anything, I just gave you my interpretation. That's what "IMO" is for. > > 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.) > > Here's one: Thanks, I'll take a look.