emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)


From: Jeff Kowalczyk
Subject: [Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)
Date: Sat, 19 Sep 2009 05:06:11 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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/yasnippet.el")
(yas/initialize)
(yas/load-directory "~/.emacs.d/vendor/yasnippet/snippets")
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(setq org-log-done 'time)
(setq org-special-ctrl-k t)
(org-remember-insinuate)
(setq org-directory "~/org/")
(setq org-default-notes-file (concat org-directory "/notes.org"))
(define-key global-map "\C-cr" 'org-remember)
(setq org-clock-into-drawer t)
(setq org-clock-clocktable-default-properties '(:maxlevel 2 :scope subtree))
(add-hook 'org-mode-hook
  (lambda ()
  (org-set-local 'yas/trigger-key [tab])
  (define-key yas/keymap [tab] 'yas/next-field-group)))


I normally have ido enabled, but I disabled it with no change in the behavior.
Thanks for any suggestions.

Jeff





reply via email to

[Prev in Thread] Current Thread [Next in Thread]