all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* confirmed: org-mode works with yasnippets 0.8.0 (beta)
@ 2012-11-19  5:09 Seong-Kook Shin
  2012-12-13 21:23 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Seong-Kook Shin @ 2012-11-19  5:09 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

Hi,

I just want to let you know that org-mode (org-20121112 from package.el) is
working well with yasnippets 0.8.0 (beta)
with following configuration:

(defun yas-org-very-safe-expand ()
  (let ((yas-fallback-behavior 'return-nil))
    (and (fboundp 'yas-expand) (yas-expand))))

(add-hook 'org-mode-hook
          (lambda ()
            (add-to-list 'org-tab-first-hook
                         'yas-org-very-safe-expand)
            ))

You may update the documentation with the above settings.
(Note that this does not works with the old version of yasnippets)

Thanks.

-- 
C FAQs: http://c-faq.com/
Korean: http://www.cinsk.org/cfaqs/

[-- Attachment #2: Type: text/html, Size: 1030 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: confirmed: org-mode works with yasnippets 0.8.0 (beta)
  2012-11-19  5:09 confirmed: org-mode works with yasnippets 0.8.0 (beta) Seong-Kook Shin
@ 2012-12-13 21:23 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-12-13 21:23 UTC (permalink / raw)
  To: Seong-Kook Shin; +Cc: emacs-orgmode

Hi,

Seong-Kook Shin <cinsky@gmail.com> writes:

> I just want to let you know that org-mode (org-20121112 from
> package.el) is working well with yasnippets 0.8.0 (beta)
> with following configuration:
>
> (defun yas-org-very-safe-expand ()
>   (let ((yas-fallback-behavior 'return-nil))
>     (and (fboundp 'yas-expand) (yas-expand))))
>
> (add-hook 'org-mode-hook
>           (lambda ()
>             (add-to-list 'org-tab-first-hook
>                          'yas-org-very-safe-expand)
>             ))
>
> You may update the documentation with the above settings.
> (Note that this does not works with the old version of yasnippets)

Thanks.  Can you send a patch for this? See
http://orgmode.org/worg/org-contribute.html#sec-4-4

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-13 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-19  5:09 confirmed: org-mode works with yasnippets 0.8.0 (beta) Seong-Kook Shin
2012-12-13 21:23 ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.