985 Commits

Author SHA1 Message Date
João Távora
78c52fdf5c fix: shoosh warning with LETREC instead of LET 2013-09-02 12:01:24 +01:00
João Távora
ce50b3dbfa Closes #318: Don't use CL-LABELS for backward compatibility with older emacsen 2013-09-02 11:55:55 +01:00
João Távora
a7d40ed14a Closes #318: correctly implement YAS--MODES-TO-ACTIVATE
- simpler and got rid of YAS--ALL-PARENTS
- also got rid of YAS/MODE-SYMBOL backward compatibility hack
2013-08-31 23:48:19 +01:00
João Távora
ddaf9a9f5c Fix: cleanup yasnippet-tests.el
- add edebug-form-specs
- replace "yas/" with "yas-"
- yas/ert => yas-batch-run-tests
2013-08-31 23:48:00 +01:00
Joao Tavora
6ce6b24f52 fix: replace 'text' in 'yas-text' in bundled snippets
The previous commit broke these snippets by enabling
2013-08-30 17:13:02 +01:00
Joao Tavora
13d87aa3c0 fix: more idiomatic elisp, better docstrings, less byte-compiler warnings
By Stefan Monnier, with original commentary.

"Here's an untested patch of cleanups, found partly via compilation using
lexical-binding and partly via checkdoc-current-buffer (and
occasionally by stumble-upon happenstance)."
2013-08-29 10:20:31 +01:00
João Távora
a2f0f7f767 Merge pull request #397 from thisirs/customizable-snippet
Make default snippet customizable
2013-08-20 08:53:32 -07:00
thisirs
501857e767 Assume NO-TEMPLATE is non-nil if `yas-new-snippet-default' is nil 2013-08-20 17:19:35 +02:00
thisirs
80bb95326b Factor out embedded elisp code
* yasnippet.el (yas--key-from-desc): Added
2013-08-20 17:19:35 +02:00
thisirs
3acb8c5773 Make default snippet customizable 2013-08-20 17:19:35 +02:00
Joao Tavora
9e085ec05d closes #391: don't assume `declare-function'/ exists, it doesn't in emacs22 2013-07-22 18:32:45 +01:00
João Távora
636c01d34a doc: finally decided to write the manual in markdown
will use same or similar doc helpers
2013-05-09 00:07:22 +01:00
João Távora
ccea21bf99 doc: remove README.org 2013-05-08 23:50:54 +01:00
Joao Tavora
8bf75fe425 Closes #372: removed trailing spaces in snippets 2013-05-05 21:15:27 -04:00
Joao Tavora
9df05fc413 Minor: indenting in for yasnippet-tests.el macro 2013-05-05 20:42:33 -04:00
Joao Tavora
0da56720a8 Closes #318: now checks for circular parenthood in snippet dirs 2013-05-05 20:42:33 -04:00
João Távora
742b353a81 Merge pull request #377 from tarsius/master
do not require dropdown-list at compile time
2013-05-04 06:39:45 -07:00
Jonas Bernoulli
57138e6df4 do not require dropdown-list at compile time
It might not be available.

Also update commentary with respect to dropdown-list.
2013-05-04 03:36:06 +02:00
João Távora
7172a450d2 Merge pull request #370 from tarsius/master
remove bundled dropdown-list.el
2013-05-02 00:34:49 -07:00
Jonas Bernoulli
0bd2f3ef64 remove bundled dropdown-list.el
It is available from melpa, so no need to bundle it.
2013-03-12 19:35:01 +01:00
Joao Tavora
d9d7ed32ae Closes #312: YAS-MODE-SYMBOL does not exist anymore, replaced by YAS-EXTRA-MODES 2013-02-20 11:09:53 +00:00
João Távora
e3a5f6e0c7 Fix: moved snippets/js2-mode to snippets/js-mode 2013-02-18 22:29:25 +00:00
João Távora
2cf544b67f Merge pull request #363 from azer/master
Add JavaScript Snippets
2013-02-16 10:27:54 -08:00
João Távora
bf554212d3 Merge pull request #358 from Sarcasm/master
Make yas--version compatible with version-to-list()
2013-02-16 10:24:43 -08:00
E.Azer Koçulu
61cee70ec0 add js snippets 2013-02-15 14:22:23 -08:00
Guillaume Papin
8772b51052 Fix yas--version to compatible with version-to-list 2013-02-04 10:42:09 +01:00
João Távora
700a68eb15 Merge pull request #355 from tkf/fix-yas--message
Fix yas--message for the case message contains %
2013-01-12 21:53:17 -08:00
Takafumi Arakaki
2e118646f0 Fix yas--message for the case message contains % 2013-01-12 18:23:16 +01:00
João Távora
618cf506ee Doc: document structures YAS--FIELD and YAS--MIRROR 2012-12-25 04:30:26 +00:00
João Távora
35493b8f06 Fix: enclose this test in WITH-TEMP-BUFFER 2012-12-25 04:30:26 +00:00
João Távora
74e8f43f06 Closes #351: sort mirrors by nesting depth when updating 2012-12-25 04:30:19 +00:00
Joao Tavora
04970abf30 Closes #315: don't consider keybindings when filtering snippets in YAS-ACTIVE-KEYS 2012-12-24 16:35:03 +00:00
João Távora
810de9a4b0 Add: unit test for YAS-MINOR-MODE-MAP rebindings 2012-12-24 01:45:59 +00:00
João Távora
e5c41c78d2 Fix: tests also use YAS--WITH-TEMPORARY-REDEFINITIONS to make stubs 2012-12-24 01:35:05 +00:00
João Távora
1ef0091de1 Fix: YAS-RELOAD-ALL preserves user bindings on YAS-MINOR-MODE-MAP cleanup
- Don't create a new keymap on every reload
2012-12-23 20:43:23 +00:00
João Távora
9b31880ed1 Fix: double check if mac trigger symbol is available 2012-12-22 18:18:04 +00:00
João Távora
1db685c480 Fix: YAS--CALLED-INTERACTIVELY-P should reverse its condition check 2012-12-22 18:04:54 +00:00
João Távora
a74481f491 Merge pull request #343 from dgutov/zip
Remove group-name prefix from ruby-mode/collections/zip
2012-12-17 03:59:18 -08:00
João Távora
1bc497ecbe Closes #335: YAS-DONT-ACTIVATE is only buffer-local in pre-24 emacsen 2012-12-17 00:13:17 +00:00
João Távora
327fa4b86e Merge pull request #344 from dgutov/no-aget
Fix: remove the use of AGET that has creeped in
2012-12-16 15:53:04 -08:00
João Távora
d9f966a220 Closes #347: can't expect THIS-COMMAND to have valid value in YAS-BUFFER-LOCAL-CONDITION 2012-12-16 14:36:14 +00:00
Dmitry Gutov
f6d6d4ca56 Remove the use of aget that has creeped in
See also c38c3aa, 38db5aa9fbf0f60dce63b83cab8f028bfcd152bd and
9de1c5f4fb6f281cfa4af869d393db76616cb42e#commitcomment-2265088
2012-12-09 03:08:57 +04:00
Dmitry Gutov
100aa7c0af Remove group-name prefix from ruby-mode/collections/zip
Bug introduced in f48317e7c5ecdbb7680d0ea2c595cfda0342c3bb and not-fixed in
3aea27042bc2a0f05b2755e0c5c4edc43b426aed.
2012-12-09 02:15:43 +04:00
João Távora
4f99f9dc20 Closes #339 2012-11-27 00:25:51 +00:00
João Távora
cfefaca284 Fix: cleanup after #333 fix, use 'cl-flet' 2012-11-17 16:38:11 +00:00
Joao Tavora
7e4876169b Fix: also use $EMACS env var in compilation 2012-11-16 15:15:56 +00:00
Joao Tavora
0778a1b61b Fix: Closes #330 2012-11-16 15:15:24 +00:00
João Távora
b29e4b9259 Doc: update "reporting bugs" section in README 2012-11-09 14:07:32 +00:00
João Távora
ed4dbdf378 Doc: added notice about bug reporting 2012-11-08 22:59:45 +00:00
João Távora
0ab9fb281e Minor: make 'yas--define-snippets-1' an internal defun 2012-11-08 22:22:41 +00:00