emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ob-ruby.el: Don't reuse the same buffer among different name


From: Aaron Madlon-Kay
Subject: Re: [PATCH] ob-ruby.el: Don't reuse the same buffer among different named
Date: Fri, 11 Dec 2020 16:23:11 +0900

> +                                     (run-ruby-or-pop-to-buffer
> +                                      cmd (or session "ruby")
> +                                      (unless session
> +                                        (inf-ruby-buffer)))

I have just run into an issue with this: If you don't specify :ruby
then `cmd' for me is calculated by

    (cdr (assoc inf-ruby-default-implementation inf-ruby-implementations))

which gives the function `inf-ruby--irb-command' as a result.

However `run-ruby-or-pop-to-buffer' expects to get a string only.

I'm not sure if it should be org-mode's responsibility to resolve the
actual command string, or if it should be done by
`run-ruby-or-pop-to-buffer'. (It kind of seems like the latter?)

Any thoughts?

-Aaron



reply via email to

[Prev in Thread] Current Thread [Next in Thread]