]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
11 years agoAdd: unit test for YAS-MINOR-MODE-MAP rebindings
João Távora [Mon, 24 Dec 2012 01:45:59 +0000 (01:45 +0000)]
Add: unit test for YAS-MINOR-MODE-MAP rebindings

11 years agoFix: tests also use YAS--WITH-TEMPORARY-REDEFINITIONS to make stubs
João Távora [Mon, 24 Dec 2012 01:35:05 +0000 (01:35 +0000)]
Fix: tests also use YAS--WITH-TEMPORARY-REDEFINITIONS to make stubs

11 years agoFix: YAS-RELOAD-ALL preserves user bindings on YAS-MINOR-MODE-MAP cleanup
João Távora [Sun, 23 Dec 2012 20:43:23 +0000 (20:43 +0000)]
Fix: YAS-RELOAD-ALL preserves user bindings on YAS-MINOR-MODE-MAP cleanup

- Don't create a new keymap on every reload

11 years agoFix: double check if mac trigger symbol is available
João Távora [Sat, 22 Dec 2012 18:18:04 +0000 (18:18 +0000)]
Fix: double check if mac trigger symbol is available

11 years agoFix: YAS--CALLED-INTERACTIVELY-P should reverse its condition check
João Távora [Sat, 22 Dec 2012 18:04:54 +0000 (18:04 +0000)]
Fix: YAS--CALLED-INTERACTIVELY-P should reverse its condition check

11 years agoMerge pull request #343 from dgutov/zip
João Távora [Mon, 17 Dec 2012 11:59:18 +0000 (03:59 -0800)]
Merge pull request #343 from dgutov/zip

Remove group-name prefix from ruby-mode/collections/zip

11 years agoCloses #335: YAS-DONT-ACTIVATE is only buffer-local in pre-24 emacsen
João Távora [Mon, 17 Dec 2012 00:05:29 +0000 (00:05 +0000)]
Closes #335: YAS-DONT-ACTIVATE is only buffer-local in pre-24 emacsen

11 years agoMerge pull request #344 from dgutov/no-aget
João Távora [Sun, 16 Dec 2012 23:53:04 +0000 (15:53 -0800)]
Merge pull request #344 from dgutov/no-aget

Fix: remove the use of AGET that has creeped in

11 years agoCloses #347: can't expect THIS-COMMAND to have valid value in YAS-BUFFER-LOCAL-CONDITION
João Távora [Sun, 16 Dec 2012 14:36:14 +0000 (14:36 +0000)]
Closes #347: can't expect THIS-COMMAND to have valid value in YAS-BUFFER-LOCAL-CONDITION

11 years agoRemove the use of `aget` that has creeped in
Dmitry Gutov [Sat, 8 Dec 2012 23:08:57 +0000 (03:08 +0400)]
Remove the use of `aget` that has creeped in

See also c38c3aa38db5aa9fbf0f60dce63b83cab8f028bfcd152bd and
9de1c5f4fb6f281cfa4af869d393db76616cb42e#commitcomment-2265088

11 years agoRemove group-name prefix from ruby-mode/collections/zip
Dmitry Gutov [Sat, 8 Dec 2012 22:15:43 +0000 (02:15 +0400)]
Remove group-name prefix from ruby-mode/collections/zip

Bug introduced in f48317e7c5ecdbb7680d0ea2c595cfda0342c3bb and not-fixed in
3aea27042bc2a0f05b2755e0c5c4edc43b426aed.

11 years agoCloses #339
João Távora [Tue, 27 Nov 2012 00:25:51 +0000 (00:25 +0000)]
Closes #339

11 years agoFix: cleanup after #333 fix, use 'cl-flet'
João Távora [Sat, 17 Nov 2012 16:38:00 +0000 (16:38 +0000)]
Fix: cleanup after #333 fix, use 'cl-flet'

11 years agoFix: also use $EMACS env var in compilation
Joao Tavora [Fri, 16 Nov 2012 15:15:56 +0000 (15:15 +0000)]
Fix: also use $EMACS env var in compilation

11 years agoFix: Closes #330
Joao Tavora [Fri, 16 Nov 2012 15:15:24 +0000 (15:15 +0000)]
Fix: Closes #330

11 years agoDoc: update "reporting bugs" section in README
João Távora [Fri, 9 Nov 2012 14:07:32 +0000 (14:07 +0000)]
Doc: update "reporting bugs" section in README

11 years agoDoc: added notice about bug reporting
João Távora [Thu, 8 Nov 2012 22:59:45 +0000 (22:59 +0000)]
Doc: added notice about bug reporting

11 years agoMinor: make 'yas--define-snippets-1' an internal defun
João Távora [Thu, 8 Nov 2012 22:22:41 +0000 (22:22 +0000)]
Minor: make 'yas--define-snippets-1' an internal defun

11 years agoMerge remote-tracking branch 'rolandwalker/byte-compiler-3'
João Távora [Thu, 8 Nov 2012 22:21:19 +0000 (22:21 +0000)]
Merge remote-tracking branch 'rolandwalker/byte-compiler-3'

Fix: reorder defuns to quieten byte-compiler

Conflicts:
yasnippet.el

11 years agoMinor: cleanup internal doc headings slightly
João Távora [Thu, 8 Nov 2012 22:15:42 +0000 (22:15 +0000)]
Minor: cleanup internal doc headings slightly

11 years agoreorder defuns to quieten byte-compiler
Roland Walker [Thu, 8 Nov 2012 19:33:21 +0000 (14:33 -0500)]
reorder defuns to quieten byte-compiler
Two warnings avoided:
function `yas-define-snippets' defined multiple times in this file
the function `yas-define-snippets' is not known to be defined

11 years agoMerge pull request #328 from rolandwalker/byte-compiler-2
João Távora [Thu, 8 Nov 2012 18:22:33 +0000 (10:22 -0800)]
Merge pull request #328 from rolandwalker/byte-compiler-2

Fix: new 'yas--called-interactively-p' to shoosh byte-compiler

11 years agoreplace interactive-p with called-interactively-p macro
Roland Walker [Thu, 8 Nov 2012 17:47:00 +0000 (12:47 -0500)]
replace interactive-p with called-interactively-p macro
tested compatible with GNU Emacs v 22.x - 24.x

11 years agoMerge remote-tracking branch 'rolandwalker/flet'
João Távora [Tue, 6 Nov 2012 18:33:37 +0000 (18:33 +0000)]
Merge remote-tracking branch 'rolandwalker/flet'

Conflicts:
yasnippet.el

11 years agocomment
Roland Walker [Tue, 6 Nov 2012 18:06:01 +0000 (13:06 -0500)]
comment

11 years agoCloses #253.
João Távora [Tue, 6 Nov 2012 15:52:33 +0000 (15:52 +0000)]
Closes #253.

11 years agoFix: need to require `assoc`, since using `aget` somewhere
João Távora [Tue, 6 Nov 2012 15:51:32 +0000 (15:51 +0000)]
Fix: need to require `assoc`, since using `aget` somewhere

11 years agoFix: expose and honour `yas-dont-activate`
João Távora [Tue, 6 Nov 2012 15:18:04 +0000 (15:18 +0000)]
Fix: expose and honour `yas-dont-activate`

11 years agoMerge branch 'trigger-key-fallback-cleanup'
João Távora [Tue, 6 Nov 2012 14:16:46 +0000 (14:16 +0000)]
Merge branch 'trigger-key-fallback-cleanup'

Conflicts:
yasnippet.el

11 years agoCloses #296: No longer use customizable `yas-trigger-key` and friends.
João Távora [Tue, 6 Nov 2012 14:12:18 +0000 (14:12 +0000)]
Closes #296: No longer use customizable `yas-trigger-key` and friends.

Use keymaps that the user can customise with `define-key` like all the
other modes

11 years agoFix: correct expectation for this test in batch-mode
João Távora [Tue, 6 Nov 2012 14:09:51 +0000 (14:09 +0000)]
Fix: correct expectation for this test in batch-mode

11 years agoAdd: easier to run tests
João Távora [Tue, 6 Nov 2012 13:27:37 +0000 (13:27 +0000)]
Add: easier to run tests

11 years agoMerge pull request #323 from rolandwalker/byte-compiler
João Távora [Tue, 6 Nov 2012 12:50:38 +0000 (04:50 -0800)]
Merge pull request #323 from rolandwalker/byte-compiler

Fix: quieten byte-compiler

11 years agoMerge pull request #325 from rolandwalker/doc
João Távora [Tue, 6 Nov 2012 12:44:48 +0000 (04:44 -0800)]
Merge pull request #325 from rolandwalker/doc

Docfix: checkdoc + spelling

11 years agofuture-proof against obsoleting of `flet'
Roland Walker [Mon, 5 Nov 2012 16:09:25 +0000 (11:09 -0500)]
future-proof against obsoleting of `flet'
flet will be marked obsolete starting in Emacs 24.3

11 years agocheckdoc + spelling
Roland Walker [Mon, 5 Nov 2012 15:59:34 +0000 (10:59 -0500)]
checkdoc + spelling

11 years agoquieten byte-compiler
Roland Walker [Mon, 5 Nov 2012 15:07:46 +0000 (10:07 -0500)]
quieten byte-compiler

11 years agoMerge pull request #321 from luismbo/patch-1
João Távora [Mon, 5 Nov 2012 14:21:34 +0000 (06:21 -0800)]
Merge pull request #321 from luismbo/patch-1

Fix: aesthetic fix to README.mdown

11 years agoAesthetic fix to README.mdown
Luís Oliveira [Sat, 3 Nov 2012 14:05:21 +0000 (14:05 +0000)]
Aesthetic fix to README.mdown

11 years agoMerge pull request #308 from monsanto/yas-load-snippet-buffer-fix
João Távora [Sun, 23 Sep 2012 15:50:08 +0000 (08:50 -0700)]
Merge pull request #308 from monsanto/yas-load-snippet-buffer-fix

Fix: "arrayp, nil" bug in yas-load-snippet-buffer.

11 years agoFix "arrayp, nil" bug in yas-load-snippet-buffer.
Christopher Monsanto [Sun, 23 Sep 2012 15:25:24 +0000 (11:25 -0400)]
Fix "arrayp, nil" bug in yas-load-snippet-buffer.

11 years agoRefactor: remove horrible 'yas--trigger-key-for-fallback' and rework 'yas--fallback'
João Távora [Wed, 22 Aug 2012 21:56:30 +0000 (22:56 +0100)]
Refactor: remove horrible 'yas--trigger-key-for-fallback' and rework 'yas--fallback'

11 years agoCloses #290: problem when advancing the start of a mirror-in-field
João Távora [Tue, 21 Aug 2012 23:52:17 +0000 (00:52 +0100)]
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.

11 years agoCloses #277: add new `yas-active-keys` (for auto-complete)
João Távora [Sun, 19 Aug 2012 12:51:33 +0000 (13:51 +0100)]
Closes #277: add new `yas-active-keys` (for auto-complete)

Also documented and reviewed related functionality slightly.
commit 51b182104b

11 years agoFix: arrgh remove the ^M line-endings again
João Távora [Sun, 19 Aug 2012 12:46:34 +0000 (13:46 +0100)]
Fix: arrgh remove the ^M line-endings again

11 years agoCloses #285: fix typo introduced in 71c8e0ea469c2992a31d17b0722ebdeb789fd1bf
Joao Tavora [Thu, 16 Aug 2012 09:45:33 +0000 (10:45 +0100)]
Closes #285: fix typo introduced in 71c8e0ea469c2992a31d17b0722ebdeb789fd1bf

11 years agoMerge branch '0.8-fsf-changes'
João Távora [Wed, 15 Aug 2012 14:38:43 +0000 (15:38 +0100)]
Merge branch '0.8-fsf-changes'

11 years agoFix: Ooops forgot to commit the actual fix for #281.
João Távora [Wed, 15 Aug 2012 14:33:57 +0000 (15:33 +0100)]
Fix: Ooops forgot to commit the actual fix for #281.

11 years agoCloses #281: jit-load in reverse order to maintain coherence with `yas-snippet-dirs`
João Távora [Wed, 15 Aug 2012 14:09:59 +0000 (15:09 +0100)]
Closes #281: jit-load in reverse order to maintain coherence with `yas-snippet-dirs`

11 years agoAdd `mod` snippet to ruby-mode for `module` definitions
Jim Myhrberg [Sat, 11 Aug 2012 13:37:31 +0000 (14:37 +0100)]
Add `mod` snippet to ruby-mode for `module` definitions

11 years agoFix: Ooops forgot to commit the actual fix for #281.
João Távora [Wed, 15 Aug 2012 14:33:57 +0000 (15:33 +0100)]
Fix: Ooops forgot to commit the actual fix for #281.

11 years agoCloses #281: jit-load in reverse order to maintain coherence with `yas-snippet-dirs`
João Távora [Wed, 15 Aug 2012 14:09:59 +0000 (15:09 +0100)]
Closes #281: jit-load in reverse order to maintain coherence with `yas-snippet-dirs`

11 years agoMerge branch '0.8-fsf-changes'
João Távora [Wed, 15 Aug 2012 14:03:45 +0000 (15:03 +0100)]
Merge branch '0.8-fsf-changes'

11 years agoMerge pull request #282 from jimeh/add-ruby-module-snippet
João Távora [Mon, 13 Aug 2012 08:12:12 +0000 (01:12 -0700)]
Merge pull request #282 from jimeh/add-ruby-module-snippet

Enhancement, exceptional: Add `mod` snippet to ruby-mode for `module` definitions

11 years agoAdd `mod` snippet to ruby-mode for `module` definitions
Jim Myhrberg [Sat, 11 Aug 2012 13:37:31 +0000 (14:37 +0100)]
Add `mod` snippet to ruby-mode for `module` definitions

11 years agoFix: new `yas-trigger-key` default messed up the fallbacks.
Joao Tavora [Tue, 7 Aug 2012 11:44:14 +0000 (12:44 +0100)]
Fix: new `yas-trigger-key` default messed up the fallbacks.

Introduced an ugly `yas--trigger-key-for-fallback` hack, but should be good.

11 years agoAdd: .gitignore ignores local ert files (needed for testing in Emacs 23)
Joao Tavora [Tue, 7 Aug 2012 11:09:12 +0000 (12:09 +0100)]
Add: .gitignore ignores local ert files (needed for testing in Emacs 23)

11 years agoFix: recursive `delete-directory` does not exist in Emacs 23
Joao Tavora [Tue, 7 Aug 2012 11:07:32 +0000 (12:07 +0100)]
Fix: recursive `delete-directory` does not exist in Emacs 23

11 years agoFix: default value for `yas-trigger-key` is not "<tab>" not "TAB"
Joao Tavora [Tue, 7 Aug 2012 11:06:53 +0000 (12:06 +0100)]
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

11 years agoRefactor: `yas-load-snippet-buffer` can be called non-interactively
Joao Tavora [Mon, 6 Aug 2012 17:39:11 +0000 (18:39 +0100)]
Refactor: `yas-load-snippet-buffer` can be called non-interactively

11 years agoEnhancement: add some keybinding tests
João Távora [Mon, 6 Aug 2012 08:10:54 +0000 (09:10 +0100)]
Enhancement: add some keybinding tests

11 years agoFix: Put buffers of `yas-tryout-snippet` in `yas-minor-mode`
João Távora [Mon, 6 Aug 2012 07:40:20 +0000 (08:40 +0100)]
Fix: Put buffers of `yas-tryout-snippet` in `yas-minor-mode`

11 years agoCleanup: remove unneeded test and reorganize
João Távora [Sun, 5 Aug 2012 21:32:31 +0000 (22:32 +0100)]
Cleanup: remove unneeded test and reorganize

11 years agoCloses #271: 4th try, with backquote, need protection before collection
Joao Tavora [Fri, 3 Aug 2012 17:36:29 +0000 (18:36 +0100)]
Closes #271: 4th try, with backquote, need  protection before collection

* Add one more test, probably will need even more.

11 years agoCloses #271: 3rd try, protect escapes after collecting backquote elisp
Joao Tavora [Fri, 3 Aug 2012 10:03:11 +0000 (11:03 +0100)]
Closes #271: 3rd try, protect escapes after collecting backquote elisp

* Add more tests
* Now only need to escape backslashes in mirror/field
  transformations

11 years agoCloses #271: 2nd try, remove unescaping of backquote replacements
Joao Tavora [Thu, 2 Aug 2012 15:48:13 +0000 (16:48 +0100)]
Closes #271: 2nd try, remove unescaping of backquote replacements

* Fixes previous fix (big blunder, expansion unusable)
* Added more tests
* Fixed previously broken tests.

11 years agoBugfix: fix for #235 didn't load, usage before definition
Joao Tavora [Thu, 2 Aug 2012 15:05:44 +0000 (16:05 +0100)]
Bugfix: fix for #235 didn't load, usage before definition

11 years agoCloses #235: implement `yas--init-yas-in-snippet-keymap`
João Távora [Thu, 2 Aug 2012 07:22:14 +0000 (08:22 +0100)]
Closes #235: implement `yas--init-yas-in-snippet-keymap`

11 years agoCloses #271: save backquoted elisp and re-insert at end of expansion
João Távora [Wed, 1 Aug 2012 22:38:19 +0000 (23:38 +0100)]
Closes #271: save backquoted elisp and re-insert at end of expansion

11 years agoincomplete: preparing tests to fix #271
João Távora [Tue, 31 Jul 2012 07:41:52 +0000 (08:41 +0100)]
incomplete: preparing tests to fix #271

11 years agodoc/yas-doc-helper.el: write documentation for "exported" symbols from docstrings
Joao Tavora [Tue, 31 Jul 2012 15:38:22 +0000 (16:38 +0100)]
doc/yas-doc-helper.el: write documentation for "exported" symbols from docstrings
doc/manual.org: some tweaks, use new yas--document-symbols

11 years ago(yas-choose-value): Accept strings as &rest argument
João Távora [Mon, 30 Jul 2012 19:18:42 +0000 (20:18 +0100)]
(yas-choose-value): Accept strings as &rest argument

11 years agobugfix: use `yas-global-mode-hook` instead of advising `yas-global-mode`
Joao Tavora [Fri, 27 Jul 2012 13:54:06 +0000 (14:54 +0100)]
bugfix: use `yas-global-mode-hook` instead of advising `yas-global-mode`

11 years agofix: reverts commit c2ce16a510bb1e533a6df19190c16982344d5303, packages should be...
Joao Tavora [Tue, 24 Jul 2012 11:14:13 +0000 (12:14 +0100)]
fix: reverts commit c2ce16a510bb1e533a6df19190c16982344d5303, packages should be .tar files

11 years agoa little bitt more work on the documentation
João Távora [Sun, 22 Jul 2012 23:33:55 +0000 (00:33 +0100)]
a little bitt more work on the documentation

11 years agoMerge branch 'revamp-doc' into 0.8-fsf-changes.
João Távora [Sun, 22 Jul 2012 23:06:26 +0000 (00:06 +0100)]
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

11 years agoCreate tar.gz packages
João Távora [Sun, 22 Jul 2012 18:17:29 +0000 (19:17 +0100)]
Create tar.gz packages

11 years agorefactor: redo and document some of the menu-bar code, also add tests
João Távora [Sun, 22 Jul 2012 18:11:28 +0000 (19:11 +0100)]
refactor: redo and document some of the menu-bar code, also add tests

11 years agobugfix: Support `yas-use-menu` with the value 'full and JIT-loading
João Távora [Sun, 22 Jul 2012 14:40:15 +0000 (15:40 +0100)]
bugfix: Support `yas-use-menu` with the value 'full and JIT-loading
new: introduces `yas--table-mode`

11 years agoCloses #254: don't show a menu at all if `yas-use-menu` is nil.
João Távora [Sun, 22 Jul 2012 10:54:42 +0000 (11:54 +0100)]
Closes #254: don't show a menu at all if `yas-use-menu` is nil.

11 years agoDon't forget to export `yas-hippie-try-expand`
João Távora [Sun, 22 Jul 2012 09:22:24 +0000 (10:22 +0100)]
Don't forget to export `yas-hippie-try-expand`

11 years agoRename all non-external symbols to `yas--`.
João Távora [Thu, 19 Jul 2012 01:39:12 +0000 (02:39 +0100)]
Rename all non-external symbols to `yas--`.
Maitain list of external symbols in `yas--exported-syms`

11 years agoRename symbol references from `yas/*` to `yas-*` in bundled snippets
João Távora [Thu, 19 Jul 2012 01:34:03 +0000 (02:34 +0100)]
Rename symbol references from `yas/*` to `yas-*` in bundled snippets

11 years agoRename symbol references to from `yas/*` to `yas-*` in docs as well
João Távora [Thu, 19 Jul 2012 01:31:48 +0000 (02:31 +0100)]
Rename symbol references to from `yas/*` to `yas-*` in docs as well

11 years agoSome cleanup
João Távora [Wed, 18 Jul 2012 13:45:27 +0000 (14:45 +0100)]
Some cleanup

11 years agoFound some more vars than can be user-customized
João Távora [Wed, 18 Jul 2012 13:33:31 +0000 (14:33 +0100)]
Found some more vars than can be user-customized

11 years agoRemove profanity
João Távora [Wed, 18 Jul 2012 13:19:39 +0000 (14:19 +0100)]
Remove profanity

11 years agoRename all symbols to `yas-*` but alias the old `yas/*` for backward compatibility
João Távora [Wed, 18 Jul 2012 13:16:01 +0000 (14:16 +0100)]
Rename all symbols to `yas-*` but alias the old `yas/*` for backward compatibility
Bump version to 0.8
All files use unix file endings

11 years agoUse UTF-8 when reading in yasnippet.el
João Távora [Wed, 18 Jul 2012 15:12:07 +0000 (16:12 +0100)]
Use UTF-8 when reading in yasnippet.el

11 years agoUpgrade license headers to GPLv3
João Távora [Wed, 18 Jul 2012 11:16:30 +0000 (12:16 +0100)]
Upgrade license headers to GPLv3

11 years agoClarify ideas about textmate snippet importation
João Távora [Wed, 18 Jul 2012 01:57:02 +0000 (02:57 +0100)]
Clarify ideas about textmate snippet importation

11 years agodoc: be even clearer about snippet contribution policy
João Távora [Wed, 18 Jul 2012 01:56:08 +0000 (02:56 +0100)]
doc: be even clearer about snippet contribution policy

11 years agoignore .yas-compiled-snippets.el files
João Távora [Tue, 17 Jul 2012 03:13:01 +0000 (04:13 +0100)]
ignore .yas-compiled-snippets.el files

11 years agoFix #266
João Távora [Tue, 17 Jul 2012 03:11:22 +0000 (04:11 +0100)]
Fix #266

11 years agoOn `yas/reload-all` be clearer as to whether just-in-time loading is active
João Távora [Mon, 16 Jul 2012 13:16:44 +0000 (14:16 +0100)]
On `yas/reload-all` be clearer as to whether just-in-time loading is active

11 years agoFix #70
João Távora [Mon, 16 Jul 2012 13:13:42 +0000 (14:13 +0100)]
Fix #70

11 years agoyasnippet now belongs to the FSF
Joao Tavora [Fri, 13 Jul 2012 16:34:34 +0000 (17:34 +0100)]
yasnippet now belongs to the FSF

11 years agopackage file was being generated incorrectly
Joao Tavora [Fri, 13 Jul 2012 16:32:02 +0000 (17:32 +0100)]
package file was being generated incorrectly

11 years agoActually, mention MELPA before el-get
João Távora [Fri, 13 Jul 2012 10:01:11 +0000 (12:01 +0200)]
Actually, mention MELPA before el-get

11 years agoReflect MELPA availability and el-get quirks
Joao Tavora [Fri, 13 Jul 2012 09:41:46 +0000 (10:41 +0100)]
Reflect MELPA availability and el-get quirks