Code Monkey home page Code Monkey logo

ansible-doc's People

Contributors

iqbalansari avatar swsnr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ansible-doc's Issues

Wrong number of arguments: thing-at-point

The file says:

;; Package-Requires: ((emacs "24.1"))

And I'm on:

GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.1, NS apple-appkit-1265.00) of 2013-11-14 on Magnars-MacBook-Pro.local

Maybe that's the reason I get these?

Compiling file /Users/magnars/.emacs.d/elpa/ansible-doc-20140911.427/ansible-doc.el at Tue Dec  2 14:28:13 2014

In ansible-doc-read-module:
ansible-doc.el:74:19:Warning: thing-at-point called with 2 arguments, but
    accepts only 1
Debugger entered--Lisp error: (wrong-number-of-arguments #[(thing) "�\302N\203���\302N \207\303�!\211�\205��    @   A{)\207" [thing bounds thing-at-point bounds-of-thing-at-point] 3 ("/usr/local/Cellar/emacs/24.3/share/emacs/24.3/lisp/thingatpt.elc" . 2271)] 2)
  thing-at-point(symbol no-properties)
  ansible-doc-read-module("Documentation for Ansible Module: ")
  byte-code("\300\301!C\207" [ansible-doc-read-module "Documentation for Ansible Module: "] 2)
  call-interactively(ansible-doc nil nil)

Or something else?

Empty window when attempting to look up some doc items

The problem's in the title: I can look up documentation for apt and it shows up, but attempting to see documentation for apt_key or does not, and I don't even get a Loading documentation for module apt_key in *Messages*.

I initially thought the underscore in the title is the culprit, but it isn't, I can look up the doc page for a10_server.

Lisp error: (void-function font-lock-ensure)

In a YAML file, with ansible-doc-mode enabled, pressing C-c ? service RET gives me a traceback:

  font-lock-ensure()
  ansible-doc-fontify-yaml("# Example action to start service httpd, if not running\n- service: name=httpd state=started\n\n# Example action to stop service httpd, if running\n- service: name=httpd state=stopped\n\n# Example action to restart service httpd, in all cases\n- service: name=httpd state=restarted\n\n# Example action to reload service httpd, in all cases\n- service: name=httpd state=reloaded\n\n# Example action to enable service httpd, and not touch the running state\n- service: name=httpd enabled=yes\n\n# Example action to start service foo, based on running process /usr/bin/foo\n- service: name=foo pattern=/usr/bin/foo state=started\n\n# Example action to restart network service for interface eth0\n- service: name=network state=restarted args=eth0\n\n\n")
  ansible-doc-fontify-yaml-examples()
  ansible-doc-revert-module-buffer(nil noconfirm)
  revert-buffer(nil noconfirm)
  ansible-doc-buffer("service")
  ansible-doc("service")
  #<subr call-interactively>(ansible-doc nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> ansible-doc nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively> (ansible-doc nil nil))
  call-interactively(ansible-doc nil nil)
  command-execute(ansible-doc)

This only occurs the first time I run ansible-doc. The function font-lock-ensure seems to only be on trunk, not any releases: emacs-mirror/emacs@6711a21f

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.