emacsorphanage / ansible-doc Goto Github PK
View Code? Open in Web Editor NEWAnsible documentation for GNU Emacs
License: GNU General Public License v3.0
Ansible documentation for GNU Emacs
License: GNU General Public License v3.0
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?
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
.
Use YAML mode to fontify examples at bottom.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.