* Adjustments to fix made for issue 90, faq updated

* Added google analytics tracking to html docs (experimental)
This commit is contained in:
capitaomorte
2009-09-09 16:55:56 +00:00
parent a993b9b4f6
commit 931253f9b8
11 changed files with 150 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
==========================
Frequently Asked Questions
==========================
============================
Frequently Asked Questions
============================
Why is there an extra newline?
==============================
@@ -102,9 +102,31 @@ latter's ``priority`` property to something big. If you know
emacs-lisp and can solve this problem, drop a line in the `discussion
group`_.
How do I turn off the minor mode where in some buffers
======================================================
The best way, since version 0.6.1c, is to set the default value of the
variable ``yas/dont-activate`` to a lambda function like so:
.. sourcecode:: lisp
(set-default 'yas/dont-activate
#'(lambda ()
(and yas/root-directory
(null (yas/get-snippet-tables)))))
This is also the default value starting for that version. It skips the
minor mode in buffers where it is not applicable (no snippet tables),
but only once you have setup your yas/root-directory.
How do I define an abbrev key containing characters not supported by the filesystem?
====================================================================================
**Note**: This question applies if you're still defining snippets
whose key *is* the filename. This is behavior stil provided by
version 0.6 for backward compatibilty, but is somewhat deprecated...
For example, you want to define a snippet by the key ``<`` which is
not a valid character for filename on Windows. This means you can't
use the filename as a trigger key in this case.