[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] doc: emacs: Document "View graph" popup action.
From: |
Alex Kost |
Subject: |
[PATCH] doc: emacs: Document "View graph" popup action. |
Date: |
Fri, 16 Oct 2015 19:57:57 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ludovic Courtès (2015-10-16 11:16 +0300) wrote:
> Alex Kost <address@hidden> skribis:
>
>> From 79027171c9be2cececde951caf54758c4e1bb8f5 Mon Sep 17 00:00:00 2001
>> From: Alex Kost <address@hidden>
>> 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!
0001-doc-emacs-Document-View-graph-popup-action.patch
Description: Text Data