413 Commits

Author SHA1 Message Date
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
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
18714eac59 Fix: Put buffers of yas-tryout-snippet in yas-minor-mode 2012-08-06 08:40:20 +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
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
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
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
19180200d9 Upgrade license headers to GPLv3 2012-07-18 12:16:30 +01:00
João Távora
7e39aa3e56 Fix #266 2012-07-17 04:11:22 +01:00
João Távora
aae62703f4 On yas/reload-all be clearer as to whether just-in-time loading is active 2012-07-16 14:16:44 +01:00
João Távora
19dd43cb52 Fix #70 2012-07-16 14:13:42 +01:00
Joao Tavora
3b26af4233 yasnippet now belongs to the FSF 2012-07-13 17:34:34 +01:00
João Távora
275ac7fe00 bugfix: yas/reload-all should reload all snippets bypassing jit when called interactively. 2012-06-28 22:34:22 +01:00
João Távora
ee398f4d5a bugfix: error in yas/add-template when omit-items was used in yas/define-menu 2012-06-27 17:04:17 +01:00
João Távora
73073f9078 bugfix: fix issue #255, removing a keybinding from a snippet doesn't really unbind it if it's the last one
enhancement: internal doc update with ascii diagram
2012-06-15 01:27:51 +01:00
Le Wang
6b841dd247 allow yas/dont-activate to take list of functions with default being (minibufferp)
- This allows the user to configure whether yasnippet should be enabled in
  minibuffer while preserving the current default.
2012-06-05 00:40:21 +08:00
Le Wang
5ed6adadce only hippie-expand when yas/minor-mode is on 2012-06-05 00:08:44 +08:00
João Távora
a2ee7914fb enhancement: Update some meta-info for #217 2012-05-29 22:30:05 +01:00
João Távora
433c937465 cleanup: remove `yas/find-snippets\', complicated and no one seems to use it anyway 2012-05-29 21:41:55 +01:00
João Távora
bcb3cd30aa bugfix: more tweaks to the interactive spec of `yas/reload-all' 2012-05-29 21:23:15 +01:00
João Távora
490389e1e1 bugfix: removed interactive spec of yas/reload-all 2012-05-29 21:11:21 +01:00
Joao Tavora
33a07c3544 enhancement: nicer `yas/new-snippet\' template 2012-05-23 11:46:36 +01:00
Joao Tavora
c9bd102cb3 bugfix: fix #245 2012-05-23 11:45:45 +01:00
Joao Tavora
922304ffdf enhancement: minor cleanup to the loading mechanism 2012-05-22 17:49:57 +01:00
Joao Tavora
c38c3aaab8 bugfix: Fix #242 2012-05-22 17:47:32 +01:00
Joao Tavora
a7b78cf198 cleanup: minor whitespace and doc cleanup 2012-05-21 14:48:08 +01:00
Joao Tavora
4f846f2c36 bugfix: fix #233 2012-05-21 14:47:42 +01:00
Joao Tavora
9fc2e20d91 fix: get rid of yas/no-jit', interactive calls to yas/reload-all' do *not* use jit 2012-05-21 14:46:33 +01:00
João Távora
ed85eb488b Make jit-loading be the default. See issue #240. 2012-05-06 11:36:54 +01:00
Tao Peng
404089ba05 typo error in `yas/comleting-prompt' 2012-05-02 15:20:59 +02:00
João Távora
6d416253ac Merge branch 'jit-loading', implementing #160. 2012-04-29 12:48:22 +01:00
João Távora
fcb4dfe43d jit-loading: some minor refactoring and better tests 2012-04-29 12:43:42 +01:00
João Távora
7bf1517898 Fix #237 2012-04-28 17:21:12 +01:00
João Távora
dad9612b3c Merge pull request #234 from rson/patch-1
Fix documentation typo.
2012-04-22 09:53:10 -07:00
João Távora
584d1d80bf yas/load-directory-1: also start supressing emacs-lisp load messages when yas/verbosity is 2 or lower 2012-04-22 17:27:00 +01:00