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: M-n in diff mode: use to a better spot? Date: Sun, 13 Jun 2004 18:56:44 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <86fz8zwg4z.fsf@rumba.de.uu.net> References: <86r7st3pv9.fsf@rumba.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087145837 28936 80.91.224.253 (13 Jun 2004 16:57:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Jun 2004 16:57:17 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jun 13 18:57:08 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BZYI8-0003ID-00 for ; Sun, 13 Jun 2004 18:57:08 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BZYI8-0004y4-00 for ; Sun, 13 Jun 2004 18:57:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZYIy-0003Xd-RN for emacs-devel@quimby.gnus.org; Sun, 13 Jun 2004 12:58:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BZYIw-0003XX-0m for emacs-devel@gnu.org; Sun, 13 Jun 2004 12:57:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BZYIu-0003XL-Hq for emacs-devel@gnu.org; Sun, 13 Jun 2004 12:57:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZYIu-0003XI-Fi for emacs-devel@gnu.org; Sun, 13 Jun 2004 12:57:56 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BZYHp-0001PL-4O for emacs-devel@gnu.org; Sun, 13 Jun 2004 12:56:49 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BZYHo-0000v3-00 for ; Sun, 13 Jun 2004 18:56:48 +0200 Original-Received: from pd9e1ea39.dip.t-dialin.net ([217.225.234.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jun 2004 18:56:48 +0200 Original-Received: from kai by pd9e1ea39.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jun 2004 18:56:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e1ea39.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:2Jwoj1qE58yTwY5hE/BSTfOlIlY= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24928 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24928 Richard Stallman writes: > WIBNI there was some automatic way of moving to the right spot in the > diff buffer, so that C-x 4 a can provide a better default? > > Are you suggesting that if point is at the start of the hunk, C-x 4 a > should operate on the file position of first change in the hunk, rather > than on the file position corresponding to point? That would have the > effect you want, and I think it would not cause problems. Done. I wonder, if point is at the start of a file, should it then operate on the file position of the first change in the first hunk? Currently, it doesn't. Kai