From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#36526: 26.2; Open diff at current location (feature request with suggested code) Date: Sun, 15 Sep 2019 16:52:18 +0200 Message-ID: References: <35d4b535-1e93-ef31-ca63-044721c1314f@gmail.com> 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="177957"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36526@debbugs.gnu.org To: Cambell Barton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 15 16:53: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 1i9Vtn-000kB0-0M for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Sep 2019 16:53:11 +0200 Original-Received: from localhost ([::1]:55320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9Vtl-0000Y9-Tt for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Sep 2019 10:53:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42570) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9Vtf-0000Xm-Ad for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2019 10:53:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9Vte-000515-FQ for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2019 10:53:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i9Vte-00050z-CR for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2019 10:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i9Vte-0003BC-8b for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2019 10:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Sep 2019 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36526 X-GNU-PR-Package: emacs Original-Received: via spool by 36526-submit@debbugs.gnu.org id=B36526.156855915812185 (code B ref 36526); Sun, 15 Sep 2019 14:53:02 +0000 Original-Received: (at 36526) by debbugs.gnu.org; 15 Sep 2019 14:52:38 +0000 Original-Received: from localhost ([127.0.0.1]:48594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9VtG-0003AT-Cw for submit@debbugs.gnu.org; Sun, 15 Sep 2019 10:52:38 -0400 Original-Received: from mail-pf1-f180.google.com ([209.85.210.180]:37658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9VtD-0003AF-CP for 36526@debbugs.gnu.org; Sun, 15 Sep 2019 10:52:36 -0400 Original-Received: by mail-pf1-f180.google.com with SMTP id y5so18202843pfo.4 for <36526@debbugs.gnu.org>; Sun, 15 Sep 2019 07:52:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f5bgzRR3zY07SrkhC3TPojFXANQ7sEN84zOT/OgT4WE=; b=cJTNLmvgmR6bEsqWfWvzqRlRdZaAYIOpLqlgSY7Cg6I8dGNxHc0eazceCtn2FqX3Vj zkcIu55pkJG7lm8hSz/gy1oZeiqeRJ0PP9UkbREv42M+G7BRUvuzGByEmqo0KpmQhkPU zkrF6LnXzMkAH0HZeGJ/2ab6jAmN+0PfNy6dyJr6PwVr5s/GwXtCGsrPyLncwU6Ri4eO 6yCtND9V4wbieZYme7ozJb7WxbahZYzyJWWezbUOOInQIeiKS/m7NTdm6D4Jn+UCeIem +AI2K+i3CLXfSsVSCKWDxNVCX7+G40GlZ+SvGLy6K9bLB6bcpIuFYGwrF4xaWFnj6/Mo +Bvg== X-Gm-Message-State: APjAAAWqKvKHinIrAuSvFSrjpYyR5kbZ4LnDd+x0t5BTvvfEklpBd+vB /cA8pJt+oVfID2bQLK7G21yHwbDtmAPQ4J0s9/g= X-Google-Smtp-Source: APXvYqxc7N1LRCYMD+gjrYa41c3gHpLKg14PyRxUXXF1daV5uFuoQjRHtkDxJd3BznAk5vGiCGdiYYQT9CMaTdrmqW4= X-Received: by 2002:a62:15c7:: with SMTP id 190mr65606864pfv.107.1568559149415; Sun, 15 Sep 2019 07:52:29 -0700 (PDT) In-Reply-To: <35d4b535-1e93-ef31-ca63-044721c1314f@gmail.com> 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:166500 Archived-At: Cambell Barton writes: > Hi Stefan, I don't mind doing the copyright assignment. Excellent. > Would someone be able to check the code and see if it's going in the > right direction? OK, but see below. > >> 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'm not sure I understand what this code is supposed to do or how to use it. Could you please give a recipe for how to test it? Best regards, Stefan Kangas