249 Commits

Author SHA1 Message Date
capitaomorte
2e16b2a732 * mirrors-inside-fields works! hope I didn't break a million other
things...
2009-11-14 01:09:36 +00:00
capitaomorte
9d1757a707 * prepare yasnippet.el to the mirror-inside-field feature 2009-11-13 14:30:17 +00:00
capitaomorte
589084cc1a * removed spurious newline 2009-11-13 10:31:57 +00:00
capitaomorte
3dae4c6db3 * Fixed a bug where using `yas/also-auto-indent-first-line' would
likely mess up undo.
2009-11-13 10:31:39 +00:00
capitaomorte
477f7c99e4 * Fixed the "direct-keymaps" bug with `emulation-mode-map-alists'
* Fixed a bug when evaluating primary field expressions

* Completed importation of TextMate HTML snippets, some TextMate HTML commands missing.
2009-11-04 15:51:43 +00:00
capitaomorte
73bad7366f * Corrected some little snippet loading bugs
* Removed the indentation hack introduced by the previous rev because
it looks dangerous and there are better ways.

* Direct keybindings display correctly in menu.

* Preparing to fix the yas/snippet-keymaps bug which is basically the
  same as autopair.el's issue.
2009-11-03 18:24:11 +00:00
capitaomorte
3d4d06df1d * Working on the html-bundle. Major work done, details missing...
* Fixed an aesthetic describe-key bug.
* A serious "kill-line from snippet field" bug lurks somewhere
2009-11-02 18:08:20 +00:00
capitaomorte
088ba32300 * Commands are now identified by a new "# type: command" directive. 2009-10-16 14:56:49 +00:00
capitaomorte
0b55a52b8d * First implementation of snippet-commands, looks promising.
* Optimization: read lisp expressions only once, eval many times.

* auto-load .yas-setup.el instead of setup.el to prevent loading it as
  a snippet
2009-10-15 17:22:51 +00:00
capitaomorte
57c150b42d * Finished commiting Rob Christie's patches to the ruby snippets (add
setup.el, delete the # => snippet)

* Tweaked some ruby snippets

* Disabled bindings for some TextMate text-mode snippets
2009-10-15 14:08:17 +00:00
capitaomorte
a18e5fda5d * Slightly nicer (yas/debug-tables) function, helpful for debugging as
the name clearly suggests
2009-10-06 16:36:57 +00:00
capitaomorte
493c923b40 * Redesigned direct keybinding slightly
* Fixed some bugs

* Added fancy docs for functions redefining bindings
2009-10-01 22:57:02 +00:00
capitaomorte
14a8eb22fc * Redid implementation of directs keybindings, looks good, but still
work in progress.

* Still to decide when to call (or if to call)
  `yas/snippet-keybindings-reload'.

* Split `yas/store' into yas/remove-snippet and
  yas/add-snippet. Better, but still needs more work.

* Commented and beautified some existings comments.

* Bumped version to 0.7
2009-09-26 12:36:14 +00:00
capitaomorte
5d0b9657e3 * minor adjustments to bundle generation.
* *NOW* will probably tag 0.6.1c
2009-09-13 16:56:23 +00:00
capitaomorte
97e7491dfa * Adjusting the yas/trigger-key mechanism, now can be set after require but before yas/initialize.
* Indented the buffe
* Some cleanup to the yas/minor-mode-keymap initialization mechanism
* Some commenting
2009-09-13 14:34:12 +00:00
capitaomorte
7b8da4357d * Yet another adjustment to issue 93 2009-09-11 15:46:07 +00:00
capitaomorte
6b865cda63 * More adjustments to fixing issue 93 2009-09-10 22:41:22 +00:00
capitaomorte
931253f9b8 * Adjustments to fix made for issue 90, faq updated
* Added google analytics tracking to html docs (experimental)
2009-09-09 16:55:56 +00:00
capitaomorte
dbae0320ff * Fixed issue 99 (Raking bundle and loading it doesn't correctly create menu.) 2009-09-07 08:55:51 +00:00
capitaomorte
8403f2f8b5 *fix a small type "command2" => command-2 2009-09-05 16:49:43 +00:00
capitaomorte
0564b35647 * Fixed issue 98, issue 93 and issues related to the customization group
* Added workaround for issue 97 in the FAQ
* Minor updates in the documentation
2009-09-05 14:44:18 +00:00
capitaomorte
7022af00f4 Fixing some issues, might be broken 2009-09-04 12:07:06 +00:00
capitaomorte
aec74e5564 * Fixed two bugs in issue 90 and issue 88 2009-09-02 19:56:41 +00:00
capitaomorte
5a9ab30982 * Fix issue 88
* Implement enhacement of issue 90
2009-09-02 18:58:30 +00:00
capitaomorte
5fe5e127fd * Fix issue 91. 2009-09-02 17:13:12 +00:00
capitaomorte
371f68e860 * Working on the issues regarding customization of yas/trigger-key and
yas/root-directory. Still not quite fixed.
2009-09-02 16:50:37 +00:00
capitaomorte
b1c079f1e4 * Fixed issue 87. Needs testing 2009-09-02 07:10:17 +00:00
capitaomorte
7686db3476 * BROKEN!: currently working on the bug with customization variables
not being set effectively.
2009-09-01 16:50:41 +00:00
capitaomorte
b8dcf61367 Last commit before tagging and releasing 2009-08-29 17:59:02 +00:00
capitaomorte
560fd2acf7 * More adjustments in issue 84, fix issue 78, and faq update for issue 71 2009-08-28 14:49:44 +00:00
capitaomorte
364a3c8378 * Almost fix issue 84 I think.... 2009-08-27 17:10:14 +00:00
capitaomorte
405b76b0d3 * Fix issue 80 (buffer needs widening before any indentation)
* Fix issue 81 (refactored "trouble-markers" fix in
  yas/indent-according-to-mode. Reapplied to $> indentation)

* Probably fix issues 82 and 83 (could not reproduce, probably fixed by 80 and 81)
2009-08-26 21:57:34 +00:00
capitaomorte
4cb1ab2ba7 Added warning about applicability to the documentation 2009-08-26 15:34:37 +00:00
capitaomorte
6c88b24bf8 doc almost complete. Drawing closer to 0.6.1b 2009-08-23 19:52:33 +00:00
capitaomorte
9541218756 * Bring back `yas/dont-activate'
* Fix issue 74. (Thanks to martin.k...@gmail.com)
2009-08-17 14:11:53 +00:00
capitaomorte
f28cc874af * Snippet table store is now based on two hash tables (keyhash and
namehash) instead of a hash table and an alist (this is still not ideal).

* `yas/wrap-around-region' can now also be 'cua' (undocumented feature)

* More cleanup
2009-08-16 13:32:19 +00:00
capitaomorte
6b1dce61d9 * Corrected a typo in line 766 2009-08-14 10:56:57 +00:00
capitaomorte
35fa76296e * another little fix and more cleanup 2009-08-13 22:44:38 +00:00
capitaomorte
2c4dc70ab7 * fix more bugs
* cleanup just a little bit
2009-08-13 22:17:41 +00:00
capitaomorte
ceabe9376e * Fixed more bugs, probably more hiding in 3300+ lines 2009-08-13 01:46:52 +00:00
capitaomorte
8420238a19 * Fix more bugs, still some more to go
* For example the inexisting parent-mode when a mode has groups
* Display triggerkey in menu entries if the snippet has a trigger key
2009-08-13 01:26:07 +00:00
capitaomorte
0732b08600 * Corrected snippet expansion bug introduced by previous indenting fix... 2009-08-12 23:37:53 +00:00
capitaomorte
ec33d9e5df * much nicer menu... work in progress... 2009-08-12 15:00:55 +00:00
capitaomorte
e6f4ca5473 * Fixed a serious nconc (circular-list) bug that lead to infinite loops
* Implemented a .yas-make-groups hidden file (already had
  .yas-parents) to make groups from directory hierarchy. (as opposed
  to making parents)

* yas/ignore-filenames-as-triggers can be used to, well, do what it says

* yas/prefix is bound when a snippet is expanded from a keybinding
2009-08-12 13:50:03 +00:00
capitaomorte
d153d84010 * Implement per-snippet keybinding using "keybinding: " keyword
* Fix random bugs
* Fix some whitespace
* `yas/use-menu' can now be 'real-modes' or 'abbreviate'

* Changed prototype of `yas/expand-snippet' to be more user-friendly
  (this breaks backward compatibility)
* Renamed keyword "env" to "expand-env"

* TODO: fix more bugs, write more documentation
2009-08-11 14:33:06 +00:00
capitaomorte
4cc4d0c578 * fixed a big bug when compiling bundle 2009-08-08 23:28:12 +00:00
capitaomorte
a877bf5cc8 * Fix issue 72 with snippet conditions
* Implemented abbreviated menu in `yas/use-menu'
2009-08-08 22:48:21 +00:00
capitaomorte
d70529d121 Fixed some bug with multiple parent modes and commiting fixed printf snippet 2009-07-31 00:08:00 +00:00
capitaomorte
2ada74c6f2 * Full support for multiple parent-modes, including in menu
* TODO: write `yas/new-snippet'
* TODO: update documentation thoroughly
2009-07-30 18:29:35 +00:00
capitaomorte
d42e5a3189 * Redesigned directory-guessing mechanism, but kept backward
compatibility

* A mode can now have multiple parent modes using a hidden
  ".yas-parents" file.

* Fixed issue 70.

* Removed a useless condition-case.

* More fixes
2009-07-29 12:54:54 +00:00