From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] doc: emacs: Document "View graph" popup action. Date: Sat, 17 Oct 2015 15:23:22 +0200 Message-ID: <878u71ljcl.fsf@gnu.org> References: <87a8rjkj8y.fsf@gmail.com> <8737xbw7nd.fsf@gnu.org> <87wpumycmi.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnRSL-00029v-HE for guix-devel@gnu.org; Sat, 17 Oct 2015 09:23:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnRSI-0007mX-Dl for guix-devel@gnu.org; Sat, 17 Oct 2015 09:23:29 -0400 In-Reply-To: <87wpumycmi.fsf_-_@gmail.com> (Alex Kost's message of "Fri, 16 Oct 2015 19:57:57 +0300") 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: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (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 > 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=E2=80=99.