tkf / emacs-ipython-notebook

IPython notebook client in Emacs
tkf.github.com/emacs-ipython-notebook/
GNU General Public License v3.0
548 stars 51 forks source link

console args do not appear in the customize group? #123

Open EvanMisshula opened 11 years ago

EvanMisshula commented 11 years ago

Hi Takafumi,

Description of the problem you have

Thank you for this wonderful package. I have used it locally with great success. I was also able to use it on a remote machine without an x-windows server on a non-graphical version of emacs. However, I am trying to set your up to talk to a remote machine through ssh. The documentation says that I need to set up ein:console-args. These do not appear when I type M-x customize-group. Can you help me find the problem? (As per the template, I deleted the *elc files.)

Thanks, Evan

Steps to reproduce the problem

1.start ipython kernel locally

  1. type M-x ein:console-
  2. the only one that appears is ein:console-open

    Expected output

I expected to see ein:console-args, ein:security-dirs

Your EIN configuration (in .emacs.d/init.el or somewhere else)

(add-to-list 'load-path "/home/evan/.emacs.d/elpa/ein-20130611.1651")

(require 'ein)

Your IPython configuration

  1. What is your IPython version? (run ipython --version):

ipython 0.13.2

  1. How do you start IPython? (e.g., ipython notebook --port 9999):

ipython notebook --pylab=inline

  1. What is your IPython notebook port number or URL?:

port number 8888

Additional information (if any)

System info:

("EIN system info" :emacs-version "GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2013-03-21 on evan-Dell-System-Inspiron-N7110" :emacs-bzr-version nil :window-system x :emacs-variant nil :os (:uname "Linux evan-Dell-System-Inspiron-N7110 3.2.0-49-generic #75-Ubuntu SMP Tue Jun 18 17:39:32 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux " Distributor ID: Ubuntu Description: Ubuntu 12.04.2 LTS Release: 12.04 Codename: precise ") :image-types (svg png gif tiff jpeg xpm xbm pbm postscript) :image-types-available (svg png gif tiff jpeg xpm xbm pbm postscript) :request (:backend curl) :ein (:version "0.2.1alpha2" :source-dir "/home/evan/.emacs.d/elpa/ein-20130611.1651/") :lib ((:name "websocket" :version-var websocket-version :version "1.0") (:name "request" :path "~/.emacs.d/elpa/request-20130526.1915/request.elc" :version "0.2.0") (:name "auto-complete" :path "~/.emacs.d/el-get/auto-complete/auto-complete.elc" (:name "mumamo" :path "~/.emacs.d/el-get/nxhtml/util/mumamo.elc" :version "0.91") (:name "auto-complete" :path "~/.emacs.d/el-get/auto-complete/auto-complete.elc" :version nil) (:name "popup" :path "~/.emacs.d/el-get/popup/popup.elc" :version "0.5.0") (:name "fuzzy" :path "~/.emacs.d/el-get/fuzzy/fuzzy.elc" (:name "python" :path "/usr/local/share/emacs/24.3/lisp/progmodes/python.elc" :version nil)))

tkf commented 11 years ago

It looks like there is a bit of flaw in EIN when used with customize-group. Some modules in EIN are lazily loaded but customize-group does not work if the module is not loaded. I have to think about a good solution (as simple autoload cookie does not work) so it may take sometime.

For now, you can do M-x load-library ein-console then M-x customize-group.

tkf commented 11 years ago

or just good old setq in your init.el

EvanMisshula commented 11 years ago

Many thanks. Close this issue, but I will probably have more as I work through this.

:-)

On Thu, Jul 11, 2013 at 2:30 PM, Takafumi Arakaki notifications@github.comwrote:

or just good old setq in your init.el

— Reply to this email directly or view it on GitHubhttps://github.com/tkf/emacs-ipython-notebook/issues/123#issuecomment-20832043 .

Evan Misshula Doctoral Student (Criminal Justice) CUNY John Jay "Let us reform our schools, and we shall find little reform needed in our prisons." John Ruskin, Unto This Last, essay 2 (1862) English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann Wolfgang Von Goethe www.snrg-nyc.org

EvanMisshula commented 11 years ago

Hi Takafumi,

No more questions on this one. I have emacs-ipython-notebook interacting with a remote kernel. I will write another tutorial for this. I also will make some minor additions to the online docs in a branch or two. I will send you a pull request and you can decide if they help or hurt.

Thanks again, Evan

On Thu, Jul 11, 2013 at 3:55 PM, Evan Misshula evanmisshula@gmail.comwrote:

Many thanks. Close this issue, but I will probably have more as I work through this.

:-)

On Thu, Jul 11, 2013 at 2:30 PM, Takafumi Arakaki < notifications@github.com> wrote:

or just good old setq in your init.el

— Reply to this email directly or view it on GitHubhttps://github.com/tkf/emacs-ipython-notebook/issues/123#issuecomment-20832043 .

Evan Misshula Doctoral Student (Criminal Justice) CUNY John Jay "Let us reform our schools, and we shall find little reform needed in our prisons." John Ruskin, Unto This Last, essay 2 (1862) English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann Wolfgang Von Goethe www.snrg-nyc.org

Evan Misshula Doctoral Student (Criminal Justice) CUNY John Jay "Let us reform our schools, and we shall find little reform needed in our prisons." John Ruskin, Unto This Last, essay 2 (1862) English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann Wolfgang Von Goethe www.snrg-nyc.org