From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 2c8a7e5: Improve diff-mode navigation/manipulation Date: Sun, 25 Dec 2016 16:10:00 +0200 Message-ID: <144ea8de-64c4-4a80-eada-900f6f15812c@yandex.ru> References: <874m2q1oca.fsf@gmail.com> <4707af57-53ae-9b10-686a-1ca0864b9abb@yandex.ru> <87h96cr2su.fsf@secretsauce.net> <59e902d2-e8b4-63e3-f780-af24cdf50a74@yandex.ru> <9fe241fa-d4ee-6e44-bfdd-99cb6b4ab4e4@yandex.ru> <87fultr4he.fsf@secretsauce.net> <877f6v2vc1.fsf@gmail.com> <87inq8ec05.fsf@secretsauce.net> <871sww2vcf.fsf@gmail.com> <87vau81gb2.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1482675028 14969 195.159.176.226 (25 Dec 2016 14:10:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Dec 2016 14:10:28 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 Cc: emacs-devel@gnu.org To: Tino Calancha , Dima Kogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 25 15:10:21 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cL9V9-0001jq-VA for ged-emacs-devel@m.gmane.org; Sun, 25 Dec 2016 15:10:16 +0100 Original-Received: from localhost ([::1]:47027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cL9V9-0004sY-E8 for ged-emacs-devel@m.gmane.org; Sun, 25 Dec 2016 09:10:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cL9V1-0004qJ-9c for emacs-devel@gnu.org; Sun, 25 Dec 2016 09:10:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cL9Uy-0000p7-3q for emacs-devel@gnu.org; Sun, 25 Dec 2016 09:10:07 -0500 Original-Received: from mail-wj0-x244.google.com ([2a00:1450:400c:c01::244]:34827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cL9Ux-0000ok-TH for emacs-devel@gnu.org; Sun, 25 Dec 2016 09:10:04 -0500 Original-Received: by mail-wj0-x244.google.com with SMTP id hb5so12925969wjc.2 for ; Sun, 25 Dec 2016 06:10:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=T48KsQaZ6wvyGBs1F0PD7fnIvqpjPwxiZ8VEOL2vqm4=; b=F4+xGhSnsAg/DBLqF3aRPthAbPqKgEJQddRrQo/6dhKmcmk/AV/fvLMp9MFyy0gTQO x1HZSNQh400LxUvtPHjY05iLpEWASDvrS7QQZKu6icgeYyvNsF7dQW/tl4/Tuw8zzqdb 9PiWYSPDDDH/QC+lWoWhkbCYP3zlkmxkR94heX9W3TJR2iyVv8UGHDPcZt/81ThV5S1h 1Tra1t37iEgcqqWGeyV7Cgiv552P4HOK7eCLzb3AamVt7G4du6tAUj7ULpcsjax3azQU U83hfv/ROJlxgOZiH3zAiQi6kqOnTBU3so/zUhwO7FC2sV0tNaEg69VXTITNb9Mw8l7R VHcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=T48KsQaZ6wvyGBs1F0PD7fnIvqpjPwxiZ8VEOL2vqm4=; b=F00qsPVSIup6yApcPAHdPXvLQ0dqZ5ou4oMWYUEMOWJCi6CwCi7Gnim5iQ+tnAspp2 phel4L2kDxKfzco0SfXQ0RmEX+tZXm2V0J2+5Z874M+55paW6mwAHHBHcw9cD6FMdwy6 xV9hq+v8KIBQoIFi2hu6k+eSzwV4IvbqLAfNT4B5IDxqX0TVV69iqPS+5cy5Yc8oYyyP hh2krSYVo6UgRAbW2rCkcK2/cWSPGLZ7FqOjVJBLw69AIT4t6OFSWWKx4LiNqzZ895PW awO8nJ+K6MMOr8szJ2JSR/6Eph0XQrsgP7g6km6I3VZ6ZSpb8C2cctFf2rHjLxOmDGnZ 0IvQ== X-Gm-Message-State: AIkVDXJ+zYJdx54iIO2Vh9TKZd0y/h3mHy2uMccugeumhQpWHYAvlWpbBIKci/gUCYbWgQ== X-Received: by 10.194.52.42 with SMTP id q10mr19540159wjo.50.1482675002651; Sun, 25 Dec 2016 06:10:02 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.173.41]) by smtp.googlemail.com with ESMTPSA id ei2sm50294587wjd.47.2016.12.25.06.10.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Dec 2016 06:10:01 -0800 (PST) In-Reply-To: <87vau81gb2.fsf@gmail.com> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c01::244 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210802 Archived-At: On 25.12.2016 11:58, Tino Calancha wrote: > In Emacs-25 the commit message is not considered part of the > first hunk: Can we make the file header not part of the hunk either? Then the first `n' would move to the first hunk, and this should solve the remaining auto-refine problem. To make things work like they do now, some (all?) commands that act on hunks would first see if point is inside a file header, and if so, jump forward to the next hunk.