]>
code.delx.au - gnu-emacs-elpa/log
Noam Postavsky [Tue, 24 Dec 2013 16:14:39 +0000 (11:14 -0500)]
fix typo
Joao Tavora [Tue, 24 Dec 2013 09:43:56 +0000 (09:43 +0000)]
Closes #447: only call command beyond yasnippet if it exists
João Távora [Mon, 23 Dec 2013 10:44:24 +0000 (02:44 -0800)]
Merge pull request #442 from npostavs/auto-export
populate yas--exported-syms based on sym prefix
João Távora [Fri, 20 Dec 2013 11:12:02 +0000 (03:12 -0800)]
Merge pull request #446 from dongxiong/patch-2
Remove one extra `yas-text` exportation
dongxiong [Fri, 20 Dec 2013 05:06:37 +0000 (13:06 +0800)]
yas-text export twice
Something different between line 4521 and line 4528? I am not sure about this.
Noam Postavsky [Fri, 13 Dec 2013 04:19:21 +0000 (23:19 -0500)]
populate yas--exported-syms based on sym prefix
Rename what was formerly yas--exported-syms to yas--backported-syms,
and remove yas--dont-backport.
Noam Postavsky [Wed, 11 Dec 2013 04:10:16 +0000 (23:10 -0500)]
doc:upload stylesheets/*.css to gh-pages
Noam Postavsky [Wed, 11 Dec 2013 04:02:53 +0000 (23:02 -0500)]
fix rake doc:upload
Noam Postavsky [Wed, 11 Dec 2013 03:52:34 +0000 (22:52 -0500)]
fix a faq title
Noam Postavsky [Wed, 11 Dec 2013 03:50:49 +0000 (22:50 -0500)]
add top level menu, minimal styling
Noam Postavsky [Fri, 6 Dec 2013 17:56:02 +0000 (12:56 -0500)]
rake doc:upload: check for wrong/incomplete rev
Joao Tavora [Tue, 3 Dec 2013 15:19:37 +0000 (15:19 +0000)]
Closes #440: don't use `make-variable-buffer-local' for `yas--extra-modes'
Noam Postavsky [Tue, 3 Dec 2013 04:19:23 +0000 (23:19 -0500)]
markup suffixed variable names, eg SUBEXPth
Joao Tavora [Mon, 2 Dec 2013 19:28:56 +0000 (19:28 +0000)]
minor: cosmetic fixes to manual
Joao Tavora [Mon, 2 Dec 2013 19:28:08 +0000 (19:28 +0000)]
Simplify: index.org no longer repeats info in the README
Joao Tavora [Mon, 2 Dec 2013 19:27:35 +0000 (19:27 +0000)]
Closes #439: add a faq question about redefining keys
Also, don't mention yas-trigger-key anymore in the manual
Joao Tavora [Fri, 29 Nov 2013 21:45:44 +0000 (21:45 +0000)]
minor: README.mdown link
Joao Tavora [Fri, 29 Nov 2013 21:34:48 +0000 (21:34 +0000)]
Merge branch 'unclutter': snippets and textmate importation snippets are now submodules
Noam Postavsky [Fri, 29 Nov 2013 04:27:03 +0000 (23:27 -0500)]
only /italicize/ words completely in upper case
no /YAS/nippet
Noam Postavsky [Fri, 29 Nov 2013 04:25:15 +0000 (23:25 -0500)]
docstring fixes
yas--prompt-function -> yas-prompt-functions
yas-fallback-behaviour -> yas-fallback-behavior
Noam Postavsky [Fri, 29 Nov 2013 03:42:06 +0000 (22:42 -0500)]
only crosslink exported symbols
Noam Postavsky [Fri, 29 Nov 2013 03:06:06 +0000 (22:06 -0500)]
yas--document-symbol: reindent
Noam Postavsky [Fri, 29 Nov 2013 02:58:32 +0000 (21:58 -0500)]
format args in docstrings as =code=, not /italic/
Joao Tavora [Wed, 27 Nov 2013 23:19:04 +0000 (23:19 +0000)]
refactor: removed extras and snippets tree, both point to submodules
Noam Postavsky [Thu, 28 Nov 2013 02:55:00 +0000 (18:55 -0800)]
Merge pull request #436 from npostavs/autodoc-1,2
Fix points 1 and 2 of #434
Noam Postavsky [Thu, 28 Nov 2013 02:44:18 +0000 (21:44 -0500)]
check function doc before variable doc
This means functions shadow variables with the same name, but at least
that's better than listing functions with the documentation from the
variable! (That happened because the call to yas--document-symbols in
snippet-reference.org was prefering function values to variables, while
the yas--document-symbol was prefering variable doc to function doc).
Noam Postavsky [Thu, 28 Nov 2013 02:34:29 +0000 (21:34 -0500)]
fix docstring extraction for "fancy" docs
The docstrings for yas-expand and yas-expand-from-keymap are generated
on the fly, depending on how they are called ("context"). Add a context
argument to the synthesizing functions and pass it nil when extracting
docstrings for the manual.
Noam Postavsky [Thu, 28 Nov 2013 02:04:26 +0000 (21:04 -0500)]
retrieve function documentation correctly
Noam Postavsky [Wed, 27 Nov 2013 02:47:47 +0000 (21:47 -0500)]
publish org doc from Rakefile
Noam Postavsky [Tue, 26 Nov 2013 03:54:43 +0000 (22:54 -0500)]
move #+STARTUP to org-setup.inc; add #+LINK_HOME
also remove #+AUTHOR since it ends up refering to the generator, not the
actual author.
Noam Postavsky [Tue, 26 Nov 2013 02:55:34 +0000 (21:55 -0500)]
move top heading to title
and all the other headings one level up. Except for
snippet-reference.org; yas--document-symbols doesn't quite work right in
that case, fix it later.
Noam Postavsky [Tue, 26 Nov 2013 02:38:21 +0000 (21:38 -0500)]
remove erroneous #+BEGIN/END_QUOTE
pandoc decided to add those for some reason
Noam Postavsky [Tue, 26 Nov 2013 00:42:22 +0000 (19:42 -0500)]
{snippet-development,faq}.org: fixup pandoc output
- add source blocks
- fix links
- don't duplicate docstrings
- formatting
Noam Postavsky [Mon, 25 Nov 2013 23:50:56 +0000 (18:50 -0500)]
snippet-menu.org: links, formatting, obsolete refs
Noam Postavsky [Mon, 25 Nov 2013 01:44:18 +0000 (20:44 -0500)]
more links to docstrings, don't repeat docstrings
Noam Postavsky [Mon, 25 Nov 2013 01:38:01 +0000 (20:38 -0500)]
add code examples for snippet-expansion.rst
pandoc org -> rst drops them
Noam Postavsky [Mon, 25 Nov 2013 00:59:14 +0000 (19:59 -0500)]
replace obsolete refs
yas-trigger-key -> bind yas-expand
yas-mode-symbol -> call yas-activate-extra-mode
Noam Postavsky [Sun, 24 Nov 2013 23:14:39 +0000 (18:14 -0500)]
move images to the section they describe
Noam Postavsky [Sun, 24 Nov 2013 23:04:30 +0000 (18:04 -0500)]
link to docstring ref; fix other links, formatting
Noam Postavsky [Sun, 24 Nov 2013 22:04:10 +0000 (17:04 -0500)]
move index.org subsection into snippet-expansion.org
Noam Postavsky [Sun, 24 Nov 2013 21:20:51 +0000 (16:20 -0500)]
fix links
Noam Postavsky [Sun, 24 Nov 2013 21:00:04 +0000 (16:00 -0500)]
move index.org subsection into snippet-organization.org
This almost completely overwrites the existing snippet-organization.org
which was imported from snippet-organization.rst via pandoc.
Noam Postavsky [Sun, 24 Nov 2013 04:59:54 +0000 (23:59 -0500)]
split symbol reference into separate file
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.
Noam Postavsky [Sat, 23 Nov 2013 21:53:00 +0000 (16:53 -0500)]
rename manual.org to index.org
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.
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
Petko Bordjukov [Mon, 25 Nov 2013 20:51:02 +0000 (22:51 +0200)]
Migrate to snippets maintained by the TextMate community
João Távora [Mon, 25 Nov 2013 01:49:29 +0000 (17:49 -0800)]
Merge pull request #430 from npostavs/org-doc
Noam Postavsky [Sat, 23 Nov 2013 19:38:43 +0000 (14:38 -0500)]
remove reference to yas-trigger-key
Noam Postavsky [Sat, 23 Nov 2013 19:20:50 +0000 (14:20 -0500)]
Fix screencast link.
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
Noam Postavsky [Tue, 12 Nov 2013 06:55:05 +0000 (01:55 -0500)]
yas/ -> yas-
Noam Postavsky [Tue, 12 Nov 2013 06:47:46 +0000 (01:47 -0500)]
fix typo: .yas.parents -> .yas-parents
same as
8853127 , for org
Noam Postavsky [Tue, 12 Nov 2013 06:42:44 +0000 (01:42 -0500)]
Go back to org manual
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
Joao Tavora [Thu, 31 Oct 2013 12:03:42 +0000 (13:03 +0100)]
Closes #404: merge remote-tracking branch 'npostavs/widen'
Joao Tavora [Thu, 31 Oct 2013 12:01:29 +0000 (13:01 +0100)]
add: external test for issue #404
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.
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.
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
Noam Postavsky [Sat, 26 Oct 2013 18:40:50 +0000 (14:40 -0400)]
let C-c C-c save existing snippets too
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.
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.
Joao Tavora [Mon, 21 Oct 2013 08:28:44 +0000 (09:28 +0100)]
Closes #415: remove c-specific hacks, harmful on emacs 24.3
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
Noam Postavsky [Mon, 14 Oct 2013 15:45:40 +0000 (11:45 -0400)]
test middle-of-buffer snippet insertion
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
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.
Noam Postavsky [Mon, 14 Oct 2013 13:57:11 +0000 (09:57 -0400)]
Revert "inhibit change hooks during (insert content)"
This reverts commit
90d4cae1b1bbfacc612e73444f1e5a723ae4036e .
Joao Tavora [Mon, 14 Oct 2013 09:26:34 +0000 (10:26 +0100)]
fix: don't use universal-argument-num-events
Joao Tavora [Mon, 14 Oct 2013 09:25:38 +0000 (10:25 +0100)]
add: test for issue #404
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.
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'.
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).
João Távora [Wed, 9 Oct 2013 23:02:39 +0000 (00:02 +0100)]
Closes #406: correct docstring for yas-extra-modes
João Távora [Wed, 9 Oct 2013 23:00:08 +0000 (00:00 +0100)]
fix: remove references to dropdown-list.el in Rakefile
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
dongxiong [Thu, 3 Oct 2013 04:09:26 +0000 (12:09 +0800)]
Update manual.mdown
file name error
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
João Távora [Mon, 2 Sep 2013 11:01:24 +0000 (12:01 +0100)]
fix: shoosh warning with LETREC instead of LET
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
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
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
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
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)."
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
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
thisirs [Mon, 19 Aug 2013 20:47:14 +0000 (22:47 +0200)]
Factor out embedded elisp code
* yasnippet.el (yas--key-from-desc): Added
thisirs [Sun, 4 Aug 2013 22:26:49 +0000 (00:26 +0200)]
Make default snippet customizable
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
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
João Távora [Wed, 8 May 2013 22:50:54 +0000 (23:50 +0100)]
doc: remove README.org
Joao Tavora [Mon, 6 May 2013 01:15:27 +0000 (21:15 -0400)]
Closes #372: removed trailing spaces in snippets
Joao Tavora [Mon, 6 May 2013 00:42:18 +0000 (20:42 -0400)]
Minor: indenting in for yasnippet-tests.el macro
Joao Tavora [Mon, 6 May 2013 00:41:04 +0000 (20:41 -0400)]
Closes #318: now checks for circular parenthood in snippet dirs
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
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.
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
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.