From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH 0/4] emacs: Add "View graph" action to graph popup. Date: Mon, 31 Aug 2015 00:04:22 +0300 Message-ID: <1440968666-23605-1-git-send-email-alezost@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW9mf-0001Gd-3v for guix-devel@gnu.org; Sun, 30 Aug 2015 17:05:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZW9mb-0003xT-Tq for guix-devel@gnu.org; Sun, 30 Aug 2015 17:05:01 -0400 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:35577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW9mb-0003wp-LF for guix-devel@gnu.org; Sun, 30 Aug 2015 17:04:57 -0400 Received: by lanb10 with SMTP id b10so24913632lan.2 for ; Sun, 30 Aug 2015 14:04:56 -0700 (PDT) Received: from localhost.localdomain ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id f1sm3353473laf.15.2015.08.30.14.04.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 30 Aug 2015 14:04:55 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org This patchset adds "View graph" action to 'guix graph' popup (i.e., to "M-x guix RET G"). By default the graph (png) will be opened in Emacs, but this can be changed by setting 'guix-find-file-function' variable. For example, I prefer to open png-files in sxiv, so I use: (setq guix-find-file-function 'org-open-file) and I have ("\\.png\\'" . "sxiv %s") element in my 'org-file-apps' var. If you don't like png, you can set 'guix-dot-default-arguments' and 'guix-dot-file-name-function'. [PATCH 1/4] emacs: Add code to pipe guix output to external program. [PATCH 2/4] emacs: Add code to run 'dot' program. [PATCH 3/4] emacs: Allow to choose 'find-file' function. [PATCH 4/4] emacs: Add "View graph" action to graph popup.