Xiao Hanyu
3002043496
Sync git submodule for yasmate repo
2013-12-31 16:00:38 +00:00
Joao Tavora
12b7f82dd8
Add Travis CI and update tests. Start a Changelog.
...
* .travis.yml: new file
* README.mdown: Add Travis CI badge.
* Rakefile: use ert-run-tests-batch-and-exit.
* yasnippet-tests.el (example-for-issue-404-external-emacs): Use
`yas-with-snippet-dirs' to not depend on bundled snippets.
(yas--call-with-temporary-redefinitions): Use `cl-labels' since no
cl-flet in emacs-24.3's cl-lib.el.
(loading-with-cyclic-parenthood): prog-mode doesn't exist in emacs
24.3.
(yas-batch-run-tests): remove it.
* yasnippet.el (require): require cl-lib during byte-compilation
and load.
2013-12-31 15:58:21 +00:00
João Távora
f94c38eade
Merge pull request #449 from nibua-r/https-submodules
...
Use https instead of ssh for submodules access
2013-12-26 11:38:51 -08:00
Noam Postavsky
78c8b5eb80
yas--document-symbol: fix no transform case
...
was causing YASnippetnippet
2013-12-24 11:49:24 -05:00
Noam Postavsky
df58222fe6
yas--document-symbols: respect level arg, raise to 1
2013-12-24 11:36:16 -05:00
Noam Postavsky
e190b088f0
Rakefile: don't fail with EMACS=t env setting
...
This lets it work from M-x shell.
2013-12-24 11:27:57 -05:00
Noam Postavsky
22773c77a0
add a link to the symbol reference in top menu
2013-12-24 11:14:57 -05:00
Noam Postavsky
24d7a67932
fix typo
2013-12-24 11:14:39 -05:00
Joao Tavora
c18672a227
Closes #447 : only call command beyond yasnippet if it exists
2013-12-24 09:43:56 +00:00
Renaud AUBIN
49166572c8
Use https instead of ssh for submodules access
...
To enable direct access through a proxy, the submodules url definitions
need to use https instead of ssh.
2013-12-24 09:57:30 +01:00
João Távora
0567c931f4
Merge pull request #442 from npostavs/auto-export
...
populate yas--exported-syms based on sym prefix
2013-12-23 02:44:24 -08:00
João Távora
ba0b02fb3e
Merge pull request #446 from dongxiong/patch-2
...
Remove one extra `yas-text` exportation
2013-12-20 03:12:02 -08:00
dongxiong
90e7595c74
yas-text export twice
...
Something different between line 4521 and line 4528? I am not sure about this.
2013-12-20 13:06:37 +08:00
Noam Postavsky
6c752a1572
populate yas--exported-syms based on sym prefix
...
Rename what was formerly yas--exported-syms to yas--backported-syms,
and remove yas--dont-backport.
2013-12-12 23:19:21 -05:00
Noam Postavsky
46b4a02673
doc:upload stylesheets/*.css to gh-pages
2013-12-10 23:10:16 -05:00
Noam Postavsky
b944cc9b12
fix rake doc:upload
2013-12-10 23:02:53 -05:00
Noam Postavsky
260ecf9c3a
fix a faq title
2013-12-10 22:52:34 -05:00
Noam Postavsky
d89e837d68
add top level menu, minimal styling
2013-12-10 22:50:49 -05:00
Noam Postavsky
7518cb4621
rake doc:upload: check for wrong/incomplete rev
2013-12-06 13:00:40 -05:00
Joao Tavora
7d4e4aa34c
Closes #440 : don't use make-variable-buffer-local' for
yas--extra-modes'
2013-12-03 15:20:53 +00:00
Noam Postavsky
0a9885eb62
markup suffixed variable names, eg SUBEXPth
2013-12-02 23:19:23 -05:00
Joao Tavora
582e3680b6
minor: cosmetic fixes to manual
2013-12-02 19:28:56 +00:00
Joao Tavora
0f8007e67e
Simplify: index.org no longer repeats info in the README
2013-12-02 19:28:08 +00:00
Joao Tavora
c61f81f02d
Closes #439 : add a faq question about redefining keys
...
Also, don't mention yas-trigger-key anymore in the manual
2013-12-02 19:27:35 +00:00
Joao Tavora
6927f6943e
minor: README.mdown link
2013-11-29 21:48:44 +00:00
Joao Tavora
1cf9168831
Merge branch 'unclutter': snippets and textmate importation snippets are now submodules
2013-11-29 21:34:48 +00:00
Noam Postavsky
eda83304af
only /italicize/ words completely in upper case
...
no /YAS/nippet
2013-11-28 23:35:32 -05:00
Noam Postavsky
a9e303525c
docstring fixes
...
yas--prompt-function -> yas-prompt-functions
yas-fallback-behaviour -> yas-fallback-behavior
2013-11-28 23:35:32 -05:00
Noam Postavsky
f86529c96f
only crosslink exported symbols
2013-11-28 23:35:32 -05:00
Noam Postavsky
21914cfe32
yas--document-symbol: reindent
2013-11-28 23:35:32 -05:00
Noam Postavsky
46c378d738
format args in docstrings as =code=, not /italic/
2013-11-28 23:35:28 -05:00
Joao Tavora
4f27187477
refactor: removed extras and snippets tree, both point to submodules
2013-11-28 22:45:40 +00:00
Noam Postavsky
860858de42
Merge pull request #436 from npostavs/autodoc-1,2
...
Fix points 1 and 2 of #434
2013-11-27 18:55:00 -08:00
Noam Postavsky
2c237cc311
check function doc before variable doc
...
This means functions shadow variables with the same name, but at least
that's better than listing functions with the documentation from the
variable! (That happened because the call to yas--document-symbols in
snippet-reference.org was prefering function values to variables, while
the yas--document-symbol was prefering variable doc to function doc).
2013-11-27 21:44:18 -05:00
Noam Postavsky
eaa3141402
fix docstring extraction for "fancy" docs
...
The docstrings for yas-expand and yas-expand-from-keymap are generated
on the fly, depending on how they are called ("context"). Add a context
argument to the synthesizing functions and pass it nil when extracting
docstrings for the manual.
2013-11-27 21:34:29 -05:00
Noam Postavsky
8d7c9a63a2
retrieve function documentation correctly
2013-11-27 21:04:26 -05:00
Noam Postavsky
fd3fa39444
publish org doc from Rakefile
2013-11-26 23:09:18 -05:00
Noam Postavsky
07b1d3925c
move #+STARTUP to org-setup.inc; add #+LINK_HOME
...
also remove #+AUTHOR since it ends up refering to the generator, not the
actual author.
2013-11-26 23:09:18 -05:00
Noam Postavsky
0aebb41aca
move top heading to title
...
and all the other headings one level up. Except for
snippet-reference.org; yas--document-symbols doesn't quite work right in
that case, fix it later.
2013-11-26 23:09:17 -05:00
Noam Postavsky
dfdb89c61c
remove erroneous #+BEGIN/END_QUOTE
...
pandoc decided to add those for some reason
2013-11-26 23:09:17 -05:00
Noam Postavsky
da9852a43f
{snippet-development,faq}.org: fixup pandoc output
...
- add source blocks
- fix links
- don't duplicate docstrings
- formatting
2013-11-26 23:09:17 -05:00
Noam Postavsky
63873e7d5a
snippet-menu.org: links, formatting, obsolete refs
2013-11-26 23:09:17 -05:00
Noam Postavsky
eaeb6ff7a9
more links to docstrings, don't repeat docstrings
2013-11-26 23:09:17 -05:00
Noam Postavsky
08a44b43dc
add code examples for snippet-expansion.rst
...
pandoc org -> rst drops them
2013-11-26 23:09:17 -05:00
Noam Postavsky
8f1fa089fb
replace obsolete refs
...
yas-trigger-key -> bind yas-expand
yas-mode-symbol -> call yas-activate-extra-mode
2013-11-26 23:09:17 -05:00
Noam Postavsky
2f7bb6c751
move images to the section they describe
2013-11-26 23:09:17 -05:00
Noam Postavsky
e46d9c7410
link to docstring ref; fix other links, formatting
2013-11-26 23:09:17 -05:00
Noam Postavsky
7b82424735
move index.org subsection into snippet-expansion.org
2013-11-26 23:09:16 -05:00
Noam Postavsky
fd8423cb63
fix links
2013-11-26 23:09:16 -05:00
Noam Postavsky
875ef77dfb
move index.org subsection into snippet-organization.org
...
This almost completely overwrites the existing snippet-organization.org
which was imported from snippet-organization.rst via pandoc.
2013-11-26 23:09:16 -05:00