From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Campbell Barton Newsgroups: gmane.emacs.bugs Subject: bug#36526: 26.2; Open diff at current location (feature request with suggested code) Date: Sat, 6 Jul 2019 23:08:24 +1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="128626"; mail-complaints-to="usenet@blaine.gmane.org" To: 36526@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 06 15:09:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hjkRD-000XKe-9Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jul 2019 15:09:11 +0200 Original-Received: from localhost ([::1]:59574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjkRB-0006rW-RG for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jul 2019 09:09:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51049) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjkR5-0006rD-EZ for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2019 09:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjkR4-0001FF-GG for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2019 09:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45567) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjkR4-0001F5-AY for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2019 09:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hjkR4-0006K2-4P for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2019 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Campbell Barton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jul 2019 13:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36526 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156241852024271 (code B ref -1); Sat, 06 Jul 2019 13:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jul 2019 13:08:40 +0000 Original-Received: from localhost ([127.0.0.1]:54388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjkQi-0006JP-Ag for submit@debbugs.gnu.org; Sat, 06 Jul 2019 09:08:40 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjkQh-0006JI-8J for submit@debbugs.gnu.org; Sat, 06 Jul 2019 09:08:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50940) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjkQg-0006oT-8c for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2019 09:08:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjkQf-0000vN-CO for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2019 09:08:38 -0400 Original-Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:45397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjkQf-0000ui-89 for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2019 09:08:37 -0400 Original-Received: by mail-qk1-x72f.google.com with SMTP id s22so9852696qkj.12 for ; Sat, 06 Jul 2019 06:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=HQU2uLK0v66rOyp0FOCQjZOeFzbAbQu6NrhvsZH4o+Q=; b=VnYGUZoUz9Yqo3b82LISNYokDdtXW5kB8CiMbw+JB0JA6dbBY3oWnLighNE9j9LbF/ lBz/ffb0mGU1z/Rmd6+s1nmxzyjtG+5pnTeKPdyUG1lGV9vpH3df85VCBut+CpQJYQXw qFr7t44RKpVEQFfCMTAgmxGZ668NCwBxDfUO2Uo9u6AHpFkXacNUcsyeGFzS0CTloo8Z LoI7mbAzy9oWQNfMSOFBSblHFZburHMGhl262XdoiCi1e4g/eaSivb2cWQsrkFwO86vz 5Ak/AFhFog1BvFnTs0VuIPd76Gn2TfmbdT+jmX9SuVeVnblu0RAqswhl28op8PfO/z5j Kxtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=HQU2uLK0v66rOyp0FOCQjZOeFzbAbQu6NrhvsZH4o+Q=; b=QdqdF9bIxENMg7TJ44owLmOTIN+iZhL3AgJbvWDhsyPWs1vQgP18xTNLs7U7Wc+qjB qbWtLs7YhiQHQh0k2wbI6ZOTU+5PA6DwCWN0/BafTJfPYww7Z5MuCLoNiUwUP+4YtB/P 2mwimC2eX0ULSxHyVU1HufYnjuAchZh+26ekk15XLv5k0wE8asledToIqBvt5oeUlcjr yUrN8N4RrqF1tA75NzbRXn63JDajdn3hRGCLxpLtG3vhTNv/aiHQDnkApn1RXr1fxAi7 8zS8DaJVj6mX09B5hv/UD2WWdw8NeE5bW3poM8sQuoGNSc/lahSjTQqLCN9BQSitXvAy Vlzw== X-Gm-Message-State: APjAAAWpXs4xFPD6e81RSpc/gfe+8JK7udJUhNmr5lAQbQ9kZ8LdcYdT VIkp4U6XuLsAfabmf4EhgRroG3i9d1J8XcxCui2MUc/H X-Google-Smtp-Source: APXvYqzitPSJqq18tk32LoOSFlJkoJxNFejv2b9cEiYatyPueZYGlvDNfNLT1cksEUIy9OqafjKBLj+Yaz3oHbmXrek= X-Received: by 2002:a37:795:: with SMTP id 143mr7086997qkh.140.1562418515813; Sat, 06 Jul 2019 06:08:35 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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: 209.51.188.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:162215 Archived-At: This is a feature suggestion which I've written example code for `vc-root-diff` (or a new function), could jump to the closest line. This is useful since you move to the context of the current line. I've written code that does this, it would be useful if it was built into emacs. See: https://emacs.stackexchange.com/a/51439/2418 In GNU Emacs 26.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8)