Ludovic Courtès (2015-10-16 11:16 +0300) wrote: > Alex Kost skribis: > >> From 79027171c9be2cececde951caf54758c4e1bb8f5 Mon Sep 17 00:00:00 2001 >> From: Alex Kost >> Date: Thu, 15 Oct 2015 22:10:32 +0300 >> Subject: [PATCH] emacs: Add "View graph" actions to system graph commands. >> >> * emacs/guix-command.el (guix-command-additional-execute-arguments, >> guix-command-special-executors): Add "View graph" actions for >> 'dmd-graph' and 'extension-graph' commands. >> * doc/emacs.texi (Emacs Popup Interface): Document "View graph" action. > > Excellent! > > Perhaps the documentation part should go in a separate commit since it’s > not strictly related to the new commands? Yes, I agree. I have split it and pushed the part to add "View graph" actions. >> +Several commands (@command{guix graph}, @command{guix system dmd-graph} >> +and @command{guix system extension-graph}) also have a ``View graph'' >> +action, which allows to view a generated graph using @command{dot} > ^^^ > “which allows you to view” Fixed. >> +command (specified by @code{guix-dot-program} variable). By default a >> +PNG file will be saved in @file{/tmp} directory and will be opened > > Not directly related to this patch, but I wonder if this would work with > a PDF opened with DocView? That would allow people to zoom in etc. Sure, you can generate any type of graph and open it inside or outside emacs, whatever you want. I have added an example for this case (in the attached patch), so please report if it's not clear. Thanks!