João Távora
1774d7cbd0
Add: easier to run tests
2012-11-06 13:27:37 +00:00
João Távora
38db5aa9fb
Refactor: remove horrible 'yas--trigger-key-for-fallback' and rework 'yas--fallback'
2012-08-22 22:56:30 +01:00
João Távora
9503c332f5
Closes #290 : problem when advancing the start of a mirror-in-field
...
* Rewrote 'yas--update-mirrors'
* Added unit test
* Advancing is done exceptionally in 'yas--update-mirrors'
not 'yas--mirror-update-display' and just before we need to
re-update the mirror-in-field.
* Alternative to prior point would be to have fields carry a reference
to their child mirrors.
2012-08-22 00:52:17 +01:00
João Távora
8a26ab0a31
Closes #277 : add new yas-active-keys
(for auto-complete)
...
Also documented and reviewed related functionality slightly.
commit 51b182104b
2012-08-19 13:51:33 +01:00
João Távora
08c6dd44b3
Fix: arrgh remove the ^M line-endings again
2012-08-19 13:46:34 +01:00
Joao Tavora
38c4b734c9
Closes #285 : fix typo introduced in 71c8e0ea469c2992a31d17b0722ebdeb789fd1bf
2012-08-16 10:45:33 +01:00
João Távora
f28a3df702
Merge branch '0.8-fsf-changes'
0.8.0
2012-08-15 15:38:43 +01:00
João Távora
100beaf735
Fix: Ooops forgot to commit the actual fix for #281 .
2012-08-15 15:38:10 +01:00
João Távora
7981f8d63b
Closes #281 : jit-load in reverse order to maintain coherence with yas-snippet-dirs
2012-08-15 15:38:10 +01:00
Jim Myhrberg
064c068c45
Add mod
snippet to ruby-mode for module
definitions
2012-08-15 15:38:10 +01:00
João Távora
f96bd13cf7
Fix: Ooops forgot to commit the actual fix for #281 .
2012-08-15 15:33:57 +01:00
João Távora
926876b1a2
Closes #281 : jit-load in reverse order to maintain coherence with yas-snippet-dirs
2012-08-15 15:09:59 +01:00
João Távora
145448b815
Merge branch '0.8-fsf-changes'
2012-08-15 15:03:45 +01:00
João Távora
f82350a75d
Merge pull request #282 from jimeh/add-ruby-module-snippet
...
Enhancement, exceptional: Add `mod` snippet to ruby-mode for `module` definitions
2012-08-13 01:12:12 -07:00
Jim Myhrberg
06306181a8
Add mod
snippet to ruby-mode for module
definitions
2012-08-11 14:37:31 +01:00
Joao Tavora
5eede17563
Fix: new yas-trigger-key
default messed up the fallbacks.
...
Introduced an ugly `yas--trigger-key-for-fallback` hack, but should be good.
2012-08-07 12:44:14 +01:00
Joao Tavora
cdea084f7a
Add: .gitignore ignores local ert files (needed for testing in Emacs 23)
2012-08-07 12:09:12 +01:00
Joao Tavora
951fb3cbe7
Fix: recursive delete-directory
does not exist in Emacs 23
2012-08-07 12:07:32 +01:00
Joao Tavora
38093c1a9e
Fix: default value for yas-trigger-key
is not "<tab>" not "TAB"
...
After some exploration, this seems to be the more correct default.
Corrected test that checks for correct binding in org-mode, pass in emacs23 and emacs24
2012-08-07 12:06:53 +01:00
Joao Tavora
b4ccb6e956
Refactor: yas-load-snippet-buffer
can be called non-interactively
2012-08-06 18:39:11 +01:00
João Távora
32c65dff47
Enhancement: add some keybinding tests
2012-08-06 09:10:54 +01:00
João Távora
18714eac59
Fix: Put buffers of yas-tryout-snippet
in yas-minor-mode
2012-08-06 08:40:20 +01:00
João Távora
fd282faaa7
Cleanup: remove unneeded test and reorganize
2012-08-05 22:32:31 +01:00
Joao Tavora
c967f74847
Closes #271 : 4th try, with backquote, need protection before collection
...
* Add one more test, probably will need even more.
2012-08-03 18:36:29 +01:00
Joao Tavora
197104b450
Closes #271 : 3rd try, protect escapes after collecting backquote elisp
...
* Add more tests
* Now only need to escape backslashes in mirror/field
transformations
2012-08-03 11:03:11 +01:00
Joao Tavora
6aff6a0894
Closes #271 : 2nd try, remove unescaping of backquote replacements
...
* Fixes previous fix (big blunder, expansion unusable)
* Added more tests
* Fixed previously broken tests.
2012-08-02 16:48:13 +01:00
Joao Tavora
12c21c6c62
Bugfix: fix for #235 didn't load, usage before definition
2012-08-02 16:05:44 +01:00
João Távora
cffd1aa095
Closes #235 : implement yas--init-yas-in-snippet-keymap
2012-08-02 08:22:14 +01:00
João Távora
f35d2dba11
Closes #271 : save backquoted elisp and re-insert at end of expansion
2012-08-01 23:38:19 +01:00
João Távora
6be1de4a09
incomplete: preparing tests to fix #271
2012-08-01 21:49:46 +01:00
Joao Tavora
c13abb7520
doc/yas-doc-helper.el: write documentation for "exported" symbols from docstrings
...
doc/manual.org: some tweaks, use new yas--document-symbols
2012-08-01 21:48:58 +01:00
João Távora
71c8e0ea46
(yas-choose-value): Accept strings as &rest argument
2012-07-31 08:43:03 +01:00
Joao Tavora
c566c929c0
bugfix: use yas-global-mode-hook
instead of advising yas-global-mode
2012-07-27 14:54:06 +01:00
Joao Tavora
6e8b698e6e
fix: reverts commit c2ce16a510bb1e533a6df19190c16982344d5303, packages should be .tar files
2012-07-24 12:14:13 +01:00
João Távora
6b35140c72
a little bitt more work on the documentation
2012-07-23 00:33:55 +01:00
João Távora
2c3d80fcac
Merge branch 'revamp-doc' into 0.8-fsf-changes.
...
Doc development will continue in this branch.
Conflicts:
README.mdown
doc/changelog.rst
doc/faq.rst
doc/index.rst
doc/snippet-development.rst
doc/snippet-expansion.rst
doc/snippet-menu.rst
doc/snippet-organization.rst
2012-07-23 00:06:26 +01:00
João Távora
c2ce16a510
Create tar.gz packages
2012-07-22 19:17:29 +01:00
João Távora
668efefdd4
refactor: redo and document some of the menu-bar code, also add tests
2012-07-22 19:11:28 +01:00
João Távora
e7f22535fb
bugfix: Support yas-use-menu
with the value 'full and JIT-loading
...
new: introduces `yas--table-mode`
2012-07-22 15:40:15 +01:00
João Távora
d4011a57d4
Closes #254 : don't show a menu at all if yas-use-menu
is nil.
2012-07-22 11:54:42 +01:00
João Távora
79d39c81a3
Don't forget to export yas-hippie-try-expand
2012-07-22 10:22:24 +01:00
João Távora
90cd855c14
Rename all non-external symbols to yas--
.
...
Maitain list of external symbols in `yas--exported-syms`
2012-07-19 02:39:12 +01:00
João Távora
96638af80e
Rename symbol references from yas/*
to yas-*
in bundled snippets
2012-07-19 02:34:03 +01:00
João Távora
e12a8bf188
Rename symbol references to from yas/*
to yas-*
in docs as well
2012-07-19 02:31:48 +01:00
João Távora
1c90e08a39
Some cleanup
2012-07-18 16:14:56 +01:00
João Távora
195997e120
Found some more vars than can be user-customized
2012-07-18 16:14:56 +01:00
João Távora
1a31a5a358
Remove profanity
2012-07-18 16:14:56 +01:00
João Távora
a51adba93d
Rename all symbols to yas-*
but alias the old yas/*
for backward compatibility
...
Bump version to 0.8
All files use unix file endings
2012-07-18 16:14:56 +01:00
João Távora
d7921cfc22
Use UTF-8 when reading in yasnippet.el
2012-07-18 16:12:07 +01:00
João Távora
19180200d9
Upgrade license headers to GPLv3
2012-07-18 12:16:30 +01:00