From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: recenter-top-bottom Date: Sun, 11 Nov 2007 15:06:45 -0800 Message-ID: References: <87abpk1j9i.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194822495 21903 80.91.229.12 (11 Nov 2007 23:08:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2007 23:08:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juri Linkov" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 12 00:08:17 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 1IrLub-00056x-0U for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2007 00:08:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrLuO-00019I-W0 for ged-emacs-devel@m.gmane.org; Sun, 11 Nov 2007 18:08:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IrLuL-00018h-VZ for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:08:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IrLuJ-00017r-OR for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:08:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrLuJ-00017n-AS for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:07:59 -0500 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IrLuI-0004Dm-Ue for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:07:59 -0500 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id lABN7uMS023148; Sun, 11 Nov 2007 17:07:56 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id lABN01xA004117; Sun, 11 Nov 2007 16:07:55 -0700 Original-Received: from 141.144.89.9 by acsmt350.oracle.com with ESMTP id 3359027731194822395; Sun, 11 Nov 2007 15:06:35 -0800 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <87abpk1j9i.fsf@jurta.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:82983 Archived-At: > >> I like the new definition of `recenter-top-bottom'. But there is one > >> problem: it doesn't work when point is close to the end of the buffer. > >> > >> It doesn't put point to the upper half of the window but this > >> is possible with other commands (because the end of the buffer > >> is not attached to the end of the window in Emacs). > > > > Or at or near the beginning of the buffer. Depending on what you mean by > > "work". > > > > I think it DTRT in these cases, but you're welcome to tweak it. > > When point is at the end of the buffer and at the middle of the window > then typing C-l could move it to the beginning of the window. Sure; do it.