From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: a simple convenience function Date: Tue, 16 Nov 2004 18:11:58 +0100 Message-ID: <86mzxh67mp.fsf@ketchup.de.uu.net> References: <200411142336.00131.pogonyshev@gmx.net> <86pt2fo3yb.fsf@ketchup.de.uu.net> <873bza7lih.fsf@confusibombus.emacswiki.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100625222 16643 80.91.229.6 (16 Nov 2004 17:13:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2004 17:13:42 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 16 18:13:36 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CU6tc-0000Wq-00 for ; Tue, 16 Nov 2004 18:13:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CU72M-0007VC-4o for ged-emacs-devel@m.gmane.org; Tue, 16 Nov 2004 12:22:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CU71f-00072F-4A for emacs-devel@gnu.org; Tue, 16 Nov 2004 12:21:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CU71d-00070k-Rz for emacs-devel@gnu.org; Tue, 16 Nov 2004 12:21:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CU71d-0006zm-Jz for emacs-devel@gnu.org; Tue, 16 Nov 2004 12:21:53 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CU6sI-0004fO-VY for emacs-devel@gnu.org; Tue, 16 Nov 2004 12:12:15 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CU6sH-00054M-00 for ; Tue, 16 Nov 2004 18:12:13 +0100 Original-Received: from ketchup.de.uu.net ([139.4.38.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2004 18:12:13 +0100 Original-Received: from kai by ketchup.de.uu.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2004 18:12:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ketchup.de.uu.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:kO0hQw8b7PTD7cSSNZKaaFRx5bA= 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: main.gmane.org gmane.emacs.devel:29937 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29937 Alex Schroeder writes: > I'm not sure I like your "beginning of window" step, however, because > I usually hop through buffers in paragraphs, sexps, or defuns, or > whatever the text-based unit is. Using a display-based unit is weird. I only explained what my function did. After using it for a while, I found out that I always hit it once or thrice, but never twice. I also think that perhaps going to the beginning of the defun is a good idea as an intermediary step. Kai