From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#25400: M-p in diff-mode jumps too far Date: Sun, 08 Jan 2017 18:27:44 -0500 Message-ID: <87h959t9n3.fsf@udel.edu> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1483918097 23683 195.159.176.226 (8 Jan 2017 23:28:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2017 23:28:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25400@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 09 00:28:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cQMsi-00058s-Q1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jan 2017 00:28:08 +0100 Original-Received: from localhost ([::1]:36140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQMsn-0006RA-2o for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jan 2017 18:28:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQMsg-0006R4-On for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2017 18:28:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQMsc-0003CD-2p for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2017 18:28:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQMsb-0003Br-U9 for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2017 18:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cQMsb-00084v-La for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2017 18:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Jan 2017 23:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25400 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25400-submit@debbugs.gnu.org id=B25400.148391807431041 (code B ref 25400); Sun, 08 Jan 2017 23:28:01 +0000 Original-Received: (at 25400) by debbugs.gnu.org; 8 Jan 2017 23:27:54 +0000 Original-Received: from localhost ([127.0.0.1]:47233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cQMsU-00084a-Lg for submit@debbugs.gnu.org; Sun, 08 Jan 2017 18:27:54 -0500 Original-Received: from mail-qk0-f193.google.com ([209.85.220.193]:36092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cQMsS-00084N-U5 for 25400@debbugs.gnu.org; Sun, 08 Jan 2017 18:27:53 -0500 Original-Received: by mail-qk0-f193.google.com with SMTP id a20so17038854qkc.3 for <25400@debbugs.gnu.org>; Sun, 08 Jan 2017 15:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=0B3majPC7SBiN578ltmkeRO4oiYPsbFCM6gnKZhSyEY=; b=c/FJ7XkN0bNY14ctessNCx/6zRtSTxnUYxjLZDtMrLjhWe04qCowWzlLAdoScEOLbe j2pij64qu8b6R+6+R4mRJq+cYEY2l5kskNkfB5+0LXOEeGN4ylpTuf0FNnAhwS+9SYso C17r/53lS9OURhCnlUEOaNPgJvsaZdESLIZWKXLkqbkSlUhaUVQa3+S9pwlaQOwTKAxU HIJPd/AhmB3z08AH0tda/4pzHNUeQIZp5xy7XJnPbBLU8Vy+9JhLAArNrbOG9EAJHcBt HmQdXpjnFYsWJKtyZLOiNYM9pdY1XoK2nvoBpredMnYRzSx6BLuCnFklp5vJ12DEU8Ko Sc9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=0B3majPC7SBiN578ltmkeRO4oiYPsbFCM6gnKZhSyEY=; b=oQsC2QDg9Sf4EteilpgSJkvNB007P+cm8bb6sfn9kjJVYMS3s06rGWz4rbZ5I7X5BZ IhJ+cojJzMbrLQyQB0TgsfuuDP9x2HzG7kS7hFtUZiLFXA8kkZ32N5L5WBxodCEjm6Jb m8r3B4GEom5NmLtRr7c7fafCAaBSvC6JJZkyJDaCwDvrOrzhSsOccEwKUu+gnFYFYFzK XLse1oNZrs8KB8AEvKx8dcXR18CKhD7Hg6oIVfQ1fy7h3kl0P7xA+GwptaxIXLUF/Q31 msq73ERgK6bZ7TKEp01g3XTpwuZaLPPfwEa1VZOcf4yLv2taWCd5OkKDKH5R4kanQWHB TQHA== X-Gm-Message-State: AIkVDXJWGSLrqCbHSBwOPT7gCfn96O3X6TI5lIIrL7WUjYVFXY1ZSTytV6GSSQp/DpH6CqvQ X-Received: by 10.55.69.68 with SMTP id s65mr57043187qka.72.1483918067433; Sun, 08 Jan 2017 15:27:47 -0800 (PST) Original-Received: from holos.localdomain (pool-173-67-40-97.bltmmd.fios.verizon.net. [173.67.40.97]) by smtp.gmail.com with ESMTPSA id q3sm56117633qtc.34.2017.01.08.15.27.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Jan 2017 15:27:46 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id ED97960D64; Sun, 8 Jan 2017 18:27:44 -0500 (EST) In-Reply-To: (Stefan Monnier's message of "Sun, 08 Jan 2017 16:21:16 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:127918 Archived-At: Stefan Monnier writes: > Package: Emacs > Version: 26.0.50 > > In a buffer with more than one hunk, if I'm in the middle of hunk number > N, diff-hunk-prev (usually bound to M-p) jumps to the header of hunk > number N-1 rather than to the header of hunk N. > > This is contrary to the usual behavior of Emacs's navigation commands. Implemented in 2c8a7e5 (bug#17544). Apparently it was intended. https://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00222.html https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25105