]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
10 years agosplit symbol reference into separate file
Noam Postavsky [Sun, 24 Nov 2013 04:59:54 +0000 (23:59 -0500)]
split symbol reference into separate file

10 years agoconvert old rst manuals to org mode
Noam Postavsky [Sun, 24 Nov 2013 03:34:26 +0000 (22:34 -0500)]
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.

10 years agorename manual.org to index.org
Noam Postavsky [Sat, 23 Nov 2013 21:53:00 +0000 (16:53 -0500)]
rename manual.org to index.org

10 years agodon't use link abbreviations
Noam Postavsky [Sat, 23 Nov 2013 21:12:18 +0000 (16:12 -0500)]
don't use link abbreviations

It's unnecessary indirection when there aren't multiple links to the
same site.

10 years agoMerge pull request #431 from ignisf/update-snippet-submodules
João Távora [Tue, 26 Nov 2013 00:10:22 +0000 (16:10 -0800)]
Merge pull request #431 from ignisf/update-snippet-submodules

Migrate to snippets maintained by the TextMate community

10 years agoMigrate to snippets maintained by the TextMate community
Petko Bordjukov [Mon, 25 Nov 2013 20:51:02 +0000 (22:51 +0200)]
Migrate to snippets maintained by the TextMate community

10 years agoMerge pull request #430 from npostavs/org-doc
João Távora [Mon, 25 Nov 2013 01:49:29 +0000 (17:49 -0800)]
Merge pull request #430 from npostavs/org-doc

10 years agoremove reference to yas-trigger-key
Noam Postavsky [Sat, 23 Nov 2013 19:38:43 +0000 (14:38 -0500)]
remove reference to yas-trigger-key

10 years agoFix screencast link.
Noam Postavsky [Sat, 23 Nov 2013 19:20:50 +0000 (14:20 -0500)]
Fix screencast link.

10 years agofix exporting of doc strings for org manual
Noam Postavsky [Sat, 23 Nov 2013 18:31:38 +0000 (13:31 -0500)]
fix exporting of doc strings for org manual

need to pass (1+ level) to yas--document-symbol

10 years agoyas/ -> yas-
Noam Postavsky [Tue, 12 Nov 2013 06:55:05 +0000 (01:55 -0500)]
yas/ -> yas-

10 years agofix typo: .yas.parents -> .yas-parents
Noam Postavsky [Tue, 12 Nov 2013 06:47:46 +0000 (01:47 -0500)]
fix typo: .yas.parents -> .yas-parents

same as 8853127, for org

10 years agoGo back to org manual
Noam Postavsky [Tue, 12 Nov 2013 06:42:44 +0000 (01:42 -0500)]
Go back to org manual

10 years agoMerge pull request #424 from ljos/de/activate-extra-mode
João Távora [Thu, 31 Oct 2013 13:28:26 +0000 (06:28 -0700)]
Merge pull request #424 from ljos/de/activate-extra-mode

Feature: de/activate-extra-mode

10 years agoCloses #404: merge remote-tracking branch 'npostavs/widen'
Joao Tavora [Thu, 31 Oct 2013 12:03:42 +0000 (13:03 +0100)]
Closes #404: merge remote-tracking branch 'npostavs/widen'

10 years agoadd: external test for issue #404
Joao Tavora [Thu, 31 Oct 2013 12:01:29 +0000 (13:01 +0100)]
add: external test for issue #404

10 years agowiden before deleting regions
Noam Postavsky [Wed, 30 Oct 2013 22:25:51 +0000 (18:25 -0400)]
widen before deleting regions

This avoid problems with c-mode's after change hooks.

10 years agoFeature: de/activate-extra-mode
Bjarte Johansen [Sun, 27 Oct 2013 11:26:56 +0000 (12:26 +0100)]
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.

10 years agoMerge pull request #423 from npostavs/load-snippet-ui
João Távora [Sat, 26 Oct 2013 23:37:17 +0000 (16:37 -0700)]
Merge pull request #423 from npostavs/load-snippet-ui

Improve load snippet ui

10 years agolet C-c C-c save existing snippets too
Noam Postavsky [Sat, 26 Oct 2013 18:40:50 +0000 (14:40 -0400)]
let C-c C-c save existing snippets too

10 years agomove snippet saving from loading to closing
Noam Postavsky [Sat, 26 Oct 2013 17:42:32 +0000 (13:42 -0400)]
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.

10 years agodon't kill snippet buffer unless saved
Noam Postavsky [Sat, 26 Oct 2013 16:11:04 +0000 (12:11 -0400)]
don't kill snippet buffer unless saved

Split the quit-window part of yas-load-snippet-buffer into
yas-load-snippet-buffer-and-close, and only quit if the snippet was
saved.

This resolves #417, where you could lose a snippet by giving the wrong
answer in a prompt.

10 years agoCloses #415: remove c-specific hacks, harmful on emacs 24.3
Joao Tavora [Mon, 21 Oct 2013 08:28:44 +0000 (09:28 +0100)]
Closes #415: remove c-specific hacks, harmful on emacs 24.3

10 years agoMerge pull request #412 from npostavs/less-narrow
João Távora [Mon, 14 Oct 2013 16:28:42 +0000 (09:28 -0700)]
Merge pull request #412 from npostavs/less-narrow

Wait till after content insertion to narrow

10 years agotest middle-of-buffer snippet insertion
Noam Postavsky [Mon, 14 Oct 2013 15:45:40 +0000 (11:45 -0400)]
test middle-of-buffer snippet insertion

10 years agoMerge pull request #409 from npostavs/font-lock
João Távora [Mon, 14 Oct 2013 15:46:18 +0000 (08:46 -0700)]
Merge pull request #409 from npostavs/font-lock

Fix yas--font-lock-keywords

10 years agowait till after content insertion to narrow
Noam Postavsky [Mon, 14 Oct 2013 13:57:41 +0000 (09:57 -0400)]
wait till after content insertion to narrow

Fixes #404 without inhibiting change hooks.

10 years agoRevert "inhibit change hooks during (insert content)"
Noam Postavsky [Mon, 14 Oct 2013 13:57:11 +0000 (09:57 -0400)]
Revert "inhibit change hooks during (insert content)"

This reverts commit 90d4cae1b1bbfacc612e73444f1e5a723ae4036e.

10 years agofix: don't use universal-argument-num-events
Joao Tavora [Mon, 14 Oct 2013 09:26:34 +0000 (10:26 +0100)]
fix: don't use universal-argument-num-events

10 years agoadd: test for issue #404
Joao Tavora [Mon, 14 Oct 2013 09:25:38 +0000 (10:25 +0100)]
add: test for issue #404

10 years agoinhibit change hooks during (insert content)
Noam Postavsky [Mon, 14 Oct 2013 05:05:29 +0000 (01:05 -0400)]
inhibit change hooks during (insert content)

`yas-expand-snippet' narrows to a 0 size region before doing (insert
content), this confuses cc-mode's before-change-functions that
invalidate some cached information. Binding `inhibit-modification-hooks'
to `t' prevents calling these functions.

Fixes #404.

10 years agoremove redundant font-lock-keywords
Noam Postavsky [Sun, 13 Oct 2013 22:00:00 +0000 (18:00 -0400)]
remove redundant font-lock-keywords

`lisp-font-lock-keywords' is identical to `lisp-font-lock-keywords1',
`lisp-font-lock-keywords2' is a superset of `lisp-font-lock-keywords1'.

10 years agofix font-lock-keywords syntax
Noam Postavsky [Sun, 13 Oct 2013 21:55:58 +0000 (17:55 -0400)]
fix font-lock-keywords syntax

The syntax is (MATCHER . FACENAME) (note the dot).

10 years agoCloses #406: correct docstring for yas-extra-modes
João Távora [Wed, 9 Oct 2013 23:02:39 +0000 (00:02 +0100)]
Closes #406: correct docstring for yas-extra-modes

10 years agofix: remove references to dropdown-list.el in Rakefile
João Távora [Wed, 9 Oct 2013 23:00:08 +0000 (00:00 +0100)]
fix: remove references to dropdown-list.el in Rakefile

10 years agoMerge pull request #407 from dongxiong/patch-1
João Távora [Wed, 9 Oct 2013 22:57:43 +0000 (15:57 -0700)]
Merge pull request #407 from dongxiong/patch-1

Update manual.mdown

10 years agoUpdate manual.mdown
dongxiong [Thu, 3 Oct 2013 04:09:26 +0000 (12:09 +0800)]
Update manual.mdown

file name error

10 years agofix: please older emacsen, don't use LETREC after all
João Távora [Sat, 7 Sep 2013 17:55:37 +0000 (18:55 +0100)]
fix: please older emacsen, don't use LETREC after all

also fix some compiler warnings

10 years agofix: shoosh warning with LETREC instead of LET
João Távora [Mon, 2 Sep 2013 11:01:24 +0000 (12:01 +0100)]
fix: shoosh warning with LETREC instead of LET

10 years agoCloses #318: Don't use CL-LABELS for backward compatibility with older emacsen
João Távora [Mon, 2 Sep 2013 10:55:55 +0000 (11:55 +0100)]
Closes #318: Don't use CL-LABELS for backward compatibility with older emacsen

10 years agoCloses #318: correctly implement YAS--MODES-TO-ACTIVATE
João Távora [Sat, 31 Aug 2013 22:45:13 +0000 (23:45 +0100)]
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

10 years agoFix: cleanup yasnippet-tests.el
João Távora [Sat, 31 Aug 2013 22:43:39 +0000 (23:43 +0100)]
Fix: cleanup yasnippet-tests.el

- add edebug-form-specs
- replace "yas/" with "yas-"
- yas/ert => yas-batch-run-tests

10 years agofix: replace 'text' in 'yas-text' in bundled snippets
Joao Tavora [Fri, 30 Aug 2013 16:08:23 +0000 (17:08 +0100)]
fix: replace 'text' in 'yas-text' in bundled snippets

The previous commit broke these snippets by enabling

10 years agofix: more idiomatic elisp, better docstrings, less byte-compiler warnings
Joao Tavora [Thu, 29 Aug 2013 09:20:31 +0000 (10:20 +0100)]
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)."

10 years agoMerge pull request #397 from thisirs/customizable-snippet
João Távora [Tue, 20 Aug 2013 15:53:32 +0000 (08:53 -0700)]
Merge pull request #397 from thisirs/customizable-snippet

Make default snippet customizable

10 years agoAssume NO-TEMPLATE is non-nil if `yas-new-snippet-default' is nil
thisirs [Mon, 19 Aug 2013 20:52:19 +0000 (22:52 +0200)]
Assume NO-TEMPLATE is non-nil if `yas-new-snippet-default' is nil

10 years agoFactor out embedded elisp code
thisirs [Mon, 19 Aug 2013 20:47:14 +0000 (22:47 +0200)]
Factor out embedded elisp code

* yasnippet.el (yas--key-from-desc): Added

10 years agoMake default snippet customizable
thisirs [Sun, 4 Aug 2013 22:26:49 +0000 (00:26 +0200)]
Make default snippet customizable

10 years agocloses #391: don't assume `declare-function'/ exists, it doesn't in emacs22
Joao Tavora [Mon, 22 Jul 2013 17:32:45 +0000 (18:32 +0100)]
closes #391: don't assume `declare-function'/ exists, it doesn't in emacs22

11 years agodoc: finally decided to write the manual in markdown
João Távora [Wed, 8 May 2013 23:07:22 +0000 (00:07 +0100)]
doc: finally decided to write the manual in markdown

will use same or similar doc helpers

11 years agodoc: remove README.org
João Távora [Wed, 8 May 2013 22:50:54 +0000 (23:50 +0100)]
doc: remove README.org

11 years agoCloses #372: removed trailing spaces in snippets
Joao Tavora [Mon, 6 May 2013 01:15:27 +0000 (21:15 -0400)]
Closes #372: removed trailing spaces in snippets

11 years agoMinor: indenting in for yasnippet-tests.el macro
Joao Tavora [Mon, 6 May 2013 00:42:18 +0000 (20:42 -0400)]
Minor: indenting in for yasnippet-tests.el macro

11 years agoCloses #318: now checks for circular parenthood in snippet dirs
Joao Tavora [Mon, 6 May 2013 00:41:04 +0000 (20:41 -0400)]
Closes #318: now checks for circular parenthood in snippet dirs

11 years agoMerge pull request #377 from tarsius/master
João Távora [Sat, 4 May 2013 13:39:45 +0000 (06:39 -0700)]
Merge pull request #377 from tarsius/master

do not require dropdown-list at compile time

11 years agodo not require dropdown-list at compile time
Jonas Bernoulli [Sat, 4 May 2013 01:36:06 +0000 (03:36 +0200)]
do not require dropdown-list at compile time

It might not be available.

Also update commentary with respect to dropdown-list.

11 years agoMerge pull request #370 from tarsius/master
João Távora [Thu, 2 May 2013 07:34:49 +0000 (00:34 -0700)]
Merge pull request #370 from tarsius/master

remove bundled dropdown-list.el

11 years agoremove bundled dropdown-list.el
Jonas Bernoulli [Tue, 12 Mar 2013 18:35:01 +0000 (19:35 +0100)]
remove bundled dropdown-list.el

It is available from melpa, so no need to bundle it.

11 years agoCloses #312: YAS-MODE-SYMBOL does not exist anymore, replaced by YAS-EXTRA-MODES
Joao Tavora [Wed, 20 Feb 2013 11:07:13 +0000 (11:07 +0000)]
Closes #312: YAS-MODE-SYMBOL does not exist anymore, replaced by YAS-EXTRA-MODES

11 years agoFix: moved snippets/js2-mode to snippets/js-mode
João Távora [Mon, 18 Feb 2013 22:29:25 +0000 (22:29 +0000)]
Fix: moved snippets/js2-mode to snippets/js-mode

11 years agoMerge pull request #363 from azer/master
João Távora [Sat, 16 Feb 2013 18:27:54 +0000 (10:27 -0800)]
Merge pull request #363 from azer/master

Add JavaScript Snippets

11 years agoMerge pull request #358 from Sarcasm/master
João Távora [Sat, 16 Feb 2013 18:24:43 +0000 (10:24 -0800)]
Merge pull request #358 from Sarcasm/master

Make yas--version compatible with version-to-list()

11 years agoadd js snippets
E.Azer Koçulu [Fri, 15 Feb 2013 22:22:23 +0000 (14:22 -0800)]
add js snippets

11 years agoFix yas--version to compatible with version-to-list
Guillaume Papin [Mon, 4 Feb 2013 09:42:09 +0000 (10:42 +0100)]
Fix yas--version to compatible with version-to-list

11 years agoMerge pull request #355 from tkf/fix-yas--message
João Távora [Sun, 13 Jan 2013 05:53:17 +0000 (21:53 -0800)]
Merge pull request #355 from tkf/fix-yas--message

Fix yas--message for the case message contains %

11 years agoFix yas--message for the case message contains %
Takafumi Arakaki [Sat, 12 Jan 2013 17:23:16 +0000 (18:23 +0100)]
Fix yas--message for the case message contains %

11 years agoDoc: document structures YAS--FIELD and YAS--MIRROR
João Távora [Tue, 25 Dec 2012 04:29:51 +0000 (04:29 +0000)]
Doc: document structures YAS--FIELD and YAS--MIRROR

11 years agoFix: enclose this test in WITH-TEMP-BUFFER
João Távora [Tue, 25 Dec 2012 04:25:16 +0000 (04:25 +0000)]
Fix: enclose this test in WITH-TEMP-BUFFER

11 years agoCloses #351: sort mirrors by nesting depth when updating
João Távora [Tue, 25 Dec 2012 04:20:03 +0000 (04:20 +0000)]
Closes #351: sort mirrors by nesting depth when updating

11 years agoCloses #315: don't consider keybindings when filtering snippets in YAS-ACTIVE-KEYS
Joao Tavora [Mon, 24 Dec 2012 16:35:03 +0000 (16:35 +0000)]
Closes #315: don't consider keybindings when filtering snippets in YAS-ACTIVE-KEYS

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