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
Noam Postavsky
5acc976712
split symbol reference into separate file
2013-11-26 23:09:16 -05:00
Noam Postavsky
f6cace08f3
convert old rst manuals to org mode
...
This is just the initial conversion with pandoc, they still need to be
fixed up. Also define new org files as a project in yas-doc-helper.el.
2013-11-26 23:09:16 -05:00
Noam Postavsky
d451fef0ab
rename manual.org to index.org
2013-11-26 23:09:16 -05:00
Noam Postavsky
c7c65163e5
don't use link abbreviations
...
It's unnecessary indirection when there aren't multiple links to the
same site.
2013-11-26 23:09:16 -05:00
João Távora
81e26b418c
Merge pull request #431 from ignisf/update-snippet-submodules
...
Migrate to snippets maintained by the TextMate community
2013-11-25 16:10:22 -08:00
Petko Bordjukov
042837d542
Migrate to snippets maintained by the TextMate community
2013-11-25 22:51:02 +02:00
João Távora
3002594c0e
Merge pull request #430 from npostavs/org-doc
2013-11-24 17:49:29 -08:00
Noam Postavsky
8e8320fadb
remove reference to yas-trigger-key
2013-11-23 14:38:43 -05:00
Noam Postavsky
fdd550a698
Fix screencast link.
2013-11-23 14:20:50 -05:00
Noam Postavsky
b20f0a4270
fix exporting of doc strings for org manual
...
need to pass (1+ level) to yas--document-symbol
2013-11-23 13:31:38 -05:00
Noam Postavsky
bc4cfbbb04
yas/ -> yas-
2013-11-12 01:55:05 -05:00
Noam Postavsky
a4a7e5e31e
fix typo: .yas.parents -> .yas-parents
...
same as 8853127, for org
2013-11-12 01:47:46 -05:00
Noam Postavsky
f5457dfa33
Go back to org manual
2013-11-12 01:42:44 -05:00
João Távora
0f67c07ddd
Merge pull request #424 from ljos/de/activate-extra-mode
...
Feature: de/activate-extra-mode
2013-10-31 06:28:26 -07:00
Joao Tavora
6ee3d2e0b6
Closes #404 : merge remote-tracking branch 'npostavs/widen'
2013-10-31 13:03:42 +01:00
Joao Tavora
43a484e943
add: external test for issue #404
2013-10-31 13:03:32 +01:00
Noam Postavsky
d7b2b89eaa
widen before deleting regions
...
This avoid problems with c-mode's after change hooks.
2013-10-30 18:25:51 -04:00
Bjarte Johansen
d5d6e456bf
Feature: de/activate-extra-mode
...
Adds functionality to deactivate/activate extra modes. Two new functions
are added: `activate-extra-mode', `deactivate-extra-mode'. These two
functions activate and deactivate snippets for the given mode in the
current buffer. The use-case for the functions is to have a simple
interface for adding new snippets when activating a new minor mode.
The previous way of doing this, using `yas-extra-modes', is made
obsolete and the new deactivate/activate should be the preferred
instead. The reason for making `yas-extra-modes' obsolete is to keep a
simple interface.
See issue #420 for more information.
2013-10-27 20:38:12 +01:00
João Távora
84b7e69413
Merge pull request #423 from npostavs/load-snippet-ui
...
Improve load snippet ui
2013-10-26 16:37:17 -07:00
Noam Postavsky
33dff9ad12
let C-c C-c save existing snippets too
2013-10-26 14:40:50 -04:00
Noam Postavsky
205b0e6970
move snippet saving from loading to closing
...
yas-load-snippet-buffer now just loads the snippet,
yas-load-snippet-buffer-and-close also saves it.
2013-10-26 13:42:32 -04:00