Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyclic keymap inheritance calling pytools-request-tooltip-or-help #181

Closed
sebhofer opened this issue Feb 26, 2017 · 1 comment
Closed

Cyclic keymap inheritance calling pytools-request-tooltip-or-help #181

sebhofer opened this issue Feb 26, 2017 · 1 comment

Comments

@sebhofer
Copy link

Description of the problem you have

Calling C-u C-c C-f when pager buffer already exist throws an error

ein: [error] Error (error Cyclic keymap inheritance) on websocket

(Note: I use C-u, because I don't get any tooltips. Haven't looked into solving this though.)

Steps to reproduce the problem

  1. open notebook
  2. call C-u C-c C-f on some symbol (doc comes up as expected, no error)
  3. call C-u C-c C-f again, WITHOUT killing the pager buffer throws an error (just hitting q in the pager does not change anything)

Expected output

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

I could reproduce this following quick try instructions using zeroein:

git clone git://github.com/millejoh/emacs-ipython-notebook.git
cd emacs-ipython-notebook/
emacs -Q -l lisp/zeroein.el

Your IPython configuration

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

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

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

Additional information (if any)

I am using spacemacs, but I can also reproduce this without loading any spacemacs config (see above)

System info:

("EIN system info"
 :emacs-version "GNU Emacs 25.0.93.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2016-05-13"
 :emacs-bzr-version "66cd4d8bd031fb5cb1c65e3b008681021ea32906"
 :window-system x
 :emacs-variant nil
 :os
 (:uname
  "Linux thinkpad 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
"
  :lsb-release
  "No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.2 LTS
Release:	16.04
Codename:	xenial
")
 :image-types
 (svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
 :image-types-available
 (svg imagemagick png gif tiff jpeg xpm xbm pbm postscript)
 :request
 (:backend curl)
 :ein
 (:version "0.13.0"
           :source-dir "/home/sebhofer/.emacs.d/elpa/ein-20170224.1115/")
 :lib
 ((:name "websocket"
         :path "~/.emacs.d/elpa/websocket-20161113.1736/websocket.elc"
         :featurep t
         :version-var websocket-version
         :version "1.5")
  (:name "request"
         :path "~/.emacs.d/elpa/request-20170131.1747/request.elc"
         :featurep t
         :version-var request-version
         :version "0.3.0")
  (:name "auto-complete"
         :path "~/.emacs.d/elpa/auto-complete-20170124.1845/auto-complete.elc"
         :featurep nil
         :version-var nil
         :version nil)
  (:name "auto-complete"
         :path "~/.emacs.d/elpa/auto-complete-20170124.1845/auto-complete.elc"
         :featurep nil
         :version-var nil
         :version nil)
  (:name "popup"
         :path "~/.emacs.d/elpa/popup-20160709.729/popup.elc"
         :featurep nil
         :version-var nil
         :version nil)
  (:name "pos-tip"
         :path "~/.emacs.d/elpa/pos-tip-20150318.813/pos-tip.elc"
         :featurep t
         :version-var pos-tip-version
         :version "0.4.6")
  (:name "python"
         :path "/usr/local/share/emacs/25.0.93/lisp/progmodes/python.elc"
         :featurep t
         :version-var nil
         :version nil)
  (:name "markdown-mode"
         :path "~/.emacs.d/elpa/markdown-mode-20161222.1416/markdown-mode.elc"
         :featurep nil
         :version-var nil
         :version nil)
  (:name "helm"
         :path "~/.emacs.d/elpa/helm-core-20170223.2326/helm.elc"
         :featurep t
         :version-var nil
         :version nil)))
millejoh added a commit that referenced this issue Mar 19, 2017
Only enable ein:pager-mode for pager buffers that don't already have the mode
enabled.
@millejoh
Copy link
Owner

May be fixed with commit 80fc8b1. Should be available on melpa in a few hours or so.

millejoh added a commit that referenced this issue May 17, 2017
Only enable ein:pager-mode for pager buffers that don't already have the mode
enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants