all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] doc: emacs: Document "View graph" popup action.
Date: Sat, 17 Oct 2015 15:23:22 +0200	[thread overview]
Message-ID: <878u71ljcl.fsf@gnu.org> (raw)
In-Reply-To: <87wpumycmi.fsf_-_@gmail.com> (Alex Kost's message of "Fri, 16 Oct 2015 19:57:57 +0300")

Alex Kost <alezost@gmail.com> skribis:

> Ludovic Courtès (2015-10-16 11:16 +0300) wrote:

[...]

>> 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!
>
>
> From 70e53141ee1767e09fdc2b0a48e3cf82323b3482 Mon Sep 17 00:00:00 2001
> From: Alex Kost <alezost@gmail.com>
> Date: Fri, 16 Oct 2015 17:50:36 +0300
> Subject: [PATCH] doc: emacs: Document "View graph" popup action.
>
> * doc/emacs.texi (Emacs Popup Interface): Document "View graph" action.

[...]

> +So, for example, if you want to generate and open a PDF file in your
> +Emacs, you may change the settings like this:
> +
> +@example
> +(defun my-guix-pdf-graph ()
> +  "/tmp/my-current-guix-graph.pdf")
> +
> +(setq guix-dot-default-arguments '("-Tpdf")
> +      guix-dot-file-name-function 'my-guix-pdf-graph)

Ah yes, perfect.

Thanks!

Ludo’.

  reply	other threads:[~2015-10-17 13:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 19:46 [PATCH] emacs: Add "View graph" actions to system graph commands Alex Kost
2015-10-16  8:16 ` Ludovic Courtès
2015-10-16 16:57   ` [PATCH] doc: emacs: Document "View graph" popup action Alex Kost
2015-10-17 13:23     ` Ludovic Courtès [this message]
2015-10-16 16:58   ` [PATCH] emacs: Improve file names of generated graphs Alex Kost
2015-10-17 13:23     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878u71ljcl.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.