From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: recenter-top-bottom Date: Mon, 12 Nov 2007 04:56:49 +0000 Message-ID: <8764082h9q.fsf@bzg.ath.cx> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194839826 25641 80.91.229.12 (12 Nov 2007 03:57:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2007 03:57:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 12 04:57:10 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IrQQ9-0004zS-HZ for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2007 04:57:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrQPx-0005TO-Jw for ged-emacs-devel@m.gmane.org; Sun, 11 Nov 2007 22:56:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IrQPt-0005Pe-GH for emacs-devel@gnu.org; Sun, 11 Nov 2007 22:56:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IrQPr-0005MO-Ft for emacs-devel@gnu.org; Sun, 11 Nov 2007 22:56:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrQPr-0005MD-50 for emacs-devel@gnu.org; Sun, 11 Nov 2007 22:56:51 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IrQPq-0001S0-Li for emacs-devel@gnu.org; Sun, 11 Nov 2007 22:56:50 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so727299ugf for ; Sun, 11 Nov 2007 19:56:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:received:from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=qcbGkm3RF5qNKwU35tDSdHBE4EBDBbzSLUDOlzGOkQc=; b=ZHLiA+xkNBz8OVHosBOiNTNnvs4E2S6S8eAbWdfCRo6JkhJgoNnpoZGlEqXpEd437ndVYFBtIt6grFNlzgUkXPac50aIlHP+FF81Okapc0IyFbJ5DtrdcDa6/Q+TwhV1B+lsB8iVcGrLG9we4qMHH5Z0h+253xIF1O5IK+OYRGM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=RfnxY918W2uuGW6d1IeevDCaH9Nx5ERrgbGY/s23v4PVq5ULulnjhuSgW7ZWxMomPW8/qnNfMaktq1D71dqrkJptn95zrpKaXn16+j7TtrVI6D2vZ14rLaYnDJPGwXQJcpSJU/vMB7BQ3bUSZkTT2W57KKc/SsDYqDclRInVUFw= Original-Received: by 10.67.196.2 with SMTP id y2mr767567ugp.1194839809681; Sun, 11 Nov 2007 19:56:49 -0800 (PST) Original-Received: from bzg.ath.cx ( [81.99.213.34]) by mx.google.com with ESMTPS id f4sm1339527nfh.2007.11.11.19.56.46 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Nov 2007 19:56:47 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 401381575BA; Mon, 12 Nov 2007 04:56:48 +0000 (GMT) In-Reply-To: (Drew Adams's message of "Sun, 11 Nov 2007 15:56:28 -0800") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83014 Archived-At: "Drew Adams" writes: >> I often type C-l when to point is *near* the middle of the buffer, just >> to slightly adjust the display. > > Just out of curiosity, why? No specific reason, it just appears I took this habit. It's just a way to tell myself: okay, now concentrate on what you read. > Except for refreshing the display, why anyone would use `C-l' with point > already at or near the center - and want it to stay there - is beyond me. > But people are different. Moving the point to the center when the point is *near* the center sounds okay to me. But moving the point from the center to the top when the point is *at* the center *and* when the last command was not 'recenter-top-bottom is awkward. Because it is very likely that I wasn't aware the point was already at the center and that I just wanted to move it to the center. You can call this "refreshing", but 80% of the times I'm really trying to recenter (not refresh) when the point is already at the center. Relying on people's ability to *know* that the point is at the center to move it without surprise sounds a bit risky to me. > You could of course still do the same thing, but you would need to hit > `C-l' three times, not one. If you make such minor display adjustments > with `C-l' frequently, then, yes, this is not optimal for you. If point is at the center and the last command was 'recenter-top-bottom then I think it's ok to move the point to the top. But maybe the first call should reach the center, even if it's already at the center. But sure, I could also use `recenter' instead. > FWIW - I find remarkable the language some people are using. I'm > impressed that anyone finds such a proposal "disturbing" or "an > irritation" (and screams "PLEASE DON'T DO THIS!!!!" for setting > `last-command' to an undefined command name). I'm truly amazed that > this is so critical. I guess this is because C-l is a fundamuntal command. Every little change to it strikes the imagination quite easily. Hence people are shouting, crying, etc. but everyone's trying to be helpful here, no? Anyway, I hope I was. -- Bastien