* Potential bug: embedded dot fails on require ob-graphviz-dot
@ 2017-11-18 19:57 Charles R (Charlie) Martin
2017-11-19 19:57 ` Eric S Fraga
0 siblings, 1 reply; 8+ messages in thread
From: Charles R (Charlie) Martin @ 2017-11-18 19:57 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 419 bytes --]
I'm trying to use `dot` inside `org-mode` and having no luck, because when
I evaluate
(org-babel-do-load-languages
'org-babel-load-languages
'((dot . t)))
it tries to require `ob-graphviz-dot` -- unsuccessfully.
Debugger entered--Lisp error: (file-error "Cannot open load file" "No
such file or directory" "ob-graphviz-dot")
require(ob-graphviz-dot)
I can't find `ob-graphviz-dot` anywhere.
[-- Attachment #2: Type: text/html, Size: 1180 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Potential bug: embedded dot fails on require ob-graphviz-dot
2017-11-18 19:57 Potential bug: embedded dot fails on require ob-graphviz-dot Charles R (Charlie) Martin
@ 2017-11-19 19:57 ` Eric S Fraga
2017-11-19 20:03 ` Charles R (Charlie) Martin
0 siblings, 1 reply; 8+ messages in thread
From: Eric S Fraga @ 2017-11-19 19:57 UTC (permalink / raw)
To: Charles R (Charlie) Martin; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
On Saturday, 18 Nov 2017 at 12:57, Charles R (Charlie) Martin wrote:
> I'm trying to use `dot` inside `org-mode` and having no luck, because when
> I evaluate
What version of org are you using? The version I'm using has no
reference to ob-graphviz-dot.
(but the version I am using is a week or so out of date...).
--
: Eric S Fraga via Emacs 27.0.50, Org release_9.1.3-162-gde289d
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Potential bug: embedded dot fails on require ob-graphviz-dot
2017-11-19 19:57 ` Eric S Fraga
@ 2017-11-19 20:03 ` Charles R (Charlie) Martin
2017-11-19 20:05 ` Charles R (Charlie) Martin
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Charles R (Charlie) Martin @ 2017-11-19 20:03 UTC (permalink / raw)
To: Charles R (Charlie) Martin, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
I think the problem is that if you register graphviz-dot as a language, it
generates that require. I got it halfway working by changing the language
back to just dot; I need to go back figure out how to nonetheless use
graphviz-mode for editing.
On Sun, Nov 19, 2017 at 12:57 PM, Eric S Fraga <esflists@gmail.com> wrote:
> On Saturday, 18 Nov 2017 at 12:57, Charles R (Charlie) Martin wrote:
> > I'm trying to use `dot` inside `org-mode` and having no luck, because
> when
> > I evaluate
>
> What version of org are you using? The version I'm using has no
> reference to ob-graphviz-dot.
>
> (but the version I am using is a week or so out of date...).
>
> --
> : Eric S Fraga via Emacs 27.0.50, Org release_9.1.3-162-gde289d
>
[-- Attachment #2: Type: text/html, Size: 1209 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Potential bug: embedded dot fails on require ob-graphviz-dot
2017-11-19 20:03 ` Charles R (Charlie) Martin
@ 2017-11-19 20:05 ` Charles R (Charlie) Martin
2017-11-20 7:30 ` Eric S Fraga
2017-11-20 7:48 ` Eric S Fraga
2 siblings, 0 replies; 8+ messages in thread
From: Charles R (Charlie) Martin @ 2017-11-19 20:05 UTC (permalink / raw)
To: Charles R (Charlie) Martin, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]
oh and the answer to your direct question is 9.1.3.
I suspect this is related to the issue where you can have a source-type
'shell' but only can execute a shell blockif it's source type 'sh'.
On Sun, Nov 19, 2017 at 1:03 PM, Charles R (Charlie) Martin <
chasrmartin@gmail.com> wrote:
> I think the problem is that if you register graphviz-dot as a language, it
> generates that require. I got it halfway working by changing the language
> back to just dot; I need to go back figure out how to nonetheless use
> graphviz-mode for editing.
>
> On Sun, Nov 19, 2017 at 12:57 PM, Eric S Fraga <esflists@gmail.com> wrote:
>
>> On Saturday, 18 Nov 2017 at 12:57, Charles R (Charlie) Martin wrote:
>> > I'm trying to use `dot` inside `org-mode` and having no luck, because
>> when
>> > I evaluate
>>
>> What version of org are you using? The version I'm using has no
>> reference to ob-graphviz-dot.
>>
>> (but the version I am using is a week or so out of date...).
>>
>> --
>> : Eric S Fraga via Emacs 27.0.50, Org release_9.1.3-162-gde289d
>>
>
>
[-- Attachment #2: Type: text/html, Size: 2044 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Potential bug: embedded dot fails on require ob-graphviz-dot
2017-11-19 20:03 ` Charles R (Charlie) Martin
2017-11-19 20:05 ` Charles R (Charlie) Martin
@ 2017-11-20 7:30 ` Eric S Fraga
2017-11-20 7:48 ` Eric S Fraga
2 siblings, 0 replies; 8+ messages in thread
From: Eric S Fraga @ 2017-11-20 7:30 UTC (permalink / raw)
To: Charles R (Charlie) Martin; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 636 bytes --]
On Sunday, 19 Nov 2017 at 13:03, Charles R (Charlie) Martin wrote:
> I think the problem is that if you register graphviz-dot as a language, it
> generates that require. I got it halfway working by changing the language
> back to just dot; I need to go back figure out how to nonetheless use
> graphviz-mode for editing.
I see. You are right: there is a problem with the mode being found for
dot files. I cannot even load graphviz-dot-mode as it complains about
default-tab-width not being defined.
I'll play a bit to see if I can figure this out.
--
: Eric S Fraga via Emacs 27.0.50, Org release_9.1.3-162-gde289d
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Potential bug: embedded dot fails on require ob-graphviz-dot
2017-11-19 20:03 ` Charles R (Charlie) Martin
2017-11-19 20:05 ` Charles R (Charlie) Martin
2017-11-20 7:30 ` Eric S Fraga
@ 2017-11-20 7:48 ` Eric S Fraga
2 siblings, 0 replies; 8+ messages in thread
From: Eric S Fraga @ 2017-11-20 7:48 UTC (permalink / raw)
To: Charles R (Charlie) Martin; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 877 bytes --]
On Sunday, 19 Nov 2017 at 13:03, Charles R (Charlie) Martin wrote:
> I think the problem is that if you register graphviz-dot as a language, it
> generates that require. I got it halfway working by changing the language
> back to just dot; I need to go back figure out how to nonetheless use
> graphviz-mode for editing.
I got my setup working. I had to use the git version of graphviz-dot
mode as the one that comes with emacs-goodies-el Debian package is out
of date and doesn't load (assumes that there is a variable called
default-tab-width, which does not exist, at least in Emacs 26+, whereas
the newer version uses tab-width).
If you (require 'graphiz-dot-mode) before any use of org for editing dot
files, everything seems to work just fine with the language registered
as dot.
--
: Eric S Fraga via Emacs 27.0.50, Org release_9.1.3-162-gde289d
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Potential bug: embedded dot fails on require ob-graphviz-dot
@ 2017-11-21 3:41 Eric Thomas
2017-11-21 21:25 ` Kaushal Modi
0 siblings, 1 reply; 8+ messages in thread
From: Eric Thomas @ 2017-11-21 3:41 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]
Charles,
I just started using dot in org-mode (and I love it). Had no problems at
all so far.
Here are my specs:
* Emacs 25.3.1
* Org 9.1.2
* Here is my .init file
<https://github.com/SeaDude/dotfiles/blob/master/emacs/.emacs.d/config.org>
* Here is an example of dot in action in orgmode
<https://raw.githubusercontent.com/SeaDude/wtd-gitbook-pres/master/gitbook.org>
Maybe you can glean something from this that helps.
Cheers
> ------------------------------
>
> Message: 2
> Date: Sat, 18 Nov 2017 12:57:34 -0700
> From: "Charles R (Charlie) Martin" <chasrmartin@gmail.com>
> To: emacs-orgmode@gnu.org
> Subject: [O] Potential bug: embedded dot fails on require
> ob-graphviz-dot
> Message-ID:
> <CABd2k03hYhcCEbvToii_3_eX6UW=
LoCszADGSTZNvNTtGaKuNQ@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I'm trying to use `dot` inside `org-mode` and having no luck, because when
> I evaluate
>
> (org-babel-do-load-languages
> 'org-babel-load-languages
> '((dot . t)))
>
> it tries to require `ob-graphviz-dot` -- unsuccessfully.
>
> Debugger entered--Lisp error: (file-error "Cannot open load file" "No
> such file or directory" "ob-graphviz-dot")
> require(ob-graphviz-dot)
>
> I can't find `ob-graphviz-dot` anywhere.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20171118/81009c69/attachment.html
>
>
[-- Attachment #2: Type: text/html, Size: 2145 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Potential bug: embedded dot fails on require ob-graphviz-dot
2017-11-21 3:41 Eric Thomas
@ 2017-11-21 21:25 ` Kaushal Modi
0 siblings, 0 replies; 8+ messages in thread
From: Kaushal Modi @ 2017-11-21 21:25 UTC (permalink / raw)
To: Eric Thomas; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
On Mon, Nov 20, 2017 at 10:42 PM Eric Thomas <eric@ericthomas.net> wrote:
> * Here is an example of dot in action in orgmode
> <https://raw.githubusercontent.com/SeaDude/wtd-gitbook-pres/master/gitbook.org>
>
<<opens that link>>
<<reads "Gitbook For President">>
What an irony! :P
But a great example of dot-lang and ox-reveal :)
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 888 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2017-11-21 21:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-18 19:57 Potential bug: embedded dot fails on require ob-graphviz-dot Charles R (Charlie) Martin
2017-11-19 19:57 ` Eric S Fraga
2017-11-19 20:03 ` Charles R (Charlie) Martin
2017-11-19 20:05 ` Charles R (Charlie) Martin
2017-11-20 7:30 ` Eric S Fraga
2017-11-20 7:48 ` Eric S Fraga
-- strict thread matches above, loose matches on Subject: below --
2017-11-21 3:41 Eric Thomas
2017-11-21 21:25 ` Kaushal Modi
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).