From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: How to utilize the vc package inside of the edit source block buffer? Date: Tue, 23 Sep 2014 14:19:49 -0400 Message-ID: <87mw9qnqre.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWUh4-0006aT-OU for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 14:20:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWUgv-0000dW-Hp for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 14:20:06 -0400 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:50893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWUgv-0000c3-DB for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 14:19:57 -0400 Received: by mail-qg0-f49.google.com with SMTP id q107so4866536qgd.22 for ; Tue, 23 Sep 2014 11:19:52 -0700 (PDT) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Grant Rettke , "emacs-orgmode@gnu.org" Hi Grant, 2014ko irailak 23an, Grant Rettke-ek idatzi zuen: > > Good afternoon, > > The ability to org-edit-special inside of source block is truly priceless. > > There is a delightful workflow to be found with approach. > > It has got me spending more and more time in the edit buffer though, > wanting to utilize > vc-next-action to initiate a commit. This is not possible because the > buffer is not associated > with a file. > > Is there some way to get tell Emacs to execute the action on the > source buffer from which the > source edit block buffer originated? One approach might be to advise the vc commands like (pseudocode): (defadvice vc-foo (around org-src activate) (when (in-src-edit-p) (org-edit-src-exit)) ad-do-it) -- Aaron Ecay