Carsten Dominik writes:
> Hi Eric,
>
> could I ask you to update the FAQ with this issue?
>
done, should update to Worg within the hour -- Eric
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.or
Carsten Dominik writes:
> could I ask you to update the FAQ with this issue?
It still doesn't work with org-indent-mode on, though. I guess the FAQ
will have to specify to disable it before using yasnippet (which is a
sad thing as both are providing great features).
--
Nicolas Goaziou
_
Hi Eric,
could I ask you to update the FAQ with this issue?
Thanks.
- Carsten
On Sep 20, 2009, at 3:16 PM, Eric Schulte wrote:
Nicolas Goaziou writes:
Jeff Kowalczyk writes:
(add-hook 'org-mode-hook
(lambda ()
(org-set-local 'yas/trigger-key [tab])
(define-key yas/keymap [tab] 'yas/
Nicolas Goaziou writes:
> Jeff Kowalczyk writes:
>
>> (add-hook 'org-mode-hook
>> (lambda ()
>> (org-set-local 'yas/trigger-key [tab])
>> (define-key yas/keymap [tab] 'yas/next-field-group)))
>
> According to the yasnippet FAQ (or is it on its forum), it should be
>
> (add-hook 'org-mode-h
Jeff Kowalczyk writes:
> (add-hook 'org-mode-hook
> (lambda ()
> (org-set-local 'yas/trigger-key [tab])
> (define-key yas/keymap [tab] 'yas/next-field-group)))
According to the yasnippet FAQ (or is it on its forum), it should be
(add-hook 'org-mode-hook
#'(lambda ()
Hmm,
The following works for me
--8<---cut here---start->8---
(add-hook 'org-mode-hook
(lambda ()
(make-variable-buffer-local 'yas/trigger-key)
(setq yas/trigger-key [tab])
(define-key yas/keymap [tab] 'yas/next-fie
With Emacs 23.1, org git master, and yasnippet svn trunk, I have the problem
that the TAB key does not expand snippets, but C-i does. I'm using the Org
Manual's recommended configuration to address the conflict, see init.el lines
matching org|yas below:
(load-file "~/.emacs.d/vendor/yasnippet/yas
Ian,
this is my yasnippets setup:
.emacs
=> --->8->8->8---
(require 'yasnippet) ;; not yasnippet-bundle
(yas/initialize)
(yas/load-directory "/home/sebastian/emacs/snippets/")
;; I use the WIN key for my own bindings, since I didn't use
As for using yasnippets with tab, the following successfully binds tab
to yas/expand when I start emacs with
emacs -Q (skips loading customization)
and then evaluate the following elisp to load yasnippets and org-mode
(load "~/emacs/elisp/util/yasnippet.el")
(yas/initialize)
(yas/load-direct
As for using yasnippets with tab, the following successfully binds tab
to yas/expand when I start emacs with
emacs -Q (skips loading customization)
and then evaluate the following elisp to load yasnippets and org-mode
(load "~/emacs/elisp/util/yasnippet.el")
(yas/initialize)
(yas/load-direct
A solution for using yasnippets in org-mode (from the yasnippets mailing
list)
Make sure you have snippets defined for org-mode. If you want to use
the snippets from text-mode in org-mode, you can make an empty
directory named org-mode in the text-mode directory where you put your
text mod
Tassilo Horn <[EMAIL PROTECTED]> writes:
> "Eric Schulte" <[EMAIL PROTECTED]> writes:
>
> Hi Eric,
>
>> I think maybe your lambda should not be quoted, try
>
> Since lambda evaluates to itself, that doesn't make any difference.
>
Thanks Tassilo, I didn't realize that was the case
As for using ya
"Eric Schulte" <[EMAIL PROTECTED]> writes:
Hi Eric,
> I think maybe your lambda should not be quoted, try
Since lambda evaluates to itself, that doesn't make any difference.
,
| ELISP> (lambda () nil)
| (lambda nil nil)
| ELISP> (quote (lambda () nil))
| (lambda nil nil)
`
I suspect ya
13 matches
Mail list logo