From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: let org-git-link.el suport Magit related buffers Date: Tue, 27 Mar 2018 12:55:01 +0800 Message-ID: <48a30751-46a7-9c87-c86b-1595724ef92e@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------B46201937516F547238AB0FF" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0gdc-0006Yv-8E for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 00:55:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0gdX-0001fr-Bn for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 00:55:12 -0400 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:33829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0gdX-0001fc-2I for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 00:55:07 -0400 Received: by mail-pf0-x230.google.com with SMTP id q9so1714973pff.1 for ; Mon, 26 Mar 2018 21:55:06 -0700 (PDT) Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org-mode Cc: reimar.finken@gmx.de This is a multi-part message in MIME format. --------------B46201937516F547238AB0FF Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Magit now is the most used tools in Emacs now. I hope can combine Org-mode links with Magit through `org-git-link.el`. Current `org-git-link` only support local git file.But it definitely support Magit, like Magit status buffer, Magit log buffer, Magit diff (revision) buffer. When user is in magit-status/magit-log/magit-revision buffer, get the object under point through Magit API, then construct the org-git-link link URI to store into Org-mode. Is there anyone want to or can implement this? --------------B46201937516F547238AB0FF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Magit now is the most used tools in Emacs now.

I hope can combine Org-mode links with Magit through `org-git-link.el`.

Current `org-git-link` only support local git file. But it definitely support Magit, like Magit status buffer, Magit log buffer, Magit diff (revision) buffer.

When user is in magit-status/magit-log/magit-revision buffer, get the object under point through Magit API, then construct the org-git-linkĀ  link URI to store into Org-mode.

Is there anyone want to or can implement this?

--------------B46201937516F547238AB0FF-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Kraus Subject: Re: let org-git-link.el suport Magit related buffers Date: Tue, 27 Mar 2018 14:04:37 +0800 Message-ID: <87605i12bu.fsf@kraus.my> References: <48a30751-46a7-9c87-c86b-1595724ef92e@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0hjT-0006TN-Ew for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 02:05:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0hjN-000433-HK for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 02:05:19 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:27944) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0hjN-0003xE-AI for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 02:05:13 -0400 In-reply-to: <48a30751-46a7-9c87-c86b-1595724ef92e@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: stardiviner Cc: reimar.finken@gmx.de, org-mode Hi! stardiviner writes: > I hope can combine Org-mode links with Magit through `org-git-link.el`. > [...] > Is there anyone want to or can implement this? There is https://github.com/magit/orgit Cheers, Daniel From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: [SOLVED] let org-git-link.el suport Magit related buffers Date: Tue, 27 Mar 2018 18:00:25 +0800 Message-ID: References: <48a30751-46a7-9c87-c86b-1595724ef92e@gmail.com> <87605i12bu.fsf@kraus.my> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------FD7ADC911222E41BED0690D5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0lPE-00059N-B7 for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 06:00:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0lP5-0004oj-2q for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 06:00:40 -0400 Received: from mail-io0-x234.google.com ([2607:f8b0:4001:c06::234]:42481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0lP4-0004oD-N6 for emacs-orgmode@gnu.org; Tue, 27 Mar 2018 06:00:30 -0400 Received: by mail-io0-x234.google.com with SMTP id d5so26848766iob.9 for ; Tue, 27 Mar 2018 03:00:30 -0700 (PDT) In-Reply-To: <87605i12bu.fsf@kraus.my> Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Daniel Kraus Cc: reimar.finken@gmx.de, org-mode This is a multi-part message in MIME format. --------------FD7ADC911222E41BED0690D5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks for your suggestion. This is great. On 03/27/2018 02:04 PM, Daniel Kraus wrote: > Hi! > > stardiviner writes: > >> I hope can combine Org-mode links with Magit through `org-git-link.el`. >> [...] >> Is there anyone want to or can implement this? > There is https://github.com/magit/orgit > > Cheers, > Daniel --------------FD7ADC911222E41BED0690D5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Thanks for your suggestion. This is great.


On 03/27/2018 02:04 PM, Daniel Kraus wrote:
Hi!

stardiviner <numbchild@gmail.com> writes:

I hope can combine Org-mode links with Magit through `org-git-link.el`.
[...]
Is there anyone want to or can implement this?
There is https://github.com/magit/orgit

Cheers,
  Daniel

--------------FD7ADC911222E41BED0690D5--